On Tue, Dec 28, 2010 at 6:12 PM, Brad Wilson wrote:

> Is there a way to set a keybinding to copy the current file path?

You can do it with the Lua plugin...

>From a terminal, do:

mkdir -p  ~/.config/geany/plugins/geanylua
cd ~/.config/geany/plugins/geanylua
echo 'geany.copy(geany.filename() or "")' > copy-filename.lua
echo 'copy-filename.lua' >> hotkeys.cfg


Now enable the Lua plugin and restart Geany, then go to
Edit->Preferences->Keybindings and scroll to the very
bottom of the list. Click on the "Copy filename" entry
and click the "Change" button to assign a keybinding to
your new command. You can also access the command from
the Tools->Lua menu.

 - Jeff
_______________________________________________
Geany mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany

Reply via email to