summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-03-19 20:02:57 +0100
committerAdrian Kummerlaender2019-03-19 20:03:02 +0100
commit24859305f34d2174cf877d990e3fdb9528f0cdd8 (patch)
tree0abfbd33e8609c2241f46d994e89f5b27d224d8b
parente2ece543eeb3c265a26c65e34478e0468e4ec3bd (diff)
downloadpkgs-24859305f34d2174cf877d990e3fdb9528f0cdd8.tar
pkgs-24859305f34d2174cf877d990e3fdb9528f0cdd8.tar.gz
pkgs-24859305f34d2174cf877d990e3fdb9528f0cdd8.tar.bz2
pkgs-24859305f34d2174cf877d990e3fdb9528f0cdd8.tar.xz
pkgs-24859305f34d2174cf877d990e3fdb9528f0cdd8.zip
Change buffer cycle binding
Binding Ctrl+Tab is problematic in most terminal emulators.
-rw-r--r--pkgs/custom-neovim/asset/rc.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/custom-neovim/asset/rc.vim b/pkgs/custom-neovim/asset/rc.vim
index be18768..d882d1d 100644
--- a/pkgs/custom-neovim/asset/rc.vim
+++ b/pkgs/custom-neovim/asset/rc.vim
@@ -82,8 +82,8 @@ vmap <Left> <gv
vmap <Right> >gv
" buffer cycling
-nnoremap <C-Tab> :bnext<CR>
-nnoremap <C-S-Tab> :bprev<CR>
+nnoremap <A-Tab> :bnext<CR>
+nnoremap <A-S-Tab> :bprev<CR>
"" switching between viewports
" tabs
@@ -126,10 +126,10 @@ nnoremap <F6> :GitGutterToggle<CR>
nnoremap <F7> :SignatureToggleSigns<CR>
nnoremap <F8> :Goyo<CR>
-nnoremap <c-p> :GFiles<CR>
-nnoremap <c-b> :Buffers<CR>
-nnoremap <c-t> :Tags<CR>
-nnoremap <a-t> :BTags<CR>
+nnoremap <C-p> :GFiles<CR>
+nnoremap <C-b> :Buffers<CR>
+nnoremap <C-t> :Tags<CR>
+nnoremap <A-t> :BTags<CR>
let g:undotree_SetFocusWhenToggle = 1