Re: [Vimprobable-users] [Ticket #9] Edit text areas using $EDITOR
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Daniel C. <dan...@gm...> - 2012-07-22 13:02:44
|
Hi Hannes! This patch is nice! But out of the reasons that also Matthew Carter mentioned this doesn't work if the EDITOR is vim and vimprobable is started via dmenu or as shortcut from tabbed. Until today I expected only cli tools to evaluate the EDITOR environment variable and I set it to vim. For a grafically tool like vimprobable I would preferable launch a grafical editor like gvim. But I'm averse to change the EDITOR to gvim, because I use many tools on cli that evaluates also the EDITOR variable and I don't want them to open gvim. Wouldn't it be a compromise to have a configuration for the editor in vimprobablerc and on runtime to set the editor in a way like: set editor="gvim %s"? This would allow the user to easily change the editor and also to launch a cli editor in a way like 'set editor="urxvt -e vim %s"'? If the configuration isn't set a fallback to the $EDITOR would be nice or we set the default value to 'vim' or better 'vi' (is posix conform an on most systems aliased to vim) which should be a good choice for a browser that aims to apply the usage paradigms from vim to a grafically browser. Daniel |