use m-tab to switch buffers in nvim
This commit is contained in:
parent
1765917dba
commit
6834d46328
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue