Hello,
Could you please advise on how to configure vicmd to open text file with nvim on new terminal window while using configuration settings from .bashrc.
I can open a text file on a new terminal window and it works as expected, but does not use settings from .bashrc (eg. custom colors, etc). Code sample bellow:
set vicmd='urxvtc -e nvim' &
I can also get nvim to lauch on a new terminal window, loading the correct .bashrc settings, however neovim creates a new blank file, does not load the currently selected file in Vifm. Code sample bellow:
set vicmd='urxvtc -e bash -i -c "nvim"' &
I looked for an answer on google and on this forum and have not managed to solve the problem.
The relevant information I found is that when launching a new terminal window, eg. urxvtc -e "command", it launches the new terminal in non interactive mode, so it does not use settings in .bashrc. To force the newly launched window to use .bashrc we have to use the argument bash -i -c "command". I tried this as per code sample above, but its not working.
This is my first post, so apologies if I any forum rules where broken.
Regards and thanks.