better vscode support

This commit is contained in:
Chris 2021-03-22 22:09:11 -04:00
parent 3c07627b4d
commit 544b67d80a
7 changed files with 1379 additions and 108 deletions

View file

@ -1,5 +1,15 @@
" TODO there is a more contemporary version of this file
" TODO Also some of it is redundant
packadd quickscope
luafile ~/.config/nvim/lua/settings.lua
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline
highlight QuickScopeSecondary guifg='#eF5F70' gui=underline ctermfg=81 cterm=underline
let g:qs_max_chars=150
"VSCode
function! s:split(...) abort
let direction = a:1
@ -105,5 +115,5 @@ omap gc <Plug>VSCodeCommentary
nmap gcc <Plug>VSCodeCommentaryLine
" Simulate same TAB behavior in VSCode
nmap <Tab> :Tabnext<CR>
nmap <S-Tab> :Tabprev<CR>
nmap <Tab> :Tabnext<CR>
nmap <S-Tab> :Tabprev<CR>