You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Thanks :)
The text was updated successfully, but these errors were encountered:
for-coursera
changed the title
Capturing a keypress (more of a Javascript question)
qmarks vs. capturing a keypress (more of a Javascript question)
Sep 14, 2017
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 :)
The text was updated successfully, but these errors were encountered: