commit 6293f36e3991b9f80abab01e0995c5127c8ec9e1
parent c9c1dc99b68adff46d3bb77c6ce26db2a05dcbdf
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Tue, 10 Dec 2019 22:31:28 -0500
vim: improve scratchpad command
Former-commit-id: 33fdbcfc6142c0c89ad38403c74e99549d3b531c
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vim/autoload/scratchpad.vim b/vim/autoload/scratchpad.vim
@@ -1,5 +1,4 @@
function scratchpad#MarkScratch()
exe "setlocal textwidth=".(winwidth(0)-7)
- setlocal buftype=nofile
- setlocal filetype=scratch
+ setlocal bufhidden=wipe buftype=nofile nobuflisted noswapfile
endfunction