vimrc: add func confirming the current runtime env
This commit is contained in:
parent
48e8487801
commit
acd1a835cd
@ -998,6 +998,9 @@ endif
|
||||
endfunction
|
||||
nnoremap <leader>hh :call HeaderToggle()<cr>
|
||||
|
||||
silent function! LINUX()
|
||||
return has('unix') && !has('macunix') && !has('win32unix')
|
||||
endfunction
|
||||
|
||||
nnoremap <Leader>ve :e $MYVIMRC<CR>
|
||||
nnoremap <Leader>vr :source $MYVIMRC<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user