···16161717filetype indent on
18181919-syntax on
1919+set mouse=a
20202121if &diff
2222 set diffopt+=iwhite
2323endif
2424+2525+set hlsearch
2626+syntax on
2727+2828+2929+" Augroups, must be before `syntax on`
3030+3131+augroup CustomTodo
3232+ autocmd!
3333+ autocmd Syntax * syntax match CustomTodo /\v<(TODO|FIXME|NOTE)/ containedin=.*Comment
3434+augroup END
3535+3636+highlight link CustomTodo Todo
243725382639" Editor-specific settings
···37503851 xmap <C-/> <Plug>VSCodeCommentarygv
3952 nmap <C-/> <Plug>VSCodeCommentaryLine
5353+5454+ " Make neovim use vscode builtin search
5555+ " TODO: probably can write a function that sets a variable forward or reverse search
5656+ " For now n and N will always go in the same direction
5757+ noremap <silent> ? :<C-u>call VSCodeNotify('actions.find')<CR>
5858+ noremap <silent> N :<C-u>call VSCodeNotify('editor.action.previousMatchFindAction')<CR>
5959+6060+ noremap <silent> / :<C-u>call VSCodeNotify('actions.find')<CR>
6161+ noremap <silent> n :<C-u>call VSCodeNotify('editor.action.nextMatchFindAction')<CR>
4062else
4163 " ordinary vim/neovim settings that don't apply in VSCode
4242- set mouse=a
43644465 highlight ColorColumn ctermbg=7
4566 set colorcolumn=80
···5374 endif
54755576 colorscheme Monokai
7777+7878+ highlight! link Search IncSearch
5679endif
57805881" Code from:
···88111cmap <f28> <nop>
89112cmap <f29> <nop>
901139191-9292-" Augroups
9393-9494-augroup CustomTodo
9595- autocmd!
9696- autocmd Syntax * syntax match CustomTodo /\v<(TODO|FIXME|NOTE)/ containedin=.*Comment
9797-augroup END
9898-highlight link CustomTodo Todo