Browse Source

Add handy mappings for buffer mobility

Alois Mahdal 5 years ago
parent
commit
22011b3ffe
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      dotfiles/vim/vimrc

+ 4
- 0
dotfiles/vim/vimrc View File

@@ -104,6 +104,10 @@ inoremap <C-Left> <C-P>
104 104
 inoremap <C-Right> <C-N>
105 105
 noremap p p`[
106 106
 noremap P P`[
107
+nnoremap ,, :b#<CR>
108
+nnoremap ,m :previous<CR>
109
+nnoremap ,. :next<CR>
110
+nnoremap ,l :ls<CR>
107 111
 
108 112
 if has("autocmd")
109 113
   filetype plugin indent on