https://github.com/arecarn/vim-diff-utils
Diff mappings that take buffer number as a count and can be repeated with dot
https://github.com/arecarn/vim-diff-utils
Last synced: 7 months ago
JSON representation
Diff mappings that take buffer number as a count and can be repeated with dot
- Host: GitHub
- URL: https://github.com/arecarn/vim-diff-utils
- Owner: arecarn
- License: wtfpl
- Created: 2015-05-02T02:35:36.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T21:36:25.000Z (over 7 years ago)
- Last Synced: 2025-02-03T18:56:30.786Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 9.77 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
diff-utils
==========
Enhances the built in diff mode commands `do` and `dp` by making them repeatable
with `.` via [repeat.vim](https://github.com/tpope/vim-repeat) , 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
-----------
* [repeat.vim](https://github.com/tpope/vim-repeat)