]> git.rmz.io Git - dotfiles.git/commitdiff
vim: try out scratch plugin
authorSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 23:56:03 +0000 (23:56 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Jan 2021 23:56:03 +0000 (23:56 +0000)
Sometimes I just want to write something into a buffer without a file
attached.

vim/vimrc

index 82617e8123148666edea5c390b185881ad42cfe2..b7188f1b5c58152436d0d6e3e296ddf542b6d3bc 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -96,6 +96,10 @@ let g:haskell_backpack = 1                " to enable highlighting of backpack k
 
 Plug 'aklt/plantuml-syntax'
 
+Plug 'mtth/scratch.vim'  " {{{2
+  let g:scratch_no_mappings = 1
+"}}}
+
 call plug#end()
 
 filetype plugin indent on