Fix bindings and stuff

This commit is contained in:
Daniel Flanagan 2020-03-17 12:37:01 -05:00
parent 840c53ebad
commit d10f3ebc3a
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
4 changed files with 14 additions and 10 deletions

View file

@ -246,6 +246,8 @@ nmap <silent> g] <Plug>(coc-diagnostic-next)
nmap <leader>ac <Plug>(coc-codeaction)
nmap <leader>qf <Plug>(coc-fix-current)
nmap <leader>f <Plug>(coc-format)
vmap <leader>f <Plug>(coc-format-selected)
" ale
@ -254,3 +256,5 @@ nmap <leader>qf <Plug>(coc-fix-current)
" nnoremap <leader>gh :ALEGoToDefinitionInSplit<CR>
" nnoremap <leader>gv :ALEGoToDefinitionInVSplit<CR>
" misc plugins
nmap <leader>aa :%ArrangeColumn!<CR>

View file

@ -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'

View file

@ -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*'

View file

@ -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