mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 01:55:08 +02:00
better vscode support
This commit is contained in:
parent
3c07627b4d
commit
544b67d80a
7 changed files with 1379 additions and 108 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue