aboutsummaryrefslogtreecommitdiff
path: root/Common/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'Common/vimrc')
-rw-r--r--Common/vimrc14
1 files changed, 14 insertions, 0 deletions
diff --git a/Common/vimrc b/Common/vimrc
index 2a84124..19615e6 100644
--- a/Common/vimrc
+++ b/Common/vimrc
@@ -267,6 +267,12 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
" Make mouse work nice with tmux
set mouse=a
+" Fix widescreen mouse support
+if has("mouse_sgr")
+ set ttymouse=sgr
+else
+ set ttymouse=xterm2
+end
""""""""""""""""""""""""""""""
" => Status line
@@ -423,6 +429,8 @@ Plug 'dense-analysis/ale'
Plug 'evanleck/vim-svelte', {'branch': 'main'}
Plug 'preservim/tagbar'
Plug 'evanleck/vim-svelte', {'branch': 'main'}
+Plug 'tpope/vim-dadbod'
+Plug 'christoomey/vim-tmux-navigator'
"Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
"Plug 'clangd/coc-clangd', {'do': 'yarn install --frozen-lockfile'}
@@ -529,3 +537,9 @@ let g:multi_cursor_next_key = '<C-d>'
let g:multi_cursor_prev_key = '<C-p>'
let g:multi_cursor_skip_key = '<C-x>'
let g:multi_cursor_quit_key = '<Esc>'
+
+" vim-tmux-naviagtor
+nnoremap <C-J> <C-W><C-J>
+nnoremap <C-K> <C-W><C-K>
+nnoremap <C-L> <C-W><C-L>
+nnoremap <C-H> <C-W><C-H>