From: Jannik Zander <59698@grundfos.com> Date: Fri, 13 Jul 2018 16:49:56 +0000 (+0200) Subject: Add errormarker to vim X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=195fbaf79fb9e696febf630903d595894c7ffa0b;p=dotfiles.git Add errormarker to vim --- diff --git a/.gitmodules b/.gitmodules index f354094..1260694 100644 --- a/.gitmodules +++ b/.gitmodules @@ -49,3 +49,6 @@ [submodule ".vim/pack/github/opt/asyncrun.vim"] path = .vim/pack/github/opt/asyncrun.vim url = https://github.com/skywind3000/asyncrun.vim.git +[submodule ".vim/pack/github/opt/errormarker.vim"] + path = .vim/pack/github/opt/errormarker.vim + url = https://github.com/mh21/errormarker.vim.git diff --git a/.vim/pack/github/opt/errormarker.vim b/.vim/pack/github/opt/errormarker.vim new file mode 160000 index 0000000..66ab8e0 --- /dev/null +++ b/.vim/pack/github/opt/errormarker.vim @@ -0,0 +1 @@ +Subproject commit 66ab8e0a356ea8a971e99156c59d09c3beae5ef2 diff --git a/.vim/vimrc b/.vim/vimrc index 6d9fc3c..7893fbd 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -182,12 +182,16 @@ packadd! matchit packadd asyncrun.vim let g:asyncrun_open = 8 let g:asyncrun_status = "stopped" +let g:asyncrun_auto = "make" let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}']) command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ augroup asyncrun autocmd QuickFixCmdPost * call asyncrun#quickfix_toggle(8, 1) augroup END +" Error markers +packadd errormarker.vim + " Normal mode Mappings nnoremap ; : nnoremap : ; @@ -217,7 +221,6 @@ tnoremap l " Autocommands if has('autocmd') - " Put these in an autocmd groups, so that we can delete them easily. augroup filetypes autocmd! autocmd bufnewfile,buffilepre,bufread *.md set filetype=markdown @@ -243,8 +246,6 @@ if has('autocmd') autocmd bufwritepost ~/.vim/vimrc source % autocmd bufwritepost ~/.vim/vimrc.local source % augroup END - - endif " local settings