fix: coc-action mapping, drop autoformat
This commit is contained in:
@@ -1,26 +1,4 @@
|
|||||||
{
|
{
|
||||||
"coc.preferences.formatOnSaveFiletypes": [
|
|
||||||
"css",
|
|
||||||
"dockerfile",
|
|
||||||
"elm",
|
|
||||||
"html",
|
|
||||||
"javascript",
|
|
||||||
"javascriptreact",
|
|
||||||
"json",
|
|
||||||
"make",
|
|
||||||
"markdown",
|
|
||||||
"perl",
|
|
||||||
"python",
|
|
||||||
"sh",
|
|
||||||
"svg",
|
|
||||||
"tf",
|
|
||||||
"toml",
|
|
||||||
"typescript",
|
|
||||||
"typescriptreact",
|
|
||||||
"vim",
|
|
||||||
"xml",
|
|
||||||
"yaml"
|
|
||||||
],
|
|
||||||
"coc.preferences.extensionUpdateCheck": "daily",
|
"coc.preferences.extensionUpdateCheck": "daily",
|
||||||
|
|
||||||
"list.source.files.args": ["--hidden", "--files"],
|
"list.source.files.args": ["--hidden", "--files"],
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ nmap <silent> <leader>E :CocCommand explorer --reveal expand('<sfile>')<cr>
|
|||||||
" coc.nvim
|
" coc.nvim
|
||||||
" Ctrl-n - Go to next diagnostic
|
" Ctrl-n - Go to next diagnostic
|
||||||
" Ctrl-p - Go to previous diagnostic
|
" Ctrl-p - Go to previous diagnostic
|
||||||
|
" <l>a - Open action list
|
||||||
" <l>c - Open command list
|
" <l>c - Open command list
|
||||||
" <l>d - Jump to definition of current symbol
|
" <l>d - Jump to definition of current symbol
|
||||||
" <l>r - Jump to references of current symbol
|
" <l>r - Jump to references of current symbol
|
||||||
@@ -98,6 +99,7 @@ nmap <silent> <leader>E :CocCommand explorer --reveal expand('<sfile>')<cr>
|
|||||||
" <l>k - Symbol renaming
|
" <l>k - Symbol renaming
|
||||||
nmap <silent> <C-n> <Plug>(coc-diagnostic-next)
|
nmap <silent> <C-n> <Plug>(coc-diagnostic-next)
|
||||||
nmap <silent> <C-p> <Plug>(coc-diagnostic-prev)
|
nmap <silent> <C-p> <Plug>(coc-diagnostic-prev)
|
||||||
|
nmap <silent> <leader>a <Plug>(coc-codeaction-line)
|
||||||
nmap <silent> <leader>d <Plug>(coc-definition)
|
nmap <silent> <leader>d <Plug>(coc-definition)
|
||||||
nmap <silent> <leader>r <Plug>(coc-references)
|
nmap <silent> <leader>r <Plug>(coc-references)
|
||||||
nmap <silent> <leader>j <Plug>(coc-implementation)
|
nmap <silent> <leader>j <Plug>(coc-implementation)
|
||||||
|
|||||||
@@ -20,3 +20,8 @@ let g:loaded_python_provider = 0
|
|||||||
" setlocal winhighlight=Normal:MarkdownError
|
" setlocal winhighlight=Normal:MarkdownError
|
||||||
" endif
|
" endif
|
||||||
" endfunction
|
" endfunction
|
||||||
|
"
|
||||||
|
" {{{
|
||||||
|
let g:startify_custom_header =
|
||||||
|
\ startify#pad(split(system('fortune | cowsay -f tux'), '\n'))
|
||||||
|
" }}}
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
apt-transport-https
|
apt-transport-https
|
||||||
bat
|
bat
|
||||||
curl
|
curl
|
||||||
|
cowsay
|
||||||
fd-find
|
fd-find
|
||||||
|
fortune-mod
|
||||||
git
|
git
|
||||||
gnupg2
|
gnupg2
|
||||||
jq
|
jq
|
||||||
|
|||||||
Reference in New Issue
Block a user