Hacker News new | ask | show | jobs
by JNRowe 2014 days ago
You 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.