Vim Tips Wiki

Open a file in Linux Mint Cinnamon via a menu action

Revision as of 10:41, January 31, 2014 by JohnBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
1,619pages on
this wiki

Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).

Please use new tips to discuss whether this page should be a permanent tip, or whether it should be merged to an existing tip.
created January 28, 2014 · complexity basic · author Ajabu Tex · version 7.0

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.

Step one: create the menu-action fileEdit

Create the file


The name of the file is not important, however, the extension must be nemo_action.

Step two: edit the menu-action fileEdit

Now open the file vim.nemo_action with your preferred text editor and enter the following lines:

[Nemo Action]
Name=Open with Vim
Comment=Open %N with Vim in a terminal
Exec=gnome-terminal --geometry=80x49 --working-directory=%P -e "vim %F"



Around Wikia's network

Random Wiki