JIX changes
This commit is contained in:
parent
cb7a93e55b
commit
3ac8878b0e
12
init.vim
12
init.vim
@ -91,6 +91,9 @@
|
||||
" open file at linenumber via <filename>:<linenumber>
|
||||
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(<f-args>)
|
||||
|
||||
nnoremap <Space> :nohl<CR>
|
||||
|
||||
function! InsertSnip(snip_name)
|
||||
" Find the template
|
||||
if a:snip_name =~ '^JIX/'
|
||||
|
Loading…
Reference in New Issue
Block a user