mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:18:00 +01:00
added :time command, please use when writing new functions and you think they are slow
This commit is contained in:
@@ -509,8 +509,9 @@ function Events() //{{{
|
||||
default:
|
||||
// clear any selection made
|
||||
var selection = window.content.getSelection();
|
||||
if (selection)
|
||||
try { // a simple if (selection) does not work
|
||||
selection.collapseToStart();
|
||||
} catch (e) { }
|
||||
vimperator.commandline.clear();
|
||||
|
||||
vimperator.modes.reset();
|
||||
|
||||
Reference in New Issue
Block a user