command line mode refactoring#5
Conversation
|
@guillermooo would you mind squashing your commits? |
|
sure |
|
@jpoon I still have a bunch of default headers and tabs in the files. I can try cleaning that up and squashing again. Or do it later. |
|
I'm a neat freak so I setup gulp+tslint on a private branch and we have a bunch of errors :(. Didn't bother with fixing them as (1) there were a lot and (2) Connect() is coming up fast. We can start taking care of the engineering debt when we have some basic stuff working? |
|
I'm learning TS as I go, so you better wait some more. :) So 👍 to paying debt off later. When we look into that, we should setup CI integration with Travis and Appveyor to run the test suite. I suppose we can output the test results to a file somehow. I will try to fix the basic stuff such as whitespace now, though. |
|
Well, I took a look at tslint issues and actually fixed them already. |
|
👍 Feel free to merge. I believe you should have that green button enabled. |
command line mode refactoring
- <C-Right>/<C-Left> now dispatch to MoveWordBegin/MoveBeginningWord (small word `w`/`b`), matching :help <C-Right> and the <C-S-Right> sibling. Drops the dead-shadow `<C-right>`/`<C-left>` aliases on MoveFullWordBegin and MoveBeginningWord (same key-collision pattern that originally hid <C-BS>). - Adds inverse-gated MoveShiftUpAsPage/MoveShiftDownAsPage so <S-Up>/<S-Down> fall back to <C-B>/<C-F> page motion when keymodel lacks startsel (matches :help <S-Up>); previously a silent no-op. - ExecuteOneNormalCommandInInsertMode now registered for Mode.Replace and captures the actual current mode as the return target. R<C-o>w returns to Replace; (replace) NORMAL/VISUAL/VISUAL LINE/VISUAL BLOCK pseudo-modes reachable end-to-end. Red tests in pr9998Regressions.test.ts (Bug VSCodeVim#5/6/7); un-skipped three R<C-o> cases in pseudoModes.test.ts. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Refactoring for simpler code. (I hope.)