mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-23 16:45:45 +01:00
Add gu, gU. Fix some editor issues and annoyances. Better undo support. Don't push TEXT_EDIT mode multiple times with noinsertmode set. Update NEWS.
This commit is contained in:
@@ -867,7 +867,7 @@ var Events = Module("events", {
|
||||
if (!haveInput)
|
||||
if (options["insertmode"])
|
||||
modes.push(modes.INSERT);
|
||||
else {
|
||||
else if (!isinstance(modes.main, [modes.TEXT_EDIT, modes.VISUAL])) {
|
||||
modes.push(modes.TEXT_EDIT);
|
||||
if (elem.selectionEnd - elem.selectionStart > 0)
|
||||
modes.push(modes.VISUAL);
|
||||
|
||||
Reference in New Issue
Block a user