No edit summary |
|||
Line 6: | Line 6: | ||
|complexity=basic |
|complexity=basic |
||
|author=Ajabu Tex |
|author=Ajabu Tex |
||
− | |version= |
+ | |version=0.1 |
|rating= |
|rating= |
||
|category1=Integration with operating system |
|category1=Integration with operating system |
Revision as of 11:32, 28 January 2014
You can open a file in Linux Mint Cinnamon (and in its file-manager Nemo) just by right-clicking on the file icon and choosing the "Open with Vim" menu item.
(This tip refers to Linux Mint 16 Petra Cinnamon).
Create the file
~/.local/share/nemo/actions/vim.nemo_action
The name of the file is not important. Is very important the extension, that has to be nemo_action
.
Now open the file vim.nemo_action
with your preferred text editor and write down the following lines:
[Nemo Action] Active=true Name=Open with Vim Comment=Open %N with Vim in a terminal Exec=gnome-terminal --geometry=80x49 --working-directory=%P -e "vim %F" Icon-Name=vim Selection=s Extensions=nodirs; Dependencies=vim;
To know more
The full syntax of the Nemo actions is on a github repo