add better tmux and nvim navigation
This commit is contained in:
20
.config/nvim/lua/plugins/vim-tmux-navigator.lua
Normal file
20
.config/nvim/lua/plugins/vim-tmux-navigator.lua
Normal file
@@ -0,0 +1,20 @@
|
||||
return {
|
||||
'christoomey/vim-tmux-navigator',
|
||||
cmd = {
|
||||
"TmuxNavigateLeft",
|
||||
"TmuxNavigateDown",
|
||||
"TmuxNavigateUp",
|
||||
"TmuxNavigateRight",
|
||||
"TmuxNavigatePrevious",
|
||||
"TmuxNavigatorProcessList",
|
||||
},
|
||||
keys = {
|
||||
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
||||
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
|
||||
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
|
||||
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
|
||||
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
||||
},
|
||||
config = function()
|
||||
end
|
||||
}
|
||||
@@ -22,6 +22,8 @@ set hidden
|
||||
set backspace=indent,eol,start
|
||||
set hlsearch
|
||||
set noswapfile
|
||||
set mouse= "remove mouse
|
||||
set clipboard=unnamedplus
|
||||
|
||||
" Rendering
|
||||
set ttyfast
|
||||
@@ -53,7 +55,6 @@ au FileType python
|
||||
\ softtabstop=4
|
||||
\ shiftwidth=4
|
||||
\ encoding=utf-8
|
||||
\ makeprg=flake8\ %
|
||||
|
||||
au FileType markdown
|
||||
\ set spell spelllang=en_us
|
||||
|
||||
Reference in New Issue
Block a user