Question

I want to be able to double click a file and have it open in vim inside the terminal.

I can change the default application by right clicking and selecting "Open with another application" then "Use A custom command", and then using a shell script in a file I wrote... which is this

terminal -e vim

It works in that it opens vim in a terminal, but not the file i was selecting.

So how can I change the script so that it opens the files I select?

Était-ce utile?

La solution

You could simply create a vim.desktop file.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top