use m-tab to switch buffers in nvim

This commit is contained in:
Daniel Lundin 2020-09-05 11:16:23 +02:00
parent 1765917dba
commit 6834d46328
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
2 changed files with 4 additions and 3 deletions

View file

@ -241,7 +241,7 @@ set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class,*/target/*,*/.git/*"
map <silent> <space> :Buffers<cr>
map <silent> <leader>` :Buffers<cr>
map <silent> <leader><tab> :Buffers<cr>
map <silent> <leader>; :Commits<cr>
map <silent> <leader>e :GitFiles<cr>
map <silent> <leader>d :Files<cr>
@ -323,7 +323,8 @@ nmap <silent> <C-j> <Plug>(ale_next_wrap)
"" Buffer navigation
map <silent> ` :b#<CR>
" map <silent> ` :b#<CR>
map <silent> <M-Tab> :b#<CR>
"" "Turn off search highlight

View file

@ -38,7 +38,7 @@ bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind -n M-Tab last-pane
# bind -n M-Tab last-pane
bind -n M-1 select-window -t 1
bind -n M-- select-window -t 2
bind -n M-2 select-window -t 2