diff --git a/vimrc b/vimrc index 9149c6a..ffa2f43 100644 --- a/vimrc +++ b/vimrc @@ -72,6 +72,9 @@ Plug 'kana/vim-textobj-user' Plug 'rbonvall/vim-textobj-latex' Plug 'kana/vim-textobj-indent' Plug 'bps/vim-textobj-python' +Plug 'kana/vim-textobj-function' + +Plug 'rhysd/vim-grammarous' Plug 'tpope/vim-surround' @@ -85,6 +88,14 @@ Plug 'digitaltoad/vim-jade' Plug 'jvoorhis/coq.vim' +Plug 'MarcWeber/vim-addon-mw-utils' +Plug 'tomtom/tlib_vim' +Plug 'MarcWeber/vim-addon-actions' +Plug 'MarcWeber/vim-addon-completion' +Plug 'MarcWeber/vim-addon-goto-thing-at-cursor' +Plug 'MarcWeber/vim-addon-errorformats' +Plug 'MarcWeber/vim-addon-nix' + " vim-sleuth? call plug#end() @@ -108,6 +119,8 @@ au syntax haskell setl omnifunc=necoghc#omnifunc let g:necoghc_enable_detailed_browse=1 let g:haskell_conceal = 0 +au syntax tex setl iskeyword+=: +let g:syntastic_tex_checkers=['lacheck'] " better paragraph object for tex files FIXME call textobj#user#plugin('latexparagraph', { \ 'paragraph': { @@ -126,9 +139,16 @@ set vb " turn on the "visual bell" - which is much quie set nobackup se bs=2 -let g:ycm_filetype_blacklist = { 'ledger' : 1, 'sql': 1 } +let g:ycm_filetype_blacklist = { 'sql': 1 } let g:ycm_semantic_triggers = {'haskell' : ['.']} let g:ycm_show_diagnostics_ui = 1 +let g:EclimCompletionMethod = 'omnifunc' + +" WIP +function LedgerGeneratePostings() + '<,'>!ledger -f - print --generated + '<,'>s/\s\s\s+/ /g +endfunction let g:jellybeans_background_color = '000000'