diff --git a/init.vim b/init.vim index a9ed366..a5d6e69 100644 --- a/init.vim +++ b/init.vim @@ -91,6 +91,9 @@ " open file at linenumber via : Plug 'wsdjeg/vim-fetch' + " smart view preservation (replacement of manual mkview and loadview) + " Plug 'zhimsel/vim-stay' " TODO: jry + " Todo lists Plug 'vuciv/vim-bujo' @@ -321,6 +324,7 @@ set smartcase set list " }}} +" TODO: jry: disable this in favor of vim-stay " save folds in files {{{ augroup autofolding autocmd! @@ -498,6 +502,12 @@ endif " \ ] " endif + " Configure python at JI + if $USER =~ "^jry$" + let g:neomake_python_enabled_makers = [] " disable python checking, since it checks for python2, but in production it is python3 + endif + + " let g:neomake_perl_perlcritic_postprocess = { " \ entry -> entry.text =~# 'Private subroutine/method used (Use published APIs)' " \ ? extend(entry, {'valid': -1}) @@ -802,6 +812,8 @@ nnoremap g# g#zz endfunction command! -nargs=* ZZ call ZZWrap() +nnoremap :nohl + function! InsertSnip(snip_name) " Find the template if a:snip_name =~ '^JIX/'