1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 06:07:59 +01:00

Some 'timeout' compromises: Guess whether there are native bindings for a key, execute a timeout if so.

This commit is contained in:
Kris Maglione
2011-06-27 19:28:59 -04:00
parent b5b504f051
commit bfb111894c
3 changed files with 18 additions and 12 deletions

View File

@@ -858,7 +858,7 @@ var Editor = Module("editor", {
options: function () {
options.add(["editor"],
"The external text editor",
"string", "gvim -f +<line> '+sil! call cursor(0, <column>)' <file>", {
"string", 'gvim -f +<line> +"sil! call cursor(0, <column>)" <file>', {
format: function (obj, value) {
let args = commands.parseArgs(value || this.value, { argCount: "*", allowUnknownOptions: true })
.map(util.compileMacro).filter(function (fmt) fmt.valid(obj))