Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

inkarkat/vim-diff-toggle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Diff Toggle

Diff Toggle is a Vim plugin to speed up editing diff files.

Pressing <Space> in diff buffers on a single line or visual selection will:

  • delete + lines under the cursor
  • replace the - on removed lines with spaces, turning them into a context lines
  • replace the space at the start of context lines with a -, marking them for removal

What is this useful for you ask? Try use it next time you are adding files to Git with git add --edit.

Contributors

Thanks.

License

Distributed under the same terms as Vim itself. See :help license for info.

Links

About

Vim plugin to speed up editing diff files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%