aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b78160dd..05b15e03 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -298,6 +298,10 @@ nnoremap <Bslash>+ :<C-U>call vimrc#Anchor('1GgqG')<CR>
" \. runs the configured make program into the location list
nnoremap <Bslash>. :<C-U>lmake!<CR>
+" \< and \> adjusts indent of last edit; good for pasting
+nnoremap <Bslash>< :<C-U>'[,']<<CR>
+nnoremap <Bslash>> :<C-U>'[,']><CR>
+
" \DEL deletes the current buffer
nnoremap <Bslash><Delete> :bdelete<CR>
" \INS edits a new buffer