diff --git a/apps/kitty/kitty.conf b/apps/kitty/kitty.conf index e529fa9..eb41051 100644 --- a/apps/kitty/kitty.conf +++ b/apps/kitty/kitty.conf @@ -1,5 +1,5 @@ -# font_family monospace -font_family Iosevka Bold +font_family monospace +# font_family Iosevka Term # bold_font Iosevka Bold # italic_font Iosevka Italic # bold_italic_font Iosevka Bold Italic diff --git a/apps/neovim/bindings.vim b/apps/neovim/bindings.vim index 1df73a1..dd72c4c 100644 --- a/apps/neovim/bindings.vim +++ b/apps/neovim/bindings.vim @@ -50,7 +50,7 @@ function! NextIndent(exclusive, fwd, lowerlevel, skipblanks) while (line > 0 && line <= lastline) let line = line + stepvalue if ( a:lowerlevel == 0 && indent(line) == indent || - \ a:lowerlevel == 1 && indent(line) < indent || + \ a:lowerlevel == 1 && indent(line) < indent || \ a:lowerlevel == -1 && indent(line) > indent) if (! a:skipblanks || strlen(getline(line)) > 0) if (a:exclusive) @@ -219,8 +219,17 @@ nnoremap gs :syntax sync fromstart nnoremap c :CocConfig " go to definitions +nnoremap gd (coc-jump-definition) nnoremap d (coc-jump-definition) +nmap gd (coc-definition) +nmap gy (coc-type-definition) +nmap gi (coc-implementation) +nmap gr (coc-references) + +nmap ac (coc-codeaction) +nmap qf (coc-fix-current) + " ale " go to definitions diff --git a/apps/neovim/plugins.vim b/apps/neovim/plugins.vim index 55d21de..884e943 100644 --- a/apps/neovim/plugins.vim +++ b/apps/neovim/plugins.vim @@ -112,4 +112,5 @@ Plug 'JakeBecker/elixir-ls', {'for': ['elixir', 'eelixir'], 'do': { -> g:elixirl Plug 'tpope/vim-dadbod' " databasing in vim Plug 'lytedev/elm-vim' " elm lang Plug 'google/vim-jsonnet' " jsonnet +Plug 'sirtaj/vim-openscad' " openscad Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git'