ive a little issue. ive set up neovim pretty much the way i want it and use it multiple hours daily for work. most of the times i use fzf or ranger via floaterm from within nvim to open new files. however- from time to time i open files directly from within dolphin.
in order for dolphin to open files with neovim inside a terminal i created a little application .desktop file.
it simply opens neovim with the command “tilix -e nvim%f” which works jsut fine. everything is the same as using it directly within tilix.
one issue tho- it doesnt display the colors for fzf and ranger correctly. the fzf colors are set up in my zshrc file. the syntax colortheme in the preview windows gets controlled via a bat theme. this is also configured in the zshrc file.
but when i open nvim threw dolphin, tilix doesnt source the zshrc file. so these colors stick out like a sore thumb and drive me nuts each time i see em cuz they are exactly the opposite to my dark theme.
so- is there a way to add something to the command i open neovim in my application file? i tried “source ~/.zshrc && tilix -e nvim%f” and “tilix -e zsh -c nvim%f” without much success.
also tried gui neovim version but obviously the issue is the same.
also tried to basically add the color commands etc to the shortcuts directly in my init.vim file but the author of fzf knew why he wrote it must be declared in the zshrc file.