From 51a42fc40e2bfd178e4b01eea3cb19491af8f31c Mon Sep 17 00:00:00 2001 From: nojhan Date: Thu, 16 Aug 2012 14:34:01 +0200 Subject: [PATCH] do not indent when moving line with C-arrows --- .vimrc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.vimrc b/.vimrc index 72c5735..9955618 100644 --- a/.vimrc +++ b/.vimrc @@ -137,10 +137,12 @@ endif " move the current line up or down with the Ctrl-arrow keys -nmap :m+== -nmap :m-2== -imap :m+== -imap :m-2== +nmap :move .+1 +nmap :move .-2 +imap :move .+1 +imap :move .-2 +vmap :move '>+1gv +vmap :move '<-2gv filetype plugin on set ofu=syntaxcomplete#Complete @@ -201,11 +203,11 @@ imap :call MySpellLang() " search the file for FIXME, TODO and put them in a handy list map TaskList -" F11 - taglist window +" side pane of class and functions map :TlistToggle -" open buffers as tabs along the top or bottom of your screen -map :MiniBufExplorer +" side pane of files +map :NERDTreeToggle " configure tags - add additional tags here or comment out not-used ones set tags+=~/.vim/tags/cpp