sponsor Vim development Vim logo Vim Book Ad

Scratch* : Create and use scratch buffers in useful ways

 script karma  Rating 0/0, Downloaded by 687  Comments, bugs, improvements  Vim wiki

created by
Jonathan Palardy
 
script type
utility
 
description
Short (< 50 lines) plugin to create scratch buffers.

Scratch buffers are used to create new commands:

* ScratchDiff ... compare current buffer against new scratch
* ScratchFind ... runs a "find" command and outputs result in a new scratch

ScratchFind is used to emulate most of the functionality of command-t in TextMate.

Configure ScratchFind's behavior with the g:scratch_find_command variable.

Review the code: http://github.com/jpalardy/etc_config/blob/dce22368aacc842ef6db058280e5fdf3057c0b12/vim/plugin/scratch.vim
 
install details
Drop in ~/.vim/plugin
 

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
scratch.vim 1.0 2009-01-25 6.0 Jonathan Palardy Initial upload
ip used for rating: 18.118.137.243

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.
   
Vim at Github