Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add buffer navigation bindings

  • Loading branch information...
commit e9d6d1fbf97ff5802f801c5b826f1a32a86de52d 1 parent 23246bf
@zolrath authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 settings/@Keybindings.vim
View
6 settings/@Keybindings.vim
@@ -20,6 +20,10 @@ map Q @@
" vmap Q gq
" nmap Q gqap
+" Switch buffers with ,, and ,.
+nnoremap <silent> <leader>, :bp<CR>
+nnoremap <silent> <leader>. :bn<CR>
+
" Auto-indent pastes according to surrounding code.
nnoremap <leader>p p
nnoremap <leader>P P
@@ -108,7 +112,7 @@ cnoremap <C-g> <C-c>
"----------------------------
" New Features
" ---------------------------
-" Remap K to split line on current cursor position.
+" Remap K to split line to right of current cursor position.
nnoremap K i<CR><Esc>`[
" Make C-y get word above it in insert mode.

0 comments on commit e9d6d1f

Please sign in to comment.
Something went wrong with that request. Please try again.