aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/mode_visual_edit.coffee
AgeCommit message (Collapse)Author
2015-02-02Visual/edit modes: WIP, scrolling content editable.Stephen Blott
2015-02-02Visual/edit modes: escape in visual mode clears selection.Stephen Blott
2015-02-02Visual/edit modes: WIP, scrolling content editable.Stephen Blott
2015-02-01Visual/edit modes: tweaks...Stephen Blott
- Collapse to focus when entering caret mode from visual mode.
2015-02-01Visual/edit modes: fine-tune entry/exit logic.Stephen Blott
- When the user exits visual mode via escape, we reinstall the original selection (from launch).
2015-02-01Visual/edit modes: yet another code review.Stephen Blott
2015-01-31Visual/edit modes: exit visual mode on click in input element.Stephen Blott
2015-01-31Visual/edit modes: character-by-character word movements.Stephen Blott
2015-01-31Visual/edit modes: change implementation of vimword.Stephen Blott
2015-01-31Visual/edit modes: change visual-mode start up...Stephen Blott
When visual mode launches and there *is* a selection but it's outside of the viewport, instead of scrolling it into view, ignore it, and start with a visible caret.
2015-01-31Visual/edit modes: rework lexical selection...Stephen Blott
- And drop "J".
2015-01-30Visual/edit modes: re-introduce "dap".Stephen Blott
2015-01-30Visual/edit modes: better "yy", "dd", an so on.Stephen Blott
2015-01-30Visual/edit modes: better "2daw", an so on.Stephen Blott
2015-01-30Visual/edit modes: fix bug entering visual mode from edit mode.Stephen Blott
2015-01-30Visual/edit modes: another minor code review.Stephen Blott
2015-01-30Visual/edit modes: correctly suppress backspace/delete.Stephen Blott
2015-01-30Visual/edit modes: handle "0" as count prefix, when appropriate.Stephen Blott
2015-01-30Visual/edit modes: better find-mode integration.Stephen Blott
2015-01-30Visual/edit modes: miscellaneous improvements....Stephen Blott
- better definition of vimword. - fix initial selection as just one character when entering caret mode. - fix initial caret when entering visual mode from edit mode. - better selectLine. - "o" and "Y" are commands for visual mode, not movements. - simplify find mode within visual mode. - add FindMode binding for "/".
2015-01-29Visual/edit modes: initial caret mode.Stephen Blott
2015-01-29Visual/edit modes: more changes...Stephen Blott
- Simplify the SuppressPrintable key handler. - Rework the protectClipboard logic. - Some commands (x, X, etc) never affect the clipboard.
2015-01-29Visual/edit modes: fix key suppression.Stephen Blott
2015-01-29Visual/edit modes: fix broken due to stray uncommented comment.Stephen Blott
2015-01-29Visual/edit modes: fix w movement for contentEditable.Stephen Blott
It turns out we need to check different properties of the selection in order to correctly detect when the selection has changed in contentEditable elements.
2015-01-28Visual/edit modes: fix some movements...Stephen Blott
Also, change how vim's "w" is implemented. Also some code-review/cleanup. Better dd and yy for gmail.
2015-01-28Visual/edit modes: yet more minor changes.Stephen Blott
- Use a has for singletons (as it was previously), but with a distinct identity generated by Utils.getIdentity. - Fix counts not be using in a number of places.
2015-01-28Visual/edit modes: minor changes...Stephen Blott
- Minor refactoring. - Better selection of entity for "daw" an friends. - dd uses count, and works for empty lines. - Count for daw, etc. - Fix bug whereby selection cleared when changing tabs.
2015-01-27Visual/edit modes: minor changes.Stephen Blott
- Minor changes. - Deactivate modes on inputs from focusInput().
2015-01-27Visual/edit modes: self code review.Stephen Blott
2015-01-27Visual/edit modes: miscellaneous changes.Stephen Blott
- Various argument forms for runMovement. - Better visual line mode line selection. - Include preceding white space for "daw" and friends. - Vim-like handling of "2d3w" - count is six".
2015-01-27Visual/edit modes: better word-movement/"w".Stephen Blott
2015-01-27Visual/edit modes: minor changes.Stephen Blott
2015-01-26Visual/edit modes: "P" and "p" to copy-and-go.Stephen Blott
2015-01-26Visual/edit modes: minor improvements.Stephen Blott
2015-01-26Visual/edit modes: fix problem resuming entering visual line mode.Stephen Blott
2015-01-26Visual/edit modes: fix problem resuming insert mode.Stephen Blott
2015-01-26Visual/edit modes: better recovery after focus change.Stephen Blott
If we're in edit mode and the user changes tab, we lose the focus. That causes edit mode (and any sub mode like visual mode) to exit. When we return, we're in insert mode! With this commit, we save the state, and restore it when appropriate.
2015-01-26Visual/edit modes: minor changes.Stephen Blott
2015-01-26Visual/edit modes: "x" and entity moves ("daw", "cas", etc.)Stephen Blott
2015-01-25Visual/edit modes: miscellaneous improvements.Stephen Blott
2015-01-25Visual/edit modes: enter insert mode directly.Stephen Blott
2015-01-25Visual/edit modes: establish an initial selection.Stephen Blott
2015-01-25Visual/edit modes: miscellaneous changes.Stephen Blott
2015-01-25Visual/edit modes: better mode changes on blur/focus.Stephen Blott
2015-01-25Visual/edit modes: implement "V" in visual mode.Stephen Blott
2015-01-25Visual/edit modes: experimental "x" implementation.Stephen Blott
2015-01-25Visual/edit modes: better reverseSelection().Stephen Blott
There's an efficient way to implement reverseSelection, and an inefficient way. Unfortunately, the efficient way does not work for text inputs like textareas. So we fall back to the inefficient method in that case.
2015-01-25Visual/edit modes: find (experimental).Stephen Blott
The UX around find in visual mode can be a bit weird. It may be better to remove it.
2015-01-25Visual/edit modes: visual line mode.Stephen Blott