update
This commit is contained in:
parent
9ed8a7491c
commit
8a4c8eea48
|
@ -1,5 +1,7 @@
|
|||
" https://gist.github.com/romainl/1f50c55b0ee92e5420de51e6c4b38491
|
||||
|
||||
nnoremap <silent> <space>cF :call CocAction('runCommand', 'eslint.executeAutofix')<CR>
|
||||
|
||||
setlocal includeexpr=RESOLVE(v:fname)
|
||||
|
||||
function! RESOLVE(module) abort
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
nmap <buffer> o <CR>
|
||||
nmap <buffer> q :Rex<CR>
|
||||
setl bufhidden=wipe
|
||||
|
|
|
@ -6,12 +6,6 @@
|
|||
nnoremap <silent> <space>cc :HexokinaseToggle<CR>
|
||||
nnoremap <silent> <space>cr :HexokinaseRefresh<CR>
|
||||
|
||||
"}}}
|
||||
" #ranger.vim {{{
|
||||
" https://github.com/francoiscabrol/ranger.vim
|
||||
Plug 'francoiscabrol/ranger.vim'
|
||||
let g:ranger_map_keys = 0
|
||||
|
||||
"}}}
|
||||
|
||||
" #ALE {{{
|
||||
|
@ -42,13 +36,13 @@
|
|||
let g:ale_sign_warning = 'α'
|
||||
|
||||
nmap gh <Plug>(ale_hover)
|
||||
nmap \\ <Plug>(ale_detail)
|
||||
nmap \f <Plug>(ale_fix)
|
||||
nmap \r <Plug>(ale_find_references)
|
||||
nmap \g <Plug>(ale_go_to_definition)
|
||||
nmap \d <Plug>(ale_documentation)
|
||||
nmap \n <Plug>(ale_next)
|
||||
nmap \p <Plug>(ale_previous)
|
||||
nmap <space>aa <Plug>(ale_detail)
|
||||
nmap <space>af <Plug>(ale_fix)
|
||||
nmap <space>ar <Plug>(ale_find_references)
|
||||
nmap <space>ad <Plug>(ale_go_to_definition)
|
||||
nmap <space>aD <Plug>(ale_documentation)
|
||||
nmap <space>an <Plug>(ale_next)
|
||||
nmap <space>ap <Plug>(ale_previous)
|
||||
|
||||
"}}}
|
||||
" #coc.nvim{{{
|
||||
|
@ -65,9 +59,12 @@
|
|||
nnoremap <silent> <space>cd :call CocAction('jumpDefinition')<CR>
|
||||
nnoremap <silent> <space>ci :call CocAction('jumpImplementation')<CR>
|
||||
nnoremap <silent> <space>cr :call CocAction('jumpReferences')<CR>
|
||||
nnoremap <silent> <space>cn :call CocAction('rename')<CR>
|
||||
nnoremap <silent> <space>cm :call CocAction('rename')<CR>
|
||||
nnoremap <silent> <space>ca :call CocAction('codeAction')<CR>
|
||||
nnoremap <silent> <space>ca :call CocAction('documentSymbols')<CR>
|
||||
nnoremap <silent> <space>cs :call CocAction('documentSymbols')<CR>
|
||||
nnoremap <silent> <space>cS :call CocAction('workspaceSymbols')<CR>
|
||||
nnoremap <silent> <space>cn :call CocAction('diagnosticNext')<CR>
|
||||
nnoremap <silent> <space>cp :call CocAction('diagnosticPrevious')<CR>
|
||||
" vnoremap \f <Plug>(coc-format-selected)
|
||||
" nnoremap \f <Plug>(coc-format-selected)
|
||||
command! -nargs=0 Format :call CocAction('format')
|
||||
|
@ -332,12 +329,12 @@ let g:mta_filetypes = {
|
|||
autocmd!
|
||||
autocmd BufNewFile,BufRead *.vue syntax sync fromstart
|
||||
augroup END
|
||||
|
||||
" #vim-yaml
|
||||
" }}}
|
||||
" #vim-yaml {{{
|
||||
" https://github.com/stephpy/vim-yaml
|
||||
Plug 'stephpy/vim-yaml'
|
||||
|
||||
" #python-syntax
|
||||
"}}}
|
||||
" #python-syntax {{{
|
||||
" https://github.com/vim-python/python-syntax
|
||||
Plug 'vim-python/python-syntax'
|
||||
let g:python_highlight_all = 1
|
||||
|
|
Loading…
Reference in New Issue