navigation for ale

This commit is contained in:
hophacker 2018-08-23 12:44:28 +08:00
parent 0837ea42be
commit dc62b691f3
3 changed files with 6 additions and 0 deletions

2
vim/settings/ale.vim Normal file
View File

@ -0,0 +1,2 @@
nmap <silent> <localleader>h <Plug>(ale_previous_wrap)
nmap <silent> <localleader>l <Plug>(ale_next_wrap)

3
vimrc
View File

@ -87,9 +87,12 @@ set si "Smart indent
nnoremap p p=`]<C-o>
nnoremap P P=`]<C-o>
" shortcuts defined by rallets
" Refresh all files
nnoremap <LocalLeader>r :bufdo edit<CR>
nnoremap <LocalLeader>t :tabo<CR>
nnoremap <LocalLeader>f :let @" = expand("%")<cr>
filetype plugin on

View File

@ -252,3 +252,4 @@ alias gcaa="gia .; gcF"
alias ror_ctags="ctags -R --languages=ruby --exclude=.git --exclude=log . \$(bundle list --paths)"
alias docker_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)'
alias find_large_files="sudo find / -xdev -type f -size +50M"
alias vim_plain="vim -u NONE"