lazygit.nvim icon indicating copy to clipboard operation
lazygit.nvim copied to clipboard

Suggestion: Check for `nvr` and auto add `.vimrc` updates

Open tjdevries opened this issue 5 years ago • 3 comments

I'm about to try out your plugin finally :grin:

I was thinking you could add the configuration you list for nvr (at least for nvim items) all within plugin just by checking for nvr as an executable and by letting people opt out w/ a global var or something.

Just a thought.

tjdevries avatar Jul 30 '20 15:07 tjdevries

Ah, or additionally, you could set GIT_EDITOR when opening the LazyGit command, and then unsetting (or reset to original) it when you're done. This would make it so you can control it a little bit better I think.

tjdevries avatar Jul 30 '20 16:07 tjdevries

Setting g:lazygit_use_neovim_remote to false will not add the autocmd, but you are asking for the GIT_EDITOR environment variable to be configurable?

I'm excited that you are trying out lazygit and I'm even more excited that you are trying out this plugin!

kdheepak avatar Jul 30 '20 18:07 kdheepak

Hmm... maybe this request doesn't make sense. Let me try it out for longer and I'll let you know if I run into anything.

tjdevries avatar Aug 08 '20 16:08 tjdevries