t9md / atom-vim-mode-plus

vim-mode improved
https://atom.io/packages/vim-mode-plus
MIT License
1.4k stars 111 forks source link

new resolve-git-conflict operator #1011

Closed t9md closed 6 years ago

t9md commented 6 years ago

Introduce new operator command vim-mode-plus:resolve-git-conflict It replace conflicting section with ours or theirs text, which to pick is determined by at which section cursor is placed.

resolve-conflict-operator

In following text(NOTE: 0:, 1: part represent row number, is NOT actual text)

0:
1: <<<<<<< HEAD
2: ours
3: =======
4: theirs
5: >>>>>>> their-branch
6:

When executed, it replace whole conflicting section(row 1 to row 5) with ours or theirs.