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",
|
||||
|
||||
"list.source.files.args": ["--hidden", "--files"],
|
||||
|
||||
@@ -89,6 +89,7 @@ nmap <silent> <leader>E :CocCommand explorer --reveal expand('<sfile>')<cr>
|
||||
" coc.nvim
|
||||
" Ctrl-n - Go to next diagnostic
|
||||
" Ctrl-p - Go to previous diagnostic
|
||||
" <l>a - Open action list
|
||||
" <l>c - Open command list
|
||||
" <l>d - Jump to definition 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
|
||||
nmap <silent> <C-n> <Plug>(coc-diagnostic-next)
|
||||
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>r <Plug>(coc-references)
|
||||
nmap <silent> <leader>j <Plug>(coc-implementation)
|
||||
|
||||
@@ -20,3 +20,8 @@ let g:loaded_python_provider = 0
|
||||
" setlocal winhighlight=Normal:MarkdownError
|
||||
" endif
|
||||
" endfunction
|
||||
"
|
||||
" {{{
|
||||
let g:startify_custom_header =
|
||||
\ startify#pad(split(system('fortune | cowsay -f tux'), '\n'))
|
||||
" }}}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
apt-transport-https
|
||||
bat
|
||||
curl
|
||||
cowsay
|
||||
fd-find
|
||||
fortune-mod
|
||||
git
|
||||
gnupg2
|
||||
jq
|
||||
|
||||
Reference in New Issue
Block a user