2 ms·
I use tig every day! Love it! My one wish is that when you go to edit a file from the interface (by hitting e) is that it would keep you in the directory you'r
by ninetax 6y ago
I use tig every day! Love it!
My one wish is that when you go to edit a file from the interface (by hitting e) is that it would keep you in the directory you're in rather than editing the file as if you're in git root. Linters and other things break when I edit files from the root directory in our mono repo
- JNRowe 6y agoYou can add your own binding for e or perhaps some other key: [tig "bind"] generic = e !script %(file) With script containing something like: cd `dirname $1` vim `basename $1` Although, if you're already a vim user using `set autochdir` is probably easier.