You are not logged in.

#1 2021-09-21 03:14:06

gh0stzk
Member
Registered: 2020-03-28
Posts: 33

open with vim or nvim from thunar or pcmanfm with issues

Hello, there is a little issue i have, i cant fix, probably is something stupid and easy but i didnt find solution...

When im on thunar or pcmanfm, when i click on a text file to edit, if i select open with nvim or vim, it opens my terminal, with vim or nvim but with out open the content of my file... just open nvim or vim in blank...

on my zsh i have this

export TERM="xterm-256color"
export TERMINAL="termite"
export EDITOR="nvim"

but i didnt have a clue what could it be...

Offline

#2 2021-09-21 05:03:38

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: open with vim or nvim from thunar or pcmanfm with issues

you have to launch the script with %f

~/my/script %f

http://ix.io/3zvW
this paste ^ although for feh, should get you going

Offline

Board footer

Powered by FluxBB