diff --git a/apps/neovim/bindings.vim b/apps/neovim/bindings.vim index 72dc910..e979fef 100644 --- a/apps/neovim/bindings.vim +++ b/apps/neovim/bindings.vim @@ -246,6 +246,8 @@ nmap g] (coc-diagnostic-next) nmap ac (coc-codeaction) nmap qf (coc-fix-current) +nmap f (coc-format) +vmap f (coc-format-selected) " ale @@ -254,3 +256,5 @@ nmap qf (coc-fix-current) " nnoremap gh :ALEGoToDefinitionInSplit " nnoremap gv :ALEGoToDefinitionInVSplit +" misc plugins +nmap aa :%ArrangeColumn! diff --git a/apps/neovim/plugins.vim b/apps/neovim/plugins.vim index 86525b9..624fab8 100644 --- a/apps/neovim/plugins.vim +++ b/apps/neovim/plugins.vim @@ -94,4 +94,5 @@ Plug 'lytedev/elm-vim', {'for': ['elm']} " elm lang Plug 'google/vim-jsonnet', {'for': ['jsonnet', 'libsonnet']} " jsonnet Plug 'sirtaj/vim-openscad', {'for': ['scad']} " openscad Plug 'jjo/vim-cue' +Plug 'chrisbra/csv.vim' " Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git' diff --git a/apps/neovim/settings.vim b/apps/neovim/settings.vim index b6a9cb6..fa83f5d 100644 --- a/apps/neovim/settings.vim +++ b/apps/neovim/settings.vim @@ -162,12 +162,4 @@ hi IndentGuidesEven ctermbg=18 hi Normal ctermbg=NONE -" lsp config - -" ale - -" set completeopt=noinsert,menuone,noselect,longest,preview - -" coc - - +let b:csv_arrange_align = 'l*' diff --git a/apps/shell/fish/key-bindings.fish b/apps/shell/fish/key-bindings.fish index 54a14c1..dfc06f8 100755 --- a/apps/shell/fish/key-bindings.fish +++ b/apps/shell/fish/key-bindings.fish @@ -20,5 +20,12 @@ function fish_user_key_bindings bind -M insert \ce end-of-line bind -M insert \ca beginning-of-line bind -M insert \cw forward-word - # bind -M insert \t forward-word + + bind -M insert \cv edit_command_buffer + bind -M default \cv edit_command_buffer + + bind -M insert \ee false + bind -M insert \ev false + bind -M default \ee false + bind -M default \ev false end