summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 58b520c..4e351f4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,6 +1,8 @@
"Cancel vi compatibility
set nocompatible
+let mapleader=","
+
"Move .swp files to /tmp - SSD will like it!
"set backupdir=/tmp
"set directory=/tmp
@@ -175,6 +177,9 @@ nnoremap <C-j> <C-W>j
nnoremap <C-k> <C-W>k
nnoremap <C-l> <C-W>l
+"reselect just pasted text
+nnoremap <leader>p `[V`]
+
"edit operations
imap <C-F> </><Esc>2F<lywf>f/pF<i
imap <C-D> </><Esc>2F<lywf>f/pF<i<Enter><Enter><Up><Tab>