scratch commands

This commit is contained in:
ManjaroOne666 2018-11-21 14:25:30 +00:00
commit 9cac0abecf

3
vimrc
View file

@ -871,6 +871,9 @@ command! -range=% TrimWhitespace let b:wv = winsaveview() |
\ keeppattern <line1>,<line2>s/\s\+$// |
\ call winrestview(b:wv)
command! Scratch new | setlocal buftype=nofile | setlocal bufhidden=hide | setlocal noswapfile
command! ScratchVertical vnew | setlocal buftype=nofile | setlocal bufhidden=hide | setlocal noswapfile
"}}}
" #settings {{{
scriptencoding utf-8