Skip to content

tower2149/vim-scratch-buffer

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โœจ scratch-buffer.vim โœจ

๐Ÿš€ No more hassle with file paths! The fastest way to open an instant scratch buffer.



๐Ÿ”ง Quick Start

" Open a new scratch buffer without file extension and filetype
:ScratchBufferOpen
:ScratchBufferOpen --no-file-ext
" Open a new scratch buffer with Markdown filetype
:ScratchBufferOpen md
" Open a small buffer at the top for quick notes
:ScratchBufferOpen md sp 5
:ScratchBufferOpen --no-file-ext sp 5

Of course, you can open other file types too!

" Open a TypeScript buffer
:ScratchBufferOpen ts

๐Ÿ”ฅ Why scratch-buffer.vim?

  • Open instantly! Just run :ScratchBufferOpen!
  • No file management! Perfect for quick notes and testing code snippets.
  • Works anywhere! Whether in terminal Vim or GUI, it's always at your fingertips.

โšก Supercharge with vim-quickrun!

๐Ÿ’ก Combine it with vim-quickrun to execute code instantly!

" Write TypeScript code...
:ScratchBufferOpen ts

" ...and run it immediately!
:QuickRun

โš™๏ธ Other Features

" Delete all scratch files and buffers
:ScratchBufferClean

About

๐Ÿš€ No more hassle with file paths! Instantly open a scratch buffer!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%