Hacker News new | past | comments | ask | show | jobs | submit login

I'm not sure what I did wrong but your mapping didn't work for me on Neovim - it either immediately closed the terminal or didn't know what <bar> means.

Eventually I moved to https://github.com/codeindulgence/vim-tig which does the same via `:Tig` and `:Tig!`.

I added those mappings to achieve something similar:

  nnoremap <leader>gb :Tig! blame<cr>
  nnoremap <leader>g0 :Tig! status<CR>
Thank you for inspiration! Tig FTW!



All the mapping worked fine for me as well in vim, and I found gB to be super useful, earlier I had to go first in tree view and then select the file and then use the blame view.


I don't use neovim so I don't know what the differences are. The commands work fine for me in vim however.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: