From 6834d463285dacf036cf24440eb2351920d39cad Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 5 Sep 2020 11:16:23 +0200 Subject: [PATCH] use m-tab to switch buffers in nvim --- .config/nvim/init.vim | 5 +++-- .tmux.conf | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 89197e3..92556c9 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -241,7 +241,7 @@ set wildignore+=*/tmp/*,*.so,*.swp,*.zip,*.class,*/target/*,*/.git/*" map :Buffers -map ` :Buffers +map :Buffers map ; :Commits map e :GitFiles map d :Files @@ -323,7 +323,8 @@ nmap (ale_next_wrap) "" Buffer navigation -map ` :b# +" map ` :b# +map :b# "" "Turn off search highlight diff --git a/.tmux.conf b/.tmux.conf index 05b4bfe..3d7bcad 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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