sponsor Vim development Vim logo Vim Book Ad

vim-scratchpad : toggle a scratchpad

 script karma  Rating 5/2, Downloaded by 164  Comments, bugs, improvements  Vim wiki

created by
Enno Nagel
script type
This plug-in adds a key binding, by default 'dsp' (= 'Display Scratch Pad'), that toggles
a scratchpad. It assumes the file type 'FT' and working directory 'CWD' of the
currently opened buffer, and is stored in 'CWD/.scratchpads/scratchpad.FT'

The subdirectory where the scratchpad is stored in is set by the variable

    let g:scratchpad_path = '.scratchpads'

and the key binding is set by the mapping

    nmap dsp <Plug>(ToggleScratchPad)

vim-scratchpad is developed at


where issues can be filed.
install details
Unzip vim-scratchpad.zip into  ~/.vim on Linux or %USERPROFILE%\vimfiles on Windows.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-scratchpad.zip 1.3 2018-12-06 7.0 Enno Nagel permit forcing filetype, make detection of current working directory and file type more robust
vim-scratchpad.zip 1.2 2018-07-03 7.0 Enno Nagel autosave pad and ensure correct path  
vim-scratchpad.zip 1.1 2018-05-10 6.0 Enno Nagel place the scratchpad window more conveniently
vim-scratchpad.zip 1.0 2017-09-04 5.7 Enno Nagel Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo