4 ms·
Have you used magit? If there's a better one out there than magit's, I want to know.
by NateEag 4y ago
Have you used magit?
If there's a better one out there than magit's, I want to know.
- suprjami 4y agoI haven't, but I don't use emacs. Crash course: `mkdir -p ~/.vim/pack/git/start` `git clone https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive ~/.vim/pack/git/start/vim-fugitive` Open a file under version control and `:Git blame` The commit shas, author, and date appear in a window to the left. `Ctrl+w Ctrl+w` to switch windows. Both windows scroll up and down together. Pressing `o` on a commit sha opens the full commit log and patch in a window below. Close this with `:q` Pressing `~` on a commit sha re-blames on parent (git's ~) Pressing `P` on a commit sha re-blames on parent (git's ^) There's also a set of (old and a bit outdated) Vimcasts on fugitive, episodes 31-35 http://vimcasts.org/episodes/archive/ http://vimcasts.org/episodes/archive/
- NateEag 4y agookay, thanks very much for the overview!