This commit is contained in:
Anish L 2022-02-08 22:28:27 +10:00
parent 23be3d0535
commit 125adb91c1

View file

@ -54,6 +54,7 @@ in
nodejs
python-with-my-packages
clojure-lsp
rnix-lsp
#python3Packages.pynvim
#python3Packages.six
#python3Packages.tasklib
@ -219,6 +220,25 @@ in
" always show signcolumns
set signcolumn=yes
" note that if you are using Plug mapping you should not use `noremap` mappings.
nmap <F5> <Plug>(lcn-menu)
" Or map each action separately
nmap <silent>K <Plug>(lcn-hover)
nmap <silent> gd <Plug>(lcn-definition)
nmap <silent> <F2> <Plug>(lcn-r
" COC INSTALL
{
"languageserver": {
"nix": {
"command": "rnix-lsp",
"filetypes": [
"nix"
]
}
}
}
" Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB>
@ -330,6 +350,11 @@ in
nnoremap <silent> <space>p :<C-u>CocListResume<CR>
au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
" TODO Ugly map
:map <F7> :!xclip -i<CR><CR>
:vmap <F7> "*y
:map <S-F7> :r!xclip -o<CR>
'';
};
}