Kitty still WIP, more coc stuff (need to use built-in LSP)

This commit is contained in:
Daniel Flanagan 2019-11-21 11:20:38 -06:00
parent a56335553b
commit ad9510aeb2
3 changed files with 13 additions and 3 deletions

View file

@ -1,5 +1,5 @@
# font_family monospace font_family monospace
font_family Iosevka Bold # font_family Iosevka Term
# bold_font Iosevka Bold # bold_font Iosevka Bold
# italic_font Iosevka Italic # italic_font Iosevka Italic
# bold_italic_font Iosevka Bold Italic # bold_italic_font Iosevka Bold Italic

View file

@ -219,8 +219,17 @@ nnoremap <leader>gs :syntax sync fromstart<CR>
nnoremap <leader><space>c :CocConfig<CR> nnoremap <leader><space>c :CocConfig<CR>
" go to definitions " go to definitions
nnoremap <leader>gd <Plug>(coc-jump-definition)
nnoremap <leader>d <Plug>(coc-jump-definition) nnoremap <leader>d <Plug>(coc-jump-definition)
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)
nmap <leader>ac <Plug>(coc-codeaction)
nmap <leader>qf <Plug>(coc-fix-current)
" ale " ale
" go to definitions " go to definitions

View file

@ -112,4 +112,5 @@ Plug 'JakeBecker/elixir-ls', {'for': ['elixir', 'eelixir'], 'do': { -> g:elixirl
Plug 'tpope/vim-dadbod' " databasing in vim Plug 'tpope/vim-dadbod' " databasing in vim
Plug 'lytedev/elm-vim' " elm lang Plug 'lytedev/elm-vim' " elm lang
Plug 'google/vim-jsonnet' " jsonnet Plug 'google/vim-jsonnet' " jsonnet
Plug 'sirtaj/vim-openscad' " openscad
Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git' Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git'