https://github.com/hkupty/timeshift.vim
Edit a block of text in a separate buffer
https://github.com/hkupty/timeshift.vim
Last synced: 3 months ago
JSON representation
Edit a block of text in a separate buffer
- Host: GitHub
- URL: https://github.com/hkupty/timeshift.vim
- Owner: hkupty
- Created: 2016-03-28T12:03:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T10:19:10.000Z (about 7 years ago)
- Last Synced: 2025-01-24T04:39:39.714Z (4 months ago)
- Language: Vim script
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Timeshift
=========This simple plugin splits into another buffer and then joins back into
original place.To split something, do `csj{motion}`, which will cause the selected snippet to open in a separate buffer.
After you finished editing it, press `q` to return it.
When inside a markdown buffer, you can `cmd` (change markdown) inside a code block (triple
backticks) that it will automatically open a scratchpad buffer with the code
block content with the correct filetype set.Please note that this plugin makes heavy use of marks, specially the mark `'s`.
If you use marks frequenty, avoid marking `'s` when using timeshift.Customization
-------------In case `csj` gets too difficult, one can `let g:timeshift_mapping` to anything better for you.
The same applies to markdown, with `let g:timeshift_markdown_mapping`.