diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-11-27 12:48:37 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-11-27 12:48:37 +0100 |
commit | f8c9b80e5729bc7dd4211d650b63946c2c4f7b16 (patch) | |
tree | 735c7e1c97e1778ea6c6c640712fb49de435b1cd /vimrc | |
parent | f692b07f619ff5146905f0c794460c346064f2a6 (diff) | |
download | myconfigs-f8c9b80e5729bc7dd4211d650b63946c2c4f7b16.tar.gz myconfigs-f8c9b80e5729bc7dd4211d650b63946c2c4f7b16.tar.bz2 myconfigs-f8c9b80e5729bc7dd4211d650b63946c2c4f7b16.zip |
vim: update completion
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -3,10 +3,14 @@ " :diffg BA " get from BASE " :diffg LO " get from LOCAL set nocompatible + +" Ale (required to be before plugin load) +let g:ale_completion_enabled = 1 + filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() - +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Plugin 'VundleVim/Vundle.vim' " Visual Plugin 'itchyny/lightline.vim' @@ -32,7 +36,7 @@ Plugin 'sirtaj/vim-openscad' Plugin 'tmhedberg/SimpylFold' Plugin 'fedorenchik/qt-support.vim' Plugin 'chr4/nginx.vim' - +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" call vundle#end() filetype plugin indent on @@ -86,6 +90,7 @@ function TabToogle() endfunction command TabToogle call TabToogle() +" Translate word under cursor nnoremap <leader>d :! sdcv -n <cword><cr> " Indent guides @@ -153,9 +158,6 @@ let g:UltiSnipsExpandTrigger="<c-h>" let g:UltiSnipsJumpForwardTrigger="<c-j>" let g:UltiSnipsJumpBackwardTrigger="<c-k>" -" Ale -let g:ale_completion_enabled = 1 -let g:ale_completion_delay = 1 -let g:ale_set_highlights = 0 -" To fix random insertion by omnicomplete -set completeopt=menu,menuone,preview,noselect,noinsert +" ALE bidings +nmap <leader>[ <Plug>(ale_go_to_definition) +nmap <leader>] <Plug>(ale_go_to_definition_in_tab) |