Fix bindings and stuff
This commit is contained in:
parent
840c53ebad
commit
d10f3ebc3a
|
@ -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>
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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*'
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue