|
From: | Knut Petersen |
Subject: | Re: point-and-click to "other" editors |
Date: | Thu, 14 Jun 2018 07:28:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 |
Hi Federico!
Now what if I want to use a different editor? I did it in the past with Frescobaldi (to get point-and-clcik from an external PDF), but I cannot remember how. I'm now trying gedit, which does support opening a file in a certain point. I've tried the following but none works: LYEDITOR=gedit # this will open gedit but not in the desired line:columnLYEDITOR=`gedit +%(line)s:%(column)s %(file)s` # this is not correct syntax, as 'source ~/.bashrc' complains
in scm/editor.scm you find (define editor-command-template-alist '(("emacs" . "emacsclient --no-wait +%(line)s:%(column)s %(file)s || (emacs +%(line)s:%(column)s %(file)s&)") ("gvim" . "gvim --remote +:%(line)s:norm%(column)s %(file)s") ("uedit32" . "uedit32 %(file)s -l%(line)s -c%(char)s") ("nedit" . "nc -noask +%(line)s %(file)s") ("gedit" . "gedit +%(line)s %(file)s") ("jedit" . "jedit -reuseview %(file)s +line:%(line)s") ("syn" . "syn -line %(line)s -col %(char)s %(file)s") ("lilypad" . "lilypad +%(line)s:%(char)s %(file)s"))) Change the gedit entry to ("gedit" . "gedit +%(line)s:%(column)s %(file)s") Knut
[Prev in Thread] | Current Thread | [Next in Thread] |