Skip to content

Diff mappings that take buffer number as a count and can be repeated with dot

License

Notifications You must be signed in to change notification settings

arecarn/vim-diff-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diff-utils

Enhances the built in diff mode commands do and dp by making them repeatable with . via repeat.vim , and add some additional helper commands for getting or putting a single line.

Usage

Mode Key Binding Description
normal do An enhanced do that can be repeated with '.' including the [count] that is used as the [bufspec]
normal ]do Like the enhanced do followed by ]c
normal [do Like the enhanced do followed by [c
normal dp An enhanced dp that can be repeated with '.' including the [count] that is used as the [bufspec]
normal ]dp Like the enhanced dp followed by ]c
normal [dp Like the enhanced dp followed by [c
normal dO Like the enhanced do command but gets/obtains a single line
normal dP Like the enhanced dp command but puts single line
normal du A mapping to :diffupdate command

Requirements

About

Diff mappings that take buffer number as a count and can be repeated with dot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published