Monday, May 23, 2011

Re: make terminal VIM my default text editor Ubuntu 11.04

On Tue, May 24, 2011 at 6:20 AM, Juan incaurgarat <juanofx@gmail.com> wrote:
> Exec=gnome-terminal -e "vim \"$1\""

.desktop file is specified by freedesktop.org.

http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec

you can check the specifications and know that you may want to use %F
instead of $1.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: