Is there nay way we can set vim terminal to be external editor of pentadactyl ? Thanks
I've tried this but it seems to not work:
set editor='vim -f +<line> +"sil! call cursor(0, <column>)" <file>'
P/S: My OS is Mac
Here's what works for me. I'm using Debian 6 with Gnome, FF20 and the nightly Pentadactyl build (hg6923 today):
You can also (eek!) make it work on Windows, like so:
We have to add an extra layer of quotes to pass the whole vim execution string to non-Windows terminals, but other than that, it's pretty much the same command. Vim automatically moves to the right file, line, and column when you open the file. It then waits until you exit vim, and, if you're editing an input field, updates that field with the new text.
As a warning, though, the doc does say that there might be problems with some terminals:
Confusingly, as we've just seen, gnome-terminal works just fine for me. Caveat editor.