Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add C-_ mapping

  • Loading branch information...
commit b1fa149e6035af2162286a9d69f63eecdca64fbb 1 parent 50e05a6
@sigh authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  home/.vimrc
View
3  home/.vimrc
@@ -303,6 +303,9 @@ noremap <unique> <script> 9 :b! 9<CR>
" when typing ':' after a count.
noremap <unique> <script> <silent> - :<C-U>call <SID>SwitchToBuffer()<CR>
+" Ctrl-- will show the list of buffers and ask which to switch to
+noremap <unique> <script> <silent> <C-_> :ls<CR>:b
+
" INSERT mode bindings
inoremap <unique> <script> 1 <esc>:b! 1<CR>
inoremap <unique> <script> 2 <esc>:b! 2<CR>
Please sign in to comment.
Something went wrong with that request. Please try again.