jaypei / emacs-neotree

A emacs tree plugin like NerdTree for Vim.
GNU General Public License v3.0
1.56k stars 147 forks source link

Git mv when in a git repo #324

Closed Chocrates closed 1 year ago

Chocrates commented 5 years ago

Would it be possible to configure this plugin to run a git mv instead of a (presumably) shell mv if I am in a git repo when renaming a file?

bkaestner commented 4 years ago

Sure thing, @Chocrates , one can use vc-rename-file instead of rename-file. Given the current activity on the repository, you might want to apply #338 to your own copy of Neotree (if you're still an active user).

Chocrates commented 4 years ago

Thanks for looking at this @bkaestner! Yeah I'm not using emacs these days :(