Since I use qmarks quite a lot, I've made this little selector in case I forgot where exactly my quickmarks are pointing to:
javascript <<EOF
function showActQmarks(){
dactyl.execute("qmarks");
// get a qmark
q = prompt("Visit..?");
dactyl.execute("normal <Esc>");
// abort if no input provided
if (q == null || q == "") {
return;
}
// navigate
dactyl.execute("normal " + "go" + q);
}
EOF
However, this also made me wonder, if it's possible to capture a key pressed by a user after executing the :qmarks command without that ugly prompt method?
Since I use
qmarks
quite a lot, I've made this little selector in case I forgot where exactly my quickmarks are pointing to:However, this also made me wonder, if it's possible to capture a key pressed by a user after executing the
:qmarks
command without that uglyprompt
method?Thanks :)