Fish $EDITOR interaction -


How do I launch the current configured editor from fish shell? This is the editor associated with $ EDITOR .

Takes input from the pipeline and acts like a face, it is $ EDITOR .

What would be the function to open a path in the logic list in $ EDITOR ?

How about something like this:

  editing function - D "Open file using $ EDITOR" for file in $ argv if test -e $ file eval $ EDITOR $ file copy "Open file $ file" second resonant "Create file? (Y / n)" readfile if test $ CreateFile = "y" eval $ EDITOR -n $ file echo "file $ file creation" end end and end    

Comments