Skip to content

m-dimmitt-old/vim-git-add-del_Hack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

vim-git-add-del_Hack

When you "add -p <e (edit) flag>" and are doing a refactor.

  1. Add deletions first "for a simplifying project commit"
  2. Add additions "for code has moved to here commit"

Implementation instructions, see #1 (plan)[#1]

  1. vim plugin recognizes previous command contained 'git * -p'
  2. plugin recognizes that it is in -e (edit) mode for -p command.
  3. :add and :del ...
    Text manipulation occurs to:
  4. add(), remove the lines that contain + upon
  5. del(), convert - to ' '

About

three steps: add -p <filename> / e / :del

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published