vimrc: add func confirming the current runtime env

This commit is contained in:
surtur 2022-08-11 12:43:23 +02:00
parent 48e8487801
commit acd1a835cd
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -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>