aboutsummaryrefslogtreecommitdiff
path: root/Common/vimrc
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2022-03-01 13:44:09 +0100
committerjakobst1n <jakob.stendahl@outlook.com>2022-03-01 13:44:09 +0100
commit8c8ea3760651c226e585a67b3800e676a2cc86c0 (patch)
tree0fd2c24d2f1187fdfb9249f7c6b95f74b360ff7a /Common/vimrc
parent661605170322a3f7eff49f733fa2e0b25038ef22 (diff)
downloaddotfiles-8c8ea3760651c226e585a67b3800e676a2cc86c0.tar.gz
dotfiles-8c8ea3760651c226e585a67b3800e676a2cc86c0.zip
Update a few things
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>