Vim screencast #76: vcs-jump

preview_player
Показать описание
Links:
Рекомендации по теме
Комментарии
Автор

Great videos man! I've been watching one of your videos per day! I didnt know vim could do 99% of that stuff!!! Congratulations from Brazil!

jparaujobezerra
Автор

Great tool! I think it will be especially useful for navigating through conflict markers.
Something I often do is “jump” to the root of the repository by changing the :lcd of the current buffer. I’m using the Gina plugin to achieve that and I also have a `cdg` alias for shell. One thing that is missing from the vim workflow is being able to jump back to the previous directory, like “cd -1” in a shell.
When i saw the name of the repo, before hearing the rest of the explination, I assumed it would be about jumping by changing vim’s pwd.
Also, I learnt a new trick from this video with :colder and :cnewer, thanks!

Spikeyd
Автор

Have you ever tried vim-gitgutter? It has a similar feature for jumping between changes, though instead of using quickfix, it uses the sign column for jumping and it runs continuously (which means you don't need to call a : command to update the jump list). It also provides an operator/text objects to work on changed hunks.

lieryan
Автор

Please add a video for the git diff tools.

chalmagean
Автор

Nice plugin. But one question regarding merge mode: I see that you use git grep to find conflicts. Git has a nice feature for this: git diff --check. Is there a particular reason not to use that?

ykhatat
Автор

This is super cool Greg.

Can you make a video that addresses this?
1. Execute a command inside tmux window-> copy something from output of command to clipboard?
2. Say you have sshed into a box and have vim running there, how to copy text from there to local Mac easily via keyboard?
3. Say you have sshed into a box and you run a command inside tmux window of that box, how to copy something from output of that command to Mac clipboard?


I know this is not directly related to this video but I did not know any other way to request for a video.

fghertful