Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: validate configurations once, instead of every key press #3418

Merged
merged 8 commits into from
Jan 30, 2019
Merged

Conversation

jpoon
Copy link
Member

@jpoon jpoon commented Jan 29, 2019

What this PR does / why we need it:

  • load and validate remappings on configuration file changes instead of every single keypress.
  • fixed this circular dependency between configuration and logger. logger depended on configuration to configure its levels, configuration required logger to log config errors.

Which issue(s) this PR fixes

Special notes for your reviewer:

@TravisBuddy
Copy link

Travis tests have failed

Hey @jpoon,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

View build log

if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
The command "if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi" exited with 0.

$ npm run build

> vim@1.0.3 build /home/travis/build/VSCodeVim/Vim
> gulp build

[08:53:53] Using gulpfile ~/build/VSCodeVim/Vim/gulpfile.js
[08:53:53] Starting 'build'...
[08:53:53] Starting 'prettier'...
[08:53:55] Finished 'prettier' after 1.43 s
[08:53:55] Starting 'tsc'...
[08:53:55] Starting 'tslint'...
[08:54:02] Finished 'tslint' after 7.55 s
[08:54:10] Finished 'tsc' after 15 s
[08:54:10] Finished 'build' after 16 s
The command "npm run build" exited with 0.

$ npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 8:54:16 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive
    ✓ couldActionApply 1D keys negative

    ✓ couldActionApply 2D keys positive

    ✓ couldActionApply 2D keys negative

    ✓ doesActionApply 1D keys positive

    ✓ doesActionApply 1D keys negative

    ✓ doesActionApply 2D keys positive

    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (142ms)

    ✓ add empty command (43ms)

    ✓ add command over configuration.history

    ✓ add command that exists in history (47ms)

    ✓ file system (42ms)

    ✓ change configuration.history (72ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (117ms)

    ✓ Sort whole file, dsc (98ms)

    ✓ Sort range, asc (120ms)

    ✓ Sort range, dsc (134ms)



  Horizontal split

    ✓ Run :sp (67ms)

    ✓ Run :split (58ms)

    ✓ Run :new (56ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args
    ✓ ignores trailing white space
    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input


  :quit args parser
    ✓ has all aliases
    ✓ can parse empty args
    ✓ ignores trailing white space

    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter

    ✓ can parse flag KeepPreviousFlags



  :write args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name
    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty


  Basic substitute

    ✓ Replace single word once (59ms)

    ✓ Replace with `g` flag (62ms)

    ✓ Replace with flags AND count (113ms)

    ✓ Replace with `c` flag (55ms)

    ✓ Replace with `gc` flag (105ms)

    ✓ Replace across all lines (98ms)

    ✓ Replace on specific single line (133ms)

    ✓ Replace on current line using dot (95ms)

    ✓ Replace single relative line using dot and plus (127ms)

    ✓ Replace across specific line range (93ms)

    ✓ Replace across relative line range using dot, plus, and minus (82ms)

    ✓ Replace across relative line range using numLines+colon shorthand (96ms)

    ✓ Repeat replacement across relative line range (115ms)

    ✓ Replace with range AND count but no flags (95ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (67ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (108ms)

    ✓ Undocumented: trailing operators use 1 as RHS (87ms)

    ✓ Replace specific single equal lines (122ms)

    ✓ Replace current line with no active selection (94ms)

    ✓ Replace text in selection (138ms)

    ✓ Substitute support marks (120ms)

    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (59ms)

      ✓ Replace with `g` flag inverts global flag (48ms)

      ✓ Replace with `c` flag inverts global flag (91ms)

      ✓ Replace multiple lines (108ms)

      ✓ Replace across specific lines (80ms)

      ✓ Replace current line with no active selection (100ms)

      ✓ Replace text in selection (110ms)

      ✓ Substitute support marks (85ms)

      ✓ Substitute with escaped delimiter (65ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (224ms)

      ✓ Substitute with previous search using # (194ms)

      ✓ Substitute with previous search using / (248ms)

      ✓ Substitute with parameters should update search state (128ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (268ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (141ms)

      ✓ Substitute repeat previous should accept flags (96ms)

      ✓ Substitute with empty search string should use last searched pattern (263ms)



  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (39ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file

    ✓ tabe with absolute path when not in workspace opens file (76ms)

    ✓ tabe with current file path does nothing (64ms)



  Vertical split

    ✓ Run :vs (72ms)

    ✓ Run :vsp (61ms)

    ✓ Run :vsplit (53ms)

    ✓ Run :vnew (234ms)

    ✓ Run :vne (199ms)



  Basic write-quit

    ✓ Run write and quit (111ms)



  Provide line completions

    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (46ms)

      ✓ Can complete lines in file with different indentation (51ms)

      ✓ Returns no completions for unmatched line (57ms)



  Configuration

    ✓ remappings are normalized

    ✓ Can handle long key chords (51ms)

    ✓ whichwrap is parsed into wrapKeys



  Notation

    ✓ Normalize



  Remapper

    ✓ getLongestedRemappedKeySequence (102ms)

    ✓ getMatchingRemap (198ms)

    ✓ jj -> <Esc> through modehandler (107ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ 0 -> :wq through modehandler (105ms)

    ✓ leader, w -> closeActiveEditor in normal mode through modehandler (91ms)

    ✓ leader, c -> closeActiveEditor in visual mode through modehandler (107ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (172ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (164ms)

    ✓ jj -> <Esc> after ciw operator through modehandler (187ms)



  Error

    ✓ error code has message



  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers



  Record and navigate jumps

    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim
      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (78ms)

        ✓ Can track jumps for keys: GggG (67ms)

        ✓ Can track jumps for keys: GggGgg (67ms)

        ✓ Can track jumps for keys: /b<CR>n (112ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (73ms)

        ✓ Can track jumps for keys: j%% (50ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (46ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (55ms)

        ✓ Can track jumps for keys: j%%<C-o>% (64ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (65ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (83ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (94ms)

        ✓ Can enter number to jump back multiple times (60ms)

        ✓ Can track one-line `` jumps (93ms)

        ✓ Can track one-line double `` jumps (106ms)

        ✓ Can track one-line '' jumps (106ms)

        ✓ Can track one-line double '' jumps (110ms)

        ✓ Can handle '' jumps with no previous jump (54ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (86ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (87ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (91ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (105ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (113ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (140ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (163ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (181ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (195ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (108ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (142ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (60ms)


  Record and execute a macro

    ✓ Can record and execute (166ms)

    ✓ Can repeat last invoked macro (217ms)

    ✓ Can play back with count (336ms)

    ✓ Can play back with count, abort when a motion fails (353ms)

    ✓ Repeat change on contiguous lines (167ms)

    ✓ Append command to a macro (161ms)

    ✓ Can record Ctrl Keys and repeat (131ms)

[main 8:54:46 AM] update#setState checking for updates

    ✓ Can execute macros with dot commands properly (137ms)

[main 8:54:46 AM] update#setState idle



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (85ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (44ms)

    ✓ <C-c> can exit insert (74ms)

    ✓ <Esc> can exit insert (76ms)

    ✓ Stay in insert when entering characters (82ms)

    ✓ Can handle 'O' (89ms)

    ✓ Can handle 'i' (104ms)

    ✓ Can handle 'I' (71ms)

    ✓ Can handle 'a' (152ms)

    ✓ Can handle 'A' (76ms)

    ✓ Can handle '<C-w>' (73ms)

    ✓ Can handle <C-w> on leading whitespace (71ms)

    ✓ Can handle <C-w> at beginning of line (45ms)

    ✓ Can handle <C-u> (52ms)

    ✓ Can handle <C-u> on leading characters (80ms)

    ✓ Can handle <C-u> on leading whitespace (59ms)

    ✓ Correctly places the cursor after deleting the previous line break (67ms)

    ✓ will not remove leading spaces input by user (43ms)

    ✓ will remove closing bracket (59ms)

    ✓ Backspace works on whitespace only lines (75ms)

    ✓ Backspace works on end of whitespace only lines (136ms)

    ✓ Backspace works at beginning of file (40ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (106ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (76ms)

    ✓ Can perform insert command prefixed with count (77ms)

    ✓ Can perform append command prefixed with count (107ms)

    ✓ Can perform insert at start of line command prefixed with count (138ms)

    ✓ Can perform append to end of line command prefixed with count (61ms)

    ✓ Can perform change char (s) command prefixed with count (69ms)

    ✓ Can perform command prefixed with count with <C-[> (60ms)

    ✓ Can handle 'o' with count (118ms)

    ✓ Can handle 'O' with count (88ms)



  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (51ms)

    ✓ Can handle dw (48ms)

    ✓ Can handle dw (49ms)

    ✓ Can handle dw across lines (1) (59ms)

    ✓ Can handle dw across lines (2) (45ms)

    ✓ Can handle dd last line

    ✓ Can handle dd single line (38ms)

    ✓ Can handle dd (42ms)

    ✓ Can handle 3dd (51ms)

    ✓ Can handle 3dd off end of document (60ms)

    ✓ Can handle d2d (59ms)

    ✓ Can handle dd empty line (58ms)

    ✓ Can handle ddp (45ms)

    ✓ Can handle 'de' (60ms)

    ✓ Can handle 'de' then 'de' again (67ms)

    ✓ Can handle 'db' (43ms)

    ✓ Can handle 'db then 'db' again (62ms)

    ✓ Can handle 'dl' at end of line (78ms)

    ✓ Can handle 'dF' (60ms)

    ✓ Can handle 'dT' (76ms)

    ✓ Can handle 'd3' then <enter> (56ms)

    ✓ Can handle 'dj' (53ms)

    ✓ Can handle 'dk' (43ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (63ms)

    ✓ Can handle 'd]}' without deleting closing bracket (62ms)

    ✓ Can handle 'cw' (98ms)

    ✓ Can handle 'cw' without deleting following white spaces (42ms)

    ✓ Can handle 'c2w' (48ms)

    ✓ Can handle 'cw' without removing EOL (76ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (61ms)

    ✓ Can handle 'c]}' without deleting closing bracket (86ms)

    ✓ Can handle 's' (86ms)

    ✓ Can handle 'yiw' with correct cursor ending position (61ms)

    ✓ Can handle 'ciw' (116ms)

    ✓ Can handle 'ciw' on blanks (131ms)

    ✓ Can handle 'caw' (99ms)

    ✓ Can handle 'caw' on first letter (141ms)

    ✓ Can handle 'caw' on blanks (86ms)

    ✓ Can handle 'caw' on blanks (62ms)

    ✓ Can handle 'ci(' on first parentheses (67ms)

    ✓ Can handle 'ci(' with nested parentheses (59ms)

    ✓ Can handle 'ci(' backwards through nested parens (74ms)

    ✓ Can handle 'cib' on first parentheses (83ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (101ms)

    ✓ Can handle count prefixed 'ci)' (78ms)

    ✓ Can handle count prefixed 'ca)' (75ms)

    ✓ Can handle 'ca(' spanning multiple lines (54ms)

    ✓ Can handle 'cab' spanning multiple lines (54ms)

    ✓ Can handle 'ci{' spanning multiple lines (64ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (60ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (85ms)

    ✓ Can handle 'ci(' on the closing bracket (68ms)

    ✓ Can handle 'ciB' spanning multiple lines (47ms)

    ✓ will fail when ca( with no ()

    ✓ will fail when ca{ with no {} (49ms)

    ✓ will fail when caB with no {}

    ✓ Can handle 'ci[' spanning multiple lines (81ms)

    ✓ Can handle 'ci]' on first bracket (58ms)

    ✓ Can handle 'ca[' on first bracket (52ms)

    ✓ Can handle 'ca]' on first bracket (76ms)

    ✓ Can handle 'ci'' on first quote (66ms)

    ✓ Can handle 'ci'' inside quoted string (59ms)

    ✓ Can handle 'ci'' on closing quote (72ms)

    ✓ Can handle 'ci'' when string is ahead (50ms)

    ✓ Can handle 'ci"' on opening quote (68ms)

    ✓ Can handle 'ci"' starting behind the quoted word (42ms)

    ✓ Can handle 'ca"' starting behind the quoted word (50ms)

    ✓ Can handle 'ca"' starting on the opening quote (58ms)

    ✓ Can handle 'ci"' with escaped quotes (84ms)

    ✓ Can handle 'ci"' with a single escaped quote (49ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (78ms)

    ✓ Can handle 'ci"' with an escaped backslash (70ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (49ms)

    ✓ Can handle 'ca"' starting on the closing quote (62ms)

    ✓ Can handle 'ci"' with complex escape sequences (77ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (57ms)

    ✓ will fail when ca" ahead of quoted string (60ms)

    ✓ Can handle 'ca`' inside word (95ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (98ms)

    ✓ Can handle 'daw' on word with trailing spaces (81ms)

    ✓ Can handle 'daw' on word with leading spaces (124ms)

    ✓ Can handle 'daw' on word with numeric prefix (86ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (82ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (81ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (101ms)

    ✓ Can handle 'daw' on end of word (87ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (50ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (57ms)

    ✓ Can handle 'daw' on word at beginning of file (52ms)

    ✓ Can handle 'daw' on word at beginning of line (43ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (54ms)

    ✓ Can handle 'daw' around word at end of line (44ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (55ms)

    ✓ Can handle 'daW' around word at whitespace (52ms)

    ✓ Can handle 'daW' on word with trailing spaces (55ms)

    ✓ Can handle 'daW' on word with leading spaces (60ms)

    ✓ Can handle 'daW' on word with numeric prefix (41ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (100ms)

    ✓ Can handle 'daW' on beginning of word (68ms)

    ✓ Can handle 'daW' on end of one line (44ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (50ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (56ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (80ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (75ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (63ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (75ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (74ms)

    ✓ Can handle 'diw' on word (57ms)

    ✓ Can handle 'diw' on word with numeric prefix (55ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (86ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (74ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (107ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (62ms)

    ✓ Can handle 'diW' on word with trailing spaces (64ms)

    ✓ Can handle 'diW' on word with leading spaces (63ms)

    ✓ Can handle 'diW' on word with numeric prefix (43ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (139ms)

    ✓ Can handle 'diW' on beginning of word (93ms)

    ✓ Can handle d} (54ms)

    ✓ Can handle y} at beginning of line (43ms)

    ✓ Select sentence with trailing spaces (81ms)

    ✓ Select sentence with leading spaces (100ms)

    ✓ Select inner sentence with trailing spaces (53ms)

    ✓ Select inner sentence with leading spaces (86ms)

    ✓ Select spaces between sentences (125ms)

    ✓ Can handle 'df' (77ms)

    ✓ Can handle 'dt' (75ms)

    ✓ Can handle backspace (39ms)

    ✓ Can handle backspace across lines (45ms)

    ✓ Can handle A and backspace

    ✓ Can handle 'yy' without changing cursor position (57ms)

    ✓ Can handle 'P' after 'yy' (73ms)

    ✓ Can handle 'p' after 'yy' (53ms)

    ✓ Can handle 'P' after 'Nyy' (71ms)

    ✓ Can handle 'p' after 'Nyy' (77ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (48ms)

    ✓ Can handle 'gp' after 'yy' (57ms)

    ✓ Can handle 'gp' after 'Nyy' (220ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (52ms)

    ✓ Can handle 'gP' after 'yy' (53ms)

    ✓ Can handle 'gP' after 'Nyy' (57ms)

    ✓ Can handle ']p' after yy (78ms)

    ✓ Can handle ']p' after 'Nyy' (50ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (51ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (55ms)

    ✓ Can handle '[p' after yy (62ms)

    ✓ Can handle '[p' after 'Nyy' (54ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (62ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (81ms)

    ✓ Can handle 'p' after y'a (57ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (60ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (84ms)

    ✓ Can handle pasting in visual mode over selection (109ms)

    ✓ Can repeat w

    ✓ Can repeat p (67ms)

    ✓ I works correctly (120ms)

    ✓ gI works correctly (93ms)

    ✓ gi works correctly (124ms)

    ✓ `. works correctly (88ms)

    ✓ '. works correctly (80ms)

    ✓ g; works correctly (114ms)

    ✓ g, works correctly (95ms)

    ✓ g_ works correctly (67ms)

    ✓ 3g_ works correctly (65ms)

    ✓ Can handle space

    ✓ Can handle space (45ms)

    ✓ Undo 1 (295ms)

    ✓ Undo 2 (108ms)

    ✓ Undo cursor (102ms)

    ✓ Undo cursor 2 (100ms)

    ✓ Undo cursor 3 (97ms)

    ✓ Undo with movement first (126ms)

    ✓ Can handle 'U' (61ms)

    ✓ Can handle 'U' for multiple changes (99ms)

    ✓ Can handle 'U' for new line below (99ms)

    ✓ Can handle 'U' for new line above (103ms)

    ✓ Can handle 'U' for consecutive changes only (131ms)

    ✓ Can handle 'u' to undo 'U' (75ms)

    ✓ Can handle 'U' to undo 'U' (60ms)

    ✓ Redo (88ms)

    ✓ Redo (117ms)

    ✓ Redo (137ms)

    ✓ Can handle u (54ms)

    ✓ Can handle guw (45ms)

    ✓ Can handle gUw (62ms)

    ✓ Can handle u over line breaks (51ms)

    ✓ can handle s in visual mode (72ms)

    ✓ can handle p with selection (113ms)

    ✓ can handle P with selection (73ms)

    ✓ can handle p in visual to end of line (90ms)

    ✓ can repeat backspace twice (65ms)

    ✓ can delete linewise with d2G (63ms)

    ✓ can delete with + motion and count (58ms)

    ✓ can delete with - motion and count (104ms)

    ✓ can dE correctly (271ms)

    ✓ can dE correctly (45ms)

    ✓ can dE correctly (51ms)

    ✓ can ctrl-a correctly behind a word (43ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor) (42ms)

    ✓ can ctrl-a on word (65ms)

    ✓ can ctrl-a on a hex number (43ms)

    ✓ can ctrl-a on decimal (41ms)

    ✓ can ctrl-a with numeric prefix (42ms)

    ✓ can ctrl-a on a decimal (45ms)

    ✓ can ctrl-a on an octal  (58ms)

    ✓ Correctly increments in the middle of a number (45ms)

    ✓ can ctrl-x correctly behind a word

    ✓ can ctrl-a on an number with word before  (49ms)

    ✓ can ctrl-a on an number with word before and after  (40ms)

    ✓ can ctrl-x on a negative number with word before and after  (59ms)

    ✓ can ctrl-a properly on multiple lines (45ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number) (44ms)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (49ms)

    ✓ can <C-a> on word with - in front of it (41ms)

    ✓ can do Y (48ms)

    ✓ Can do S (75ms)

    ✓ / does not affect mark (57ms)

    ✓ / can search with regex (64ms)

    ✓ / can search with newline (82ms)

    ✓ / can search through multiple newlines (68ms)

    ✓ / matches ^ per line (56ms)

    ✓ / matches $ per line (84ms)

    ✓ /\c forces case insensitive search (64ms)

    ✓ /\C forces case sensitive search (58ms)

    ✓ <BS> deletes the last character in search in progress mode (58ms)

    ✓ <S-BS> deletes the last character in search in progress mode (48ms)

    ✓ <C-h> deletes the last character in search in progress mode (50ms)

    ✓ Can do C (57ms)

    ✓ Can do cit on a matching tag (277ms)

    ✓ Ignores cit on a non-matching tag (57ms)

    ✓ Ignores cit on a nested tag (76ms)

    ✓ Can do cit on a tag with an attribute tag (87ms)

    ✓ Can do cat on a matching tag (66ms)

    ✓ Can do cit on a multiline tag (73ms)

    ✓ Can do cit on a multiline tag with nested tags (152ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (66ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (93ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (79ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (104ms)

    ✓ can do cit with self closing tags (114ms)

    ✓ Respects indentation with cc (61ms)

    ✓ Resets cursor to indent end with cc (86ms)

    ✓ can handle 'cc' on empty line (68ms)

    ✓ cc copies linewise (70ms)

    ✓ Indent current line with correct Vim Mode (50ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (67ms)

    ✓ Can handle # on skipped words (69ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (119ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (129ms)

    ✓ cc on whitespace-only treats whitespace as indent (51ms)

    ✓ Can do cai (90ms)

    ✓ Can do cii (77ms)

    ✓ Can do caI (86ms)

    ✓ Can do dai (90ms)

    ✓ Can do dii (54ms)

    ✓ Can do daI (122ms)

    can handle gn

      ✓ gn selects the next match text (200ms)

      ✓ gn selects the current word at |hello (230ms)

      ✓ gn selects the current word at h|ello (241ms)

      ✓ gn selects the current word at hel|lo (242ms)

      ✓ gn selects the current word at hell|o (198ms)

      ✓ gn selects the next word at hello| (219ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (81ms)

      ✓ dgn deletes the current word when cursor is at |hello (76ms)

      ✓ dgn deletes the current word when cursor is at h|ello (66ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (66ms)

      ✓ dgn deletes the current word when cursor is at hell|o (162ms)

      ✓ dgn deletes the next word when cursor is at hello| (55ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (60ms)

      ✓ cgn deletes the current word when cursor is at |hello (70ms)

      ✓ cgn deletes the current word when cursor is at h|ello (90ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (70ms)

      ✓ cgn deletes the current word when cursor is at hell|o (77ms)

      ✓ cgn deletes the next word when cursor is at hello| (87ms)

    can handle gN

      ✓ gN selects the previous match text (198ms)

      ✓ gN selects the current word at hell|o (203ms)

      ✓ gN selects the current word at hel|lo (332ms)

      ✓ gN selects the current word at h|ello (297ms)

      ✓ gN selects the current word at |hello (227ms)

      ✓ gN selects the previous word at | hello (239ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (263ms)

      ✓ dgN deletes the current word when cursor is at hell|o (83ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (93ms)

      ✓ dgN deletes the current word when cursor is at h|ello (101ms)

      ✓ dgN deletes the current word when cursor is at |hello (110ms)

      ✓ dgN deletes the previous word when cursor is at | hello (101ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (105ms)

      ✓ cgN deletes the current word when cursor is at hell|o (82ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (103ms)

      ✓ cgN deletes the current word when cursor is at h|ello (91ms)

      ✓ cgN deletes the current word when cursor is at |hello (97ms)

      ✓ cgN deletes the previous word when cursor is at | hello (112ms)



  Mode Replace

    ✓ Can activate with <insert> from Insert mode (62ms)

    ✓ Can activate with R from Normal mode (42ms)

    ✓ Can handle R (59ms)

    ✓ Can handle R past current line (98ms)

    ✓ Can handle R and exit Replace Mode (80ms)

    ✓ Can handle R across lines (102ms)

    ✓ Can handle R across lines and exit Replace Mode (144ms)

    ✓ Can handle R with {count} (99ms)

    ✓ Can handle backspace (81ms)

    ✓ Can handle backspace (59ms)

    ✓ Can handle backspace across lines (126ms)

    ✓ Can handle arrows (51ms)

    ✓ Can handle . (88ms)

    ✓ Can handle . across lines (151ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (207ms)

    ✓ Can handle wd (98ms)

    ✓ Can handle x (157ms)

    ✓ Can handle x across a selection (103ms)

    ✓ Can do vwd in middle of sentence (132ms)

    ✓ Can do vwd in middle of sentence (316ms)

    ✓ Can do vwd multiple times (215ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (184ms)

    ✓ Can handle H key (67ms)

    ✓ handles case where we delete over a newline (216ms)

    ✓ handles change operator (256ms)

    ✓ Can do vat on multiple matching tags (122ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (151ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (111ms)

    ✓ Repeat-prefixed vat does not bleed below (78ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (61ms)

    ✓ Can do vi) on a matching parenthesis (75ms)

    ✓ Can do vi) on multiple matching parens (119ms)

    ✓ Can do va) on a matching parenthesis (65ms)

    ✓ Can do va) on multiple matching parens (80ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (64ms)

    ✓ Repeat-prefixed va) does not bleed below (80ms)

    ✓ Can do va} on a matching bracket as first character (60ms)

    ✓ Can do va} on multiple matching brackets (113ms)

    ✓ Can do vi( on a matching bracket near first character (62ms)

    ✓ Can do vi{ on outer pair of nested braces (77ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (76ms)

    ✓ Can do va] on multiple matching brackets (85ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (159ms)

    ✓ Repeat-prefixed vaf does not bleed below (82ms)

    ✓ vaf only expands to enclosing pairs (106ms)

    ✓ Can use . to repeat indent in visual (273ms)

    ✓ Can do v_x to delete to first char (85ms)

    ✓ Can do vg_x to delete to last char with no EOL (89ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (74ms)

    ✓ Can do v$x to delete to last char including EOL (65ms)

    ✓ Can do gv to reselect previous selection (99ms)

    Vim's EOL handling is weird

      ✓ delete through eol (81ms)

      ✓ join 2 lines by deleting through eol (122ms)

      ✓ d$ doesn't delete whole line (92ms)

      ✓ vd$ does delete whole line (85ms)

      ✓ Paste over selection copies the selection (86ms)

      ✓ Paste over selection copies the selection linewise (92ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (83ms)

      ✓ Can handle <down> key (63ms)

      ✓ Can handle <left> key (93ms)

      ✓ Can handle <right> key (54ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (71ms)

      ✓ Can handle 'vawd' on word with trailing spaces (57ms)

      ✓ Can handle 'vawd' on word with leading spaces (69ms)

      ✓ Can handle 'vawd' on word with numeric prefix (76ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (132ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (158ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (93ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (56ms)

      ✓ Can handle 'vaWd' on word with leading spaces (76ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (106ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (89ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (98ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (118ms)

      ✓ Can handle 'vaWd' on word with leading spaces (259ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (58ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (98ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (100ms)

      ✓ Can handle 'vawd' on word with trailing spaces (59ms)

      ✓ Can handle 'vawd' on word with leading spaces (96ms)

      ✓ Can handle 'vawd' on word with numeric prefix (74ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (111ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (151ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (77ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (98ms)

      ✓ Can handle 'vaWd' on word with leading spaces (67ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (102ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (105ms)

      ✓ Can handle 'Y' in visual mode (78ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (82ms)

      ✓ Select sentence with leading spaces in visual mode (115ms)

      ✓ Select multiple sentences in visual mode (103ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (71ms)

      ✓ Select inner sentence with leading spaces in visual mode (122ms)

      ✓ Select spaces between sentences in visual mode (135ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (74ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (82ms)

      ✓ Can do vat on a matching tag (87ms)

    handles replace in visual mode

      ✓ Can do a single line replace (64ms)

      ✓ Can do a multi line replace (82ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (93ms)

      ✓ D deletes the current line (70ms)

    handles indent blocks in visual mode

      ✓ Can do vai (91ms)

      ✓ Can do vii (68ms)

      ✓ Doesn't naively select the next line (94ms)

      ✓ Searches backwards if cursor line is empty (76ms)

      ✓ Can do vaI (125ms)

    visualstar

      ✓ Works with * (60ms)

      ✓ Works with # (78ms)

    search works in visual mode

      ✓ Works with / (134ms)

      ✓ Works with ? (120ms)

      ✓ Selects correct range (204ms)

    X will delete linewise

      ✓ normal selection (76ms)

      ✓ normal selection (67ms)

    C will delete linewise

      ✓ normal selection (111ms)

      ✓ normal selection (69ms)

    R will delete linewise

      ✓ normal selection (62ms)

      ✓ normal selection (69ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (119ms)

      ✓ upward selection (100ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (80ms)

      ✓ multiline indent bottom up selection (99ms)

      ✓ repeat multiline indent top down selection (99ms)

      ✓ repeat multiline indent bottom up selection (88ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (78ms)

      ✓ multiline outdent bottom up selection (57ms)

      ✓ repeat multiline outdent top down selection (103ms)

      ✓ repeat multiline outdent bottom up selection (109ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (153ms)

    vi{ will go to end of second to last line

      ✓ select (80ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      1) gv selects the last pasted text (which is shorter than original)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      2) gv selects the last pasted text (which is longer than original)

      ✓ gv selects the last pasted text (multiline) (225ms)

    can handle gn

      ✓ gn selects the next match text (481ms)

      ✓ gn selects the current word at |hello (267ms)

      ✓ gn selects the current word at h|ello (260ms)

      ✓ gn selects the current word at hel|lo (242ms)

      ✓ gn selects the next word at hell|o (218ms)

      ✓ gn selects the next word at hello| (226ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (74ms)

      ✓ multiline insert from top down selection (64ms)

      ✓ skips blank lines (61ms)

    can append text with A

      ✓ multiline append from bottom up selection (86ms)

      ✓ multiline append from top down selection (52ms)

      ✓ skips blank lines (92ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (111ms)

    ✓ Can handle A backwards select (69ms)

    ✓ Can handle I forward select (82ms)

    ✓ Can handle I backwards select (85ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (98ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (82ms)

    ✓ Can handle c forward select (61ms)

    ✓ Can handle c backwards select (81ms)

    ✓ Can handle C (99ms)

    ✓ Can do a multi line replace (82ms)

    ✓ Can handle 'D' (62ms)

    ✓ Can handle 'gj' (74ms)

    ✓ Properly add to end of lines j then $ (104ms)

    ✓ Properly add to end of lines $ then j (81ms)

    ✓ o works in visual block mode (67ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (154ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (374ms)

    ✓ Can handle wd (142ms)

    ✓ Can handle x (125ms)

    ✓ Can handle U (105ms)

    ✓ Can handle x across a selection (110ms)

    ✓ Can do vwd in middle of sentence (137ms)

    ✓ Can do vwd in middle of sentence (163ms)

    ✓ Can do vwd multiple times (144ms)

    ✓ Can handle U across a selection (121ms)

    ✓ Can handle U across a selection in reverse order (93ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (112ms)

    ✓ handles case where we delete over a newline (153ms)

    ✓ handles change operator (136ms)

    ✓ Vp updates register content (66ms)

    ✓ Vp does not append unnecessary newlines (first line) (86ms)

    ✓ Vp does not append unnecessary newlines (middle line) (58ms)

    ✓ Vp does not append unnecessary newlines (last line) (75ms)

    Vim's EOL handling is weird

      ✓ delete through eol (86ms)

      ✓ join 2 lines by deleting through eol (98ms)

      ✓ d$ doesn't delete whole line (92ms)

      ✓ vd$ does delete whole line (101ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (66ms)

      ✓ Can handle <down> key (89ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (49ms)

      ✓ Can handle d key (98ms)

      ✓ Can handle d key (85ms)

      ✓ Can handle d key (98ms)

      ✓ can handle 'c' (121ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (100ms)

      ✓ Can do a multi visual line replace (102ms)

      ✓ Can do a multi visual line replace from the bottom up (324ms)

    search works in visual line mode

      ✓ Works with / (74ms)

      ✓ Works with ? (82ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (157ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (79ms)

      ✓ linewise visual put works also in the end of document (59ms)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      3) gv selects the last pasted text (which is shorter than original)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      4) gv selects the last pasted text (which is longer than original)

      ✓ gv selects the last pasted text (multiline) (226ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (67ms)

      ✓ multiline insert from top down selection (77ms)

      ✓ skips blank lines (51ms)

    can append text with A

      ✓ multiline append from bottom up selection (65ms)

      ✓ multiline append from top down selection (51ms)

      ✓ skips blank lines (81ms)



  Mode Normal

    ✓ Can handle 'x' (49ms)

    ✓ Can handle 'Nx' (44ms)

    ✓ Can handle 'Nx' and paste (64ms)

    ✓ Can handle 'x' at end of line (115ms)

    ✓ Can handle 'Ns' (53ms)

    ✓ Can handle 'Ns' at end of line (60ms)

    ✓ Can handle '<Del>' (40ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (61ms)

    ✓ Can handle '<Del>' at end of line (112ms)

    ✓ Can handle 'cc' (59ms)

    ✓ Can handle 'Ncc' (78ms)

    ✓ Can handle 'yy' (100ms)

    ✓ Can handle 'D' (61ms)

    ✓ Can handle 'D' on empty lines (41ms)

    ✓ Can handle 'DD' (58ms)

    ✓ Can handle 'C' (98ms)

    ✓ Can handle 'NC' (80ms)

    ✓ Can handle 'r' (48ms)

    ✓ Can handle '<Count>r' (56ms)

    ✓ Can handle '<Count>r' (39ms)

    ✓ Can handle 'r' after 'dd' (96ms)

    ✓ Can handle 'J' once (53ms)

    ✓ Can handle 'J' twice (111ms)

    ✓ Can handle 'J' with empty last line (53ms)

    ✓ Can handle 'J's with multiple empty last lines (125ms)

    ✓ Can handle 'J' with leading white space on next line (44ms)

    ✓ Can handle 'J' with only white space on next line

    ✓ Can handle 'J' with TWO indented lines (63ms)

    ✓ Can handle 'J' with ')' first character on next line (55ms)

    ✓ Can handle 'J' with a following delete (60ms)

    ✓ Can handle 'J' in Visual Line mode (64ms)

    ✓ Can handle 'gJ' once (51ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (57ms)

    ✓ Can handle '~' (50ms)

    ✓ Can handle 'g~{motion}' (67ms)

    ✓ Can handle '<BS>' in insert mode (48ms)

    ✓ Can handle undo with P (118ms)

    ✓ Can handle 'ge' in multiple lines case1 (102ms)

    ✓ Can handle 'ge' in multiple lines case2 (86ms)


  Dot Operator

    ✓ Can repeat '~' with <num> (42ms)

    ✓ Can repeat '~' with dot (65ms)

    ✓ Can repeat 'x' (79ms)

    ✓ Can repeat 'J' (57ms)

    ✓ Can handle dot with A (87ms)

    ✓ Can handle dot with I (140ms)

    ✓ Can repeat actions that require selections (82ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (82ms)

    ✓ Can repeat insert change and '<C-t>' (87ms)

    ✓ Can repeat change by `<C-a>` (101ms)

    ✓ Only one arrow key can be repeated in Insert Mode (114ms)

    ✓ Cached content change will be cleared by arrow keys (105ms)


  Matching Bracket (%)

    ✓ before opening parenthesis (48ms)

    ✓ inside parenthesis (46ms)

    ✓ nested parenthesis beginning (38ms)

    ✓ nested parenthesis end (311ms)

    ✓ nested bracket and parenthesis beginning (38ms)

    ✓ nested bracket, parenthesis, braces beginning

    ✓ nested bracket, parenthesis, braces end (43ms)



  Motions in Normal Mode

    ✓ Can handle [( (73ms)

    ✓ Can handle nested [( (47ms)

    ✓ Can handle <number>[( (96ms)

    ✓ Can handle [( and character under cursor exclusive (58ms)

    ✓ Can handle ]) (45ms)

    ✓ Can handle nested ]) (67ms)

    ✓ Can handle <number>]) (56ms)

    ✓ Can handle ]) and character under cursor exclusive (61ms)

    ✓ Can handle [{ (43ms)

    ✓ Can handle nested [{ (97ms)

    ✓ Can handle <number>[{ (82ms)

    ✓ Can handle [{ and character under cursor exclusive (49ms)

    ✓ Can handle ]} (54ms)

    ✓ Can handle nested ]} (52ms)

    ✓ Can handle <number>]} (47ms)

    ✓ Can handle ]} and character under cursor exclusive (59ms)

    ✓ Can handle 'ge' (57ms)

    ✓ Can handle 'gg' (75ms)

    ✓ Can handle 'gg' to first non blank char on random line (55ms)

    ✓ Can handle 'gg' to first non blank char on first line (51ms)

    ✓ Retain same column when moving up/down (59ms)

    ✓ Can handle <enter> (97ms)

    ✓ $ always keeps cursor on EOL (52ms)

    ✓ Can handle $ with a count (44ms)

    ✓ Can handle $ with a count at end of file (41ms)

    ✓ Can handle <end> with a count (57ms)

    ✓ Can handle <D-right> with a count

    ✓ Can handle 'f' (56ms)

    ✓ Can handle 'f' twice (60ms)

    ✓ Can handle 'F' (40ms)

    ✓ Can handle 'F' twice (69ms)

    ✓ Can handle 't' (56ms)

    ✓ Can handle 't' twice (53ms)

    ✓ Can handle 'T' (62ms)

    ✓ Can handle 'T' twice (84ms)

    ✓ Can run a forward search (54ms)

    ✓ Can run a forward and find next search (58ms)

    ✓ Can run a reverse search (70ms)

    ✓ Can run a reverse and find next search (104ms)

    ✓ maintains column position correctly (46ms)

    ✓ maintains column position correctly with $ (40ms)

    ✓ Can handle G  (43ms)

    ✓ Can handle G with number prefix (51ms)

    ✓ Can handle G with number prefix

    ✓ Can handle gg (51ms)

    ✓ Can handle gg with number prefix (39ms)

    ✓ Can handle 0 (56ms)

    ✓ Can handle 0 as part of a repeat (72ms)

    ✓ Can handle g* (43ms)

    ✓ Can handle g*n (44ms)

    ✓ Can handle * (43ms)

    ✓ Can handle **

    ✓ Can handle # on whitespace (107ms)

    ✓ Can handle # on EOL (53ms)

    ✓ Can handle g# (85ms)

    ✓ Can handle g#n (105ms)

    ✓ Can handle # (125ms)

    ✓ Can handle # already on the word (113ms)

    ✓ Can handle ## (66ms)

    ✓ Can handle | (69ms)

    ✓ Can handle <number> | (92ms)

    ✓ Can handle + (47ms)

    ✓ Can handle + indent (59ms)

    ✓ Can handle + with count prefix (44ms)

    ✓ Can handle -

    ✓ Can handle - indent (38ms)

    ✓ Can handle - with count prefix (39ms)

    ✓ Can handle _ (43ms)

    ✓ Can handle _ with count prefix (39ms)

    ✓ Can handle g_ (52ms)

    ✓ Can handle g_ with count prefix (80ms)

    ✓ Can handle <up> key (83ms)

    ✓ Can handle <down> key (60ms)

    ✓ Can handle <left> key (45ms)

    ✓ Can handle <right> key (57ms)



  basic motion

    ✓ char right: should move one column right

    ✓ char right

    ✓ char left: should move cursor one column left
    ✓ char left: left-most column should stay at the same location

    ✓ line down: should move cursor one line down

    ✓ line down: bottom-most line should stay at the same location

    ✓ line begin

    ✓ line end

    ✓ document begin

    ✓ document end

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    line up
      ✓ should move cursor one line up
      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character
    ✓ last line begin cursor on first non-blank character
    word right
      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word

      ✓ first word should move to previous line, stops on empty line

      ✓ first word should move to previous line, skips whitespace only line

    WORD right

      ✓ move to WORD right

      ✓ last WORD should move to next line

      ✓ last WORD should move to next line stops on empty line

      ✓ last WORD should move to next line skips whitespace only line

    WORD left

      ✓ move cursor WORD left across spaces

      ✓ move cursor WORD left within WORD

      ✓ first WORD should move to previous line, beginning of last WORD

      ✓ first WORD should move to previous line, stops on empty line

      ✓ first WORD should move to previous line, skips whitespace only line

    end of word right

      ✓ move to end of current word right

      ✓ move to end of next word right

      ✓ end of last word should move to next line

      ✓ end of last word should move to next line skips empty line

      ✓ end of last word should move to next line skips whitespace only line

    end of WORD right

      ✓ move to end of current WORD right

      ✓ move to end of next WORD right

      ✓ end of last WORD should move to next line

      ✓ end of last WORD should move to next line skips empty line

      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces

    sentence backward

      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside

      ✓ current sentence begin when it's not the same as current paragraph begin

      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally

      ✓ move down longer paragraph

      ✓ move down starting inside empty line

      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph
      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (45ms)

        ✓ l wraps to next line (330ms)

        ✓ <left> wraps to previous line (51ms)

        ✓ <right> wraps to next line (45ms)

      insert mode

        ✓ <left> wraps to previous line (47ms)

        ✓ <right> once goes to end of line (54ms)

        ✓ <right> twice wraps to next line (44ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (38ms)

        ✓ l does not wrap to next line (47ms)

        ✓ <left> does not wrap to previous line (43ms)

        ✓ <right> does not wrap to next line (79ms)

      insert mode

        ✓ <left> does not wrap to previous line (64ms)

        ✓ <right> does not wrap to next line (56ms)



  Multicursor

    ✓ can add multiple cursors below (125ms)

    ✓ can add multiple cursors above (123ms)



  numeric string

    ✓ fails on non-string

    ✓ handles hex round trip

    ✓ handles decimal round trip

    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (201ms)

    ✓ gcj comments in current and next line (211ms)

    ✓ block comment with motion (330ms)

    ✓ block comment in Visual Mode (210ms)



  format operator

    ✓ == formats current line (1710ms)

    ✓ =$ formats entire line (115ms)

    ✓ =j formats two lines (76ms)

    ✓ 3=k formats three lines (376ms)

    ✓ =gg formats to top of file (89ms)

    ✓ =G formats to bottom of file (148ms)

    ✓ =ip formats paragraph (89ms)

    ✓ format in visual mode (88ms)



  put operator

    ✓ basic put test (85ms)

    ✓ test yy end of line (89ms)

    ✓ test yy first line (84ms)

    ✓ test yy middle line (62ms)

    ✓ test yy with correct positon movement (61ms)

    ✓ test visual block single line yank p (74ms)

    ✓ test visual block single line yank P (69ms)

    ✓ test visual block single line delete p (60ms)

    ✓ test visual block single line delete P (87ms)


  shift operator

    ✓ basic shift left test (58ms)

    ✓ shift left goto end test (58ms)

    ✓ shift left goto line test (55ms)

    ✓ shift right goto end test (61ms)

    ✓ shift right goto line test (52ms)



  easymotion plugin

    ✓ Can handle s move (105ms)

    ✓ Can handle 2s move (120ms)

    ✓ Can handle f move (73ms)

    ✓ Can handle 2f move (68ms)

    ✓ Can handle F move (66ms)

    ✓ Can handle 2F move (74ms)

    ✓ Can handle t move (57ms)

    ✓ Can handle bd-t move (74ms)

    ✓ Can handle 2t move (114ms)

    ✓ Can handle bd-t2 move (85ms)

    ✓ Can handle T move (68ms)

    ✓ Can handle 2T move (75ms)

    ✓ Can handle w move (82ms)

    ✓ Can handle bd-w move (75ms)

    ✓ Can handle b move (68ms)

    ✓ Can handle e move (80ms)

    ✓ Can handle bd-e move (130ms)

    ✓ Can handle ge move (62ms)

    ✓ Can handle n-char move (66ms)

    ✓ Can handle j move (77ms)

    ✓ Can handle k move (104ms)

    ✓ Can handle bd-jk move (1) (75ms)

    ✓ Can handle bd-jk move (2) (94ms)

    ✓ Can handle lineforward move (1) (105ms)

    ✓ Can handle lineforward move (2) (52ms)

    ✓ Can handle linebackward move (1) (93ms)

    ✓ Can handle linebackward move (2) (114ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode



  sneak plugin

    ✓ Can handle s motion (75ms)

    ✓ Can handle S motion (121ms)

    ✓ Can handle <operator>z motion (103ms)

    ✓ Can handle <operator>Z motion (99ms)

    ✓ Can handle s; motion (74ms)

    ✓ Can handle s, motion (84ms)

    ✓ Can handle S; motion (59ms)

    ✓ Can handle S, motion (65ms)



  surround plugin

    ✓ 'ysiw)' surrounds word without space (110ms)

    ✓ 'ysiw(' surrounds word with space (86ms)

    ✓ 'ysw)' surrounds word without space (79ms)

    ✓ 'ysw(' surrounds word with space (107ms)

    ✓ 'ysaw)' surrounds word without space (108ms)

    ✓ 'ysaw(' surrounds word with space (121ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (117ms)

    ✓ 'ysiw<' surrounds word with tags (80ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (70ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (385ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (80ms)

    ✓ change surround (99ms)

    ✓ change surround with alias (89ms)

    ✓ change surround to tags (87ms)

    ✓ delete surround (100ms)

    ✓ delete surround with alias (78ms)

    ✓ delete surround with tags (89ms)

    ✓ change surround brackets at end of line (116ms)

    ✓ changing brackets with surround works again (96ms)

    ✓ change surround with tags that contain an attribute and preserve them (151ms)

    ✓ change surround with tags that contain an attribute and remove them (100ms)



  register

    ✓ Can copy to a register (80ms)

    ✓ Can use two registers together (133ms)

    ✓ Can use black hole register (61ms)

    ✓ System clipboard works with chinese characters (65ms)

    ✓ Yank stores text in Register '0' (200ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (191ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (130ms)

    ✓ Register '1'-'9' stores delete content (215ms)

    ✓ "A appends linewise text to "a (186ms)

    ✓ "A appends character wise text to "a (167ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (73ms)

      ✓ Can access '+' (clipboard) register (81ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (42ms)

    ✓ Can repeat reversed F<character> (95ms)

    ✓ Can repeat t<character>

    ✓ Can repeat N times reversed t<character>


  text editor

    ✓ insert 'Hello World'

    ✓ replace 'World' with 'Foo Bar'

    ✓ delete `Hello`

    ✓ delete the whole line

    ✓ try to read lines that don't exist





  1061 passing (3m)

  4 failing



  1) Mode Visual
       replace text in characterwise visual-mode with characterwise register content
         gv selects the last pasted text (which is shorter than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  2) Mode Visual
       replace text in characterwise visual-mode with characterwise register content
         gv selects the last pasted text (which is longer than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  3) Mode Visual Line
       replace text in linewise visual-mode with linewise register content
         gv selects the last pasted text (which is shorter than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  4) Mode Visual Line
       replace text in linewise visual-mode with linewise register content
         gv selects the last pasted text (which is longer than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>






Tests exited with code: 1
The command "npm test --silent" exited with 1.



Done. Your build exited with 1.
npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 8:54:16 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive
    ✓ couldActionApply 1D keys negative

    ✓ couldActionApply 2D keys positive

    ✓ couldActionApply 2D keys negative

    ✓ doesActionApply 1D keys positive

    ✓ doesActionApply 1D keys negative

    ✓ doesActionApply 2D keys positive

    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (142ms)

    ✓ add empty command (43ms)

    ✓ add command over configuration.history

    ✓ add command that exists in history (47ms)

    ✓ file system (42ms)

    ✓ change configuration.history (72ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (117ms)

    ✓ Sort whole file, dsc (98ms)

    ✓ Sort range, asc (120ms)

    ✓ Sort range, dsc (134ms)



  Horizontal split

    ✓ Run :sp (67ms)

    ✓ Run :split (58ms)

    ✓ Run :new (56ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args
    ✓ ignores trailing white space
    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input


  :quit args parser
    ✓ has all aliases
    ✓ can parse empty args
    ✓ ignores trailing white space

    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter

    ✓ can parse flag KeepPreviousFlags



  :write args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name
    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty


  Basic substitute

    ✓ Replace single word once (59ms)

    ✓ Replace with `g` flag (62ms)

    ✓ Replace with flags AND count (113ms)

    ✓ Replace with `c` flag (55ms)

    ✓ Replace with `gc` flag (105ms)

    ✓ Replace across all lines (98ms)

    ✓ Replace on specific single line (133ms)

    ✓ Replace on current line using dot (95ms)

    ✓ Replace single relative line using dot and plus (127ms)

    ✓ Replace across specific line range (93ms)

    ✓ Replace across relative line range using dot, plus, and minus (82ms)

    ✓ Replace across relative line range using numLines+colon shorthand (96ms)

    ✓ Repeat replacement across relative line range (115ms)

    ✓ Replace with range AND count but no flags (95ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (67ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (108ms)

    ✓ Undocumented: trailing operators use 1 as RHS (87ms)

    ✓ Replace specific single equal lines (122ms)

    ✓ Replace current line with no active selection (94ms)

    ✓ Replace text in selection (138ms)

    ✓ Substitute support marks (120ms)

    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (59ms)

      ✓ Replace with `g` flag inverts global flag (48ms)

      ✓ Replace with `c` flag inverts global flag (91ms)

      ✓ Replace multiple lines (108ms)

      ✓ Replace across specific lines (80ms)

      ✓ Replace current line with no active selection (100ms)

      ✓ Replace text in selection (110ms)

      ✓ Substitute support marks (85ms)

      ✓ Substitute with escaped delimiter (65ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (224ms)

      ✓ Substitute with previous search using # (194ms)

      ✓ Substitute with previous search using / (248ms)

      ✓ Substitute with parameters should update search state (128ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (268ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (141ms)

      ✓ Substitute repeat previous should accept flags (96ms)

      ✓ Substitute with empty search string should use last searched pattern (263ms)



  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (39ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file

    ✓ tabe with absolute path when not in workspace opens file (76ms)

    ✓ tabe with current file path does nothing (64ms)



  Vertical split

    ✓ Run :vs (72ms)

    ✓ Run :vsp (61ms)

    ✓ Run :vsplit (53ms)

    ✓ Run :vnew (234ms)

    ✓ Run :vne (199ms)



  Basic write-quit

    ✓ Run write and quit (111ms)



  Provide line completions

    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (46ms)

      ✓ Can complete lines in file with different indentation (51ms)

      ✓ Returns no completions for unmatched line (57ms)



  Configuration

    ✓ remappings are normalized

    ✓ Can handle long key chords (51ms)

    ✓ whichwrap is parsed into wrapKeys



  Notation

    ✓ Normalize



  Remapper

    ✓ getLongestedRemappedKeySequence (102ms)

    ✓ getMatchingRemap (198ms)

    ✓ jj -> <Esc> through modehandler (107ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ 0 -> :wq through modehandler (105ms)

    ✓ leader, w -> closeActiveEditor in normal mode through modehandler (91ms)

    ✓ leader, c -> closeActiveEditor in visual mode through modehandler (107ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (172ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (164ms)

    ✓ jj -> <Esc> after ciw operator through modehandler (187ms)



  Error

    ✓ error code has message



  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers



  Record and navigate jumps

    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim
      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (78ms)

        ✓ Can track jumps for keys: GggG (67ms)

        ✓ Can track jumps for keys: GggGgg (67ms)

        ✓ Can track jumps for keys: /b<CR>n (112ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (73ms)

        ✓ Can track jumps for keys: j%% (50ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (46ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (55ms)

        ✓ Can track jumps for keys: j%%<C-o>% (64ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (65ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (83ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (94ms)

        ✓ Can enter number to jump back multiple times (60ms)

        ✓ Can track one-line `` jumps (93ms)

        ✓ Can track one-line double `` jumps (106ms)

        ✓ Can track one-line '' jumps (106ms)

        ✓ Can track one-line double '' jumps (110ms)

        ✓ Can handle '' jumps with no previous jump (54ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (86ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (87ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (91ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (105ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (113ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (140ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (163ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (181ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (195ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (108ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (142ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (60ms)


  Record and execute a macro

    ✓ Can record and execute (166ms)

    ✓ Can repeat last invoked macro (217ms)

    ✓ Can play back with count (336ms)

    ✓ Can play back with count, abort when a motion fails (353ms)

    ✓ Repeat change on contiguous lines (167ms)

    ✓ Append command to a macro (161ms)

    ✓ Can record Ctrl Keys and repeat (131ms)

[main 8:54:46 AM] update#setState checking for updates

    ✓ Can execute macros with dot commands properly (137ms)

[main 8:54:46 AM] update#setState idle



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (85ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (44ms)

    ✓ <C-c> can exit insert (74ms)

    ✓ <Esc> can exit insert (76ms)

    ✓ Stay in insert when entering characters (82ms)

    ✓ Can handle 'O' (89ms)

    ✓ Can handle 'i' (104ms)

    ✓ Can handle 'I' (71ms)

    ✓ Can handle 'a' (152ms)

    ✓ Can handle 'A' (76ms)

    ✓ Can handle '<C-w>' (73ms)

    ✓ Can handle <C-w> on leading whitespace (71ms)

    ✓ Can handle <C-w> at beginning of line (45ms)

    ✓ Can handle <C-u> (52ms)

    ✓ Can handle <C-u> on leading characters (80ms)

    ✓ Can handle <C-u> on leading whitespace (59ms)

    ✓ Correctly places the cursor after deleting the previous line break (67ms)

    ✓ will not remove leading spaces input by user (43ms)

    ✓ will remove closing bracket (59ms)

    ✓ Backspace works on whitespace only lines (75ms)

    ✓ Backspace works on end of whitespace only lines (136ms)

    ✓ Backspace works at beginning of file (40ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (106ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (76ms)

    ✓ Can perform insert command prefixed with count (77ms)

    ✓ Can perform append command prefixed with count (107ms)

    ✓ Can perform insert at start of line command prefixed with count (138ms)

    ✓ Can perform append to end of line command prefixed with count (61ms)

    ✓ Can perform change char (s) command prefixed with count (69ms)

    ✓ Can perform command prefixed with count with <C-[> (60ms)

    ✓ Can handle 'o' with count (118ms)

    ✓ Can handle 'O' with count (88ms)



  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (51ms)

    ✓ Can handle dw (48ms)

    ✓ Can handle dw (49ms)

    ✓ Can handle dw across lines (1) (59ms)

    ✓ Can handle dw across lines (2) (45ms)

    ✓ Can handle dd last line

    ✓ Can handle dd single line (38ms)

    ✓ Can handle dd (42ms)

    ✓ Can handle 3dd (51ms)

    ✓ Can handle 3dd off end of document (60ms)

    ✓ Can handle d2d (59ms)

    ✓ Can handle dd empty line (58ms)

    ✓ Can handle ddp (45ms)

    ✓ Can handle 'de' (60ms)

    ✓ Can handle 'de' then 'de' again (67ms)

    ✓ Can handle 'db' (43ms)

    ✓ Can handle 'db then 'db' again (62ms)

    ✓ Can handle 'dl' at end of line (78ms)

    ✓ Can handle 'dF' (60ms)

    ✓ Can handle 'dT' (76ms)

    ✓ Can handle 'd3' then <enter> (56ms)

    ✓ Can handle 'dj' (53ms)

    ✓ Can handle 'dk' (43ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (63ms)

    ✓ Can handle 'd]}' without deleting closing bracket (62ms)

    ✓ Can handle 'cw' (98ms)

    ✓ Can handle 'cw' without deleting following white spaces (42ms)

    ✓ Can handle 'c2w' (48ms)

    ✓ Can handle 'cw' without removing EOL (76ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (61ms)

    ✓ Can handle 'c]}' without deleting closing bracket (86ms)

    ✓ Can handle 's' (86ms)

    ✓ Can handle 'yiw' with correct cursor ending position (61ms)

    ✓ Can handle 'ciw' (116ms)

    ✓ Can handle 'ciw' on blanks (131ms)

    ✓ Can handle 'caw' (99ms)

    ✓ Can handle 'caw' on first letter (141ms)

    ✓ Can handle 'caw' on blanks (86ms)

    ✓ Can handle 'caw' on blanks (62ms)

    ✓ Can handle 'ci(' on first parentheses (67ms)

    ✓ Can handle 'ci(' with nested parentheses (59ms)

    ✓ Can handle 'ci(' backwards through nested parens (74ms)

    ✓ Can handle 'cib' on first parentheses (83ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (101ms)

    ✓ Can handle count prefixed 'ci)' (78ms)

    ✓ Can handle count prefixed 'ca)' (75ms)

    ✓ Can handle 'ca(' spanning multiple lines (54ms)

    ✓ Can handle 'cab' spanning multiple lines (54ms)

    ✓ Can handle 'ci{' spanning multiple lines (64ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (60ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (85ms)

    ✓ Can handle 'ci(' on the closing bracket (68ms)

    ✓ Can handle 'ciB' spanning multiple lines (47ms)

    ✓ will fail when ca( with no ()

    ✓ will fail when ca{ with no {} (49ms)

    ✓ will fail when caB with no {}

    ✓ Can handle 'ci[' spanning multiple lines (81ms)

    ✓ Can handle 'ci]' on first bracket (58ms)

    ✓ Can handle 'ca[' on first bracket (52ms)

    ✓ Can handle 'ca]' on first bracket (76ms)

    ✓ Can handle 'ci'' on first quote (66ms)

    ✓ Can handle 'ci'' inside quoted string (59ms)

    ✓ Can handle 'ci'' on closing quote (72ms)

    ✓ Can handle 'ci'' when string is ahead (50ms)

    ✓ Can handle 'ci"' on opening quote (68ms)

    ✓ Can handle 'ci"' starting behind the quoted word (42ms)

    ✓ Can handle 'ca"' starting behind the quoted word (50ms)

    ✓ Can handle 'ca"' starting on the opening quote (58ms)

    ✓ Can handle 'ci"' with escaped quotes (84ms)

    ✓ Can handle 'ci"' with a single escaped quote (49ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (78ms)

    ✓ Can handle 'ci"' with an escaped backslash (70ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (49ms)

    ✓ Can handle 'ca"' starting on the closing quote (62ms)

    ✓ Can handle 'ci"' with complex escape sequences (77ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (57ms)

    ✓ will fail when ca" ahead of quoted string (60ms)

    ✓ Can handle 'ca`' inside word (95ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (98ms)

    ✓ Can handle 'daw' on word with trailing spaces (81ms)

    ✓ Can handle 'daw' on word with leading spaces (124ms)

    ✓ Can handle 'daw' on word with numeric prefix (86ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (82ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (81ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (101ms)

    ✓ Can handle 'daw' on end of word (87ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (50ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (57ms)

    ✓ Can handle 'daw' on word at beginning of file (52ms)

    ✓ Can handle 'daw' on word at beginning of line (43ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (54ms)

    ✓ Can handle 'daw' around word at end of line (44ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (55ms)

    ✓ Can handle 'daW' around word at whitespace (52ms)

    ✓ Can handle 'daW' on word with trailing spaces (55ms)

    ✓ Can handle 'daW' on word with leading spaces (60ms)

    ✓ Can handle 'daW' on word with numeric prefix (41ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (100ms)

    ✓ Can handle 'daW' on beginning of word (68ms)

    ✓ Can handle 'daW' on end of one line (44ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (50ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (56ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (80ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (75ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (63ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (75ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (74ms)

    ✓ Can handle 'diw' on word (57ms)

    ✓ Can handle 'diw' on word with numeric prefix (55ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (86ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (74ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (107ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (62ms)

    ✓ Can handle 'diW' on word with trailing spaces (64ms)

    ✓ Can handle 'diW' on word with leading spaces (63ms)

    ✓ Can handle 'diW' on word with numeric prefix (43ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (139ms)

    ✓ Can handle 'diW' on beginning of word (93ms)

    ✓ Can handle d} (54ms)

    ✓ Can handle y} at beginning of line (43ms)

    ✓ Select sentence with trailing spaces (81ms)

    ✓ Select sentence with leading spaces (100ms)

    ✓ Select inner sentence with trailing spaces (53ms)

    ✓ Select inner sentence with leading spaces (86ms)

    ✓ Select spaces between sentences (125ms)

    ✓ Can handle 'df' (77ms)

    ✓ Can handle 'dt' (75ms)

    ✓ Can handle backspace (39ms)

    ✓ Can handle backspace across lines (45ms)

    ✓ Can handle A and backspace

    ✓ Can handle 'yy' without changing cursor position (57ms)

    ✓ Can handle 'P' after 'yy' (73ms)

    ✓ Can handle 'p' after 'yy' (53ms)

    ✓ Can handle 'P' after 'Nyy' (71ms)

    ✓ Can handle 'p' after 'Nyy' (77ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (48ms)

    ✓ Can handle 'gp' after 'yy' (57ms)

    ✓ Can handle 'gp' after 'Nyy' (220ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (52ms)

    ✓ Can handle 'gP' after 'yy' (53ms)

    ✓ Can handle 'gP' after 'Nyy' (57ms)

    ✓ Can handle ']p' after yy (78ms)

    ✓ Can handle ']p' after 'Nyy' (50ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (51ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (55ms)

    ✓ Can handle '[p' after yy (62ms)

    ✓ Can handle '[p' after 'Nyy' (54ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (62ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (81ms)

    ✓ Can handle 'p' after y'a (57ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (60ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (84ms)

    ✓ Can handle pasting in visual mode over selection (109ms)

    ✓ Can repeat w

    ✓ Can repeat p (67ms)

    ✓ I works correctly (120ms)

    ✓ gI works correctly (93ms)

    ✓ gi works correctly (124ms)

    ✓ `. works correctly (88ms)

    ✓ '. works correctly (80ms)

    ✓ g; works correctly (114ms)

    ✓ g, works correctly (95ms)

    ✓ g_ works correctly (67ms)

    ✓ 3g_ works correctly (65ms)

    ✓ Can handle space

    ✓ Can handle space (45ms)

    ✓ Undo 1 (295ms)

    ✓ Undo 2 (108ms)

    ✓ Undo cursor (102ms)

    ✓ Undo cursor 2 (100ms)

    ✓ Undo cursor 3 (97ms)

    ✓ Undo with movement first (126ms)

    ✓ Can handle 'U' (61ms)

    ✓ Can handle 'U' for multiple changes (99ms)

    ✓ Can handle 'U' for new line below (99ms)

    ✓ Can handle 'U' for new line above (103ms)

    ✓ Can handle 'U' for consecutive changes only (131ms)

    ✓ Can handle 'u' to undo 'U' (75ms)

    ✓ Can handle 'U' to undo 'U' (60ms)

    ✓ Redo (88ms)

    ✓ Redo (117ms)

    ✓ Redo (137ms)

    ✓ Can handle u (54ms)

    ✓ Can handle guw (45ms)

    ✓ Can handle gUw (62ms)

    ✓ Can handle u over line breaks (51ms)

    ✓ can handle s in visual mode (72ms)

    ✓ can handle p with selection (113ms)

    ✓ can handle P with selection (73ms)

    ✓ can handle p in visual to end of line (90ms)

    ✓ can repeat backspace twice (65ms)

    ✓ can delete linewise with d2G (63ms)

    ✓ can delete with + motion and count (58ms)

    ✓ can delete with - motion and count (104ms)

    ✓ can dE correctly (271ms)

    ✓ can dE correctly (45ms)

    ✓ can dE correctly (51ms)

    ✓ can ctrl-a correctly behind a word (43ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor) (42ms)

    ✓ can ctrl-a on word (65ms)

    ✓ can ctrl-a on a hex number (43ms)

    ✓ can ctrl-a on decimal (41ms)

    ✓ can ctrl-a with numeric prefix (42ms)

    ✓ can ctrl-a on a decimal (45ms)

    ✓ can ctrl-a on an octal  (58ms)

    ✓ Correctly increments in the middle of a number (45ms)

    ✓ can ctrl-x correctly behind a word

    ✓ can ctrl-a on an number with word before  (49ms)

    ✓ can ctrl-a on an number with word before and after  (40ms)

    ✓ can ctrl-x on a negative number with word before and after  (59ms)

    ✓ can ctrl-a properly on multiple lines (45ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number) (44ms)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (49ms)

    ✓ can <C-a> on word with - in front of it (41ms)

    ✓ can do Y (48ms)

    ✓ Can do S (75ms)

    ✓ / does not affect mark (57ms)

    ✓ / can search with regex (64ms)

    ✓ / can search with newline (82ms)

    ✓ / can search through multiple newlines (68ms)

    ✓ / matches ^ per line (56ms)

    ✓ / matches $ per line (84ms)

    ✓ /\c forces case insensitive search (64ms)

    ✓ /\C forces case sensitive search (58ms)

    ✓ <BS> deletes the last character in search in progress mode (58ms)

    ✓ <S-BS> deletes the last character in search in progress mode (48ms)

    ✓ <C-h> deletes the last character in search in progress mode (50ms)

    ✓ Can do C (57ms)

    ✓ Can do cit on a matching tag (277ms)

    ✓ Ignores cit on a non-matching tag (57ms)

    ✓ Ignores cit on a nested tag (76ms)

    ✓ Can do cit on a tag with an attribute tag (87ms)

    ✓ Can do cat on a matching tag (66ms)

    ✓ Can do cit on a multiline tag (73ms)

    ✓ Can do cit on a multiline tag with nested tags (152ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (66ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (93ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (79ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (104ms)

    ✓ can do cit with self closing tags (114ms)

    ✓ Respects indentation with cc (61ms)

    ✓ Resets cursor to indent end with cc (86ms)

    ✓ can handle 'cc' on empty line (68ms)

    ✓ cc copies linewise (70ms)

    ✓ Indent current line with correct Vim Mode (50ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (67ms)

    ✓ Can handle # on skipped words (69ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (119ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (129ms)

    ✓ cc on whitespace-only treats whitespace as indent (51ms)

    ✓ Can do cai (90ms)

    ✓ Can do cii (77ms)

    ✓ Can do caI (86ms)

    ✓ Can do dai (90ms)

    ✓ Can do dii (54ms)

    ✓ Can do daI (122ms)

    can handle gn

      ✓ gn selects the next match text (200ms)

      ✓ gn selects the current word at |hello (230ms)

      ✓ gn selects the current word at h|ello (241ms)

      ✓ gn selects the current word at hel|lo (242ms)

      ✓ gn selects the current word at hell|o (198ms)

      ✓ gn selects the next word at hello| (219ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (81ms)

      ✓ dgn deletes the current word when cursor is at |hello (76ms)

      ✓ dgn deletes the current word when cursor is at h|ello (66ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (66ms)

      ✓ dgn deletes the current word when cursor is at hell|o (162ms)

      ✓ dgn deletes the next word when cursor is at hello| (55ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (60ms)

      ✓ cgn deletes the current word when cursor is at |hello (70ms)

      ✓ cgn deletes the current word when cursor is at h|ello (90ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (70ms)

      ✓ cgn deletes the current word when cursor is at hell|o (77ms)

      ✓ cgn deletes the next word when cursor is at hello| (87ms)

    can handle gN

      ✓ gN selects the previous match text (198ms)

      ✓ gN selects the current word at hell|o (203ms)

      ✓ gN selects the current word at hel|lo (332ms)

      ✓ gN selects the current word at h|ello (297ms)

      ✓ gN selects the current word at |hello (227ms)

      ✓ gN selects the previous word at | hello (239ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (263ms)

      ✓ dgN deletes the current word when cursor is at hell|o (83ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (93ms)

      ✓ dgN deletes the current word when cursor is at h|ello (101ms)

      ✓ dgN deletes the current word when cursor is at |hello (110ms)

      ✓ dgN deletes the previous word when cursor is at | hello (101ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (105ms)

      ✓ cgN deletes the current word when cursor is at hell|o (82ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (103ms)

      ✓ cgN deletes the current word when cursor is at h|ello (91ms)

      ✓ cgN deletes the current word when cursor is at |hello (97ms)

      ✓ cgN deletes the previous word when cursor is at | hello (112ms)



  Mode Replace

    ✓ Can activate with <insert> from Insert mode (62ms)

    ✓ Can activate with R from Normal mode (42ms)

    ✓ Can handle R (59ms)

    ✓ Can handle R past current line (98ms)

    ✓ Can handle R and exit Replace Mode (80ms)

    ✓ Can handle R across lines (102ms)

    ✓ Can handle R across lines and exit Replace Mode (144ms)

    ✓ Can handle R with {count} (99ms)

    ✓ Can handle backspace (81ms)

    ✓ Can handle backspace (59ms)

    ✓ Can handle backspace across lines (126ms)

    ✓ Can handle arrows (51ms)

    ✓ Can handle . (88ms)

    ✓ Can handle . across lines (151ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (207ms)

    ✓ Can handle wd (98ms)

    ✓ Can handle x (157ms)

    ✓ Can handle x across a selection (103ms)

    ✓ Can do vwd in middle of sentence (132ms)

    ✓ Can do vwd in middle of sentence (316ms)

    ✓ Can do vwd multiple times (215ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (184ms)

    ✓ Can handle H key (67ms)

    ✓ handles case where we delete over a newline (216ms)

    ✓ handles change operator (256ms)

    ✓ Can do vat on multiple matching tags (122ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (151ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (111ms)

    ✓ Repeat-prefixed vat does not bleed below (78ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (61ms)

    ✓ Can do vi) on a matching parenthesis (75ms)

    ✓ Can do vi) on multiple matching parens (119ms)

    ✓ Can do va) on a matching parenthesis (65ms)

    ✓ Can do va) on multiple matching parens (80ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (64ms)

    ✓ Repeat-prefixed va) does not bleed below (80ms)

    ✓ Can do va} on a matching bracket as first character (60ms)

    ✓ Can do va} on multiple matching brackets (113ms)

    ✓ Can do vi( on a matching bracket near first character (62ms)

    ✓ Can do vi{ on outer pair of nested braces (77ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (76ms)

    ✓ Can do va] on multiple matching brackets (85ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (159ms)

    ✓ Repeat-prefixed vaf does not bleed below (82ms)

    ✓ vaf only expands to enclosing pairs (106ms)

    ✓ Can use . to repeat indent in visual (273ms)

    ✓ Can do v_x to delete to first char (85ms)

    ✓ Can do vg_x to delete to last char with no EOL (89ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (74ms)

    ✓ Can do v$x to delete to last char including EOL (65ms)

    ✓ Can do gv to reselect previous selection (99ms)

    Vim's EOL handling is weird

      ✓ delete through eol (81ms)

      ✓ join 2 lines by deleting through eol (122ms)

      ✓ d$ doesn't delete whole line (92ms)

      ✓ vd$ does delete whole line (85ms)

      ✓ Paste over selection copies the selection (86ms)

      ✓ Paste over selection copies the selection linewise (92ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (83ms)

      ✓ Can handle <down> key (63ms)

      ✓ Can handle <left> key (93ms)

      ✓ Can handle <right> key (54ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (71ms)

      ✓ Can handle 'vawd' on word with trailing spaces (57ms)

      ✓ Can handle 'vawd' on word with leading spaces (69ms)

      ✓ Can handle 'vawd' on word with numeric prefix (76ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (132ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (158ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (93ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (56ms)

      ✓ Can handle 'vaWd' on word with leading spaces (76ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (106ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (89ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (98ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (118ms)

      ✓ Can handle 'vaWd' on word with leading spaces (259ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (58ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (98ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (100ms)

      ✓ Can handle 'vawd' on word with trailing spaces (59ms)

      ✓ Can handle 'vawd' on word with leading spaces (96ms)

      ✓ Can handle 'vawd' on word with numeric prefix (74ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (111ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (151ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (77ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (98ms)

      ✓ Can handle 'vaWd' on word with leading spaces (67ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (102ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (105ms)

      ✓ Can handle 'Y' in visual mode (78ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (82ms)

      ✓ Select sentence with leading spaces in visual mode (115ms)

      ✓ Select multiple sentences in visual mode (103ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (71ms)

      ✓ Select inner sentence with leading spaces in visual mode (122ms)

      ✓ Select spaces between sentences in visual mode (135ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (74ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (82ms)

      ✓ Can do vat on a matching tag (87ms)

    handles replace in visual mode

      ✓ Can do a single line replace (64ms)

      ✓ Can do a multi line replace (82ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (93ms)

      ✓ D deletes the current line (70ms)

    handles indent blocks in visual mode

      ✓ Can do vai (91ms)

      ✓ Can do vii (68ms)

      ✓ Doesn't naively select the next line (94ms)

      ✓ Searches backwards if cursor line is empty (76ms)

      ✓ Can do vaI (125ms)

    visualstar

      ✓ Works with * (60ms)

      ✓ Works with # (78ms)

    search works in visual mode

      ✓ Works with / (134ms)

      ✓ Works with ? (120ms)

      ✓ Selects correct range (204ms)

    X will delete linewise

      ✓ normal selection (76ms)

      ✓ normal selection (67ms)

    C will delete linewise

      ✓ normal selection (111ms)

      ✓ normal selection (69ms)

    R will delete linewise

      ✓ normal selection (62ms)

      ✓ normal selection (69ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (119ms)

      ✓ upward selection (100ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (80ms)

      ✓ multiline indent bottom up selection (99ms)

      ✓ repeat multiline indent top down selection (99ms)

      ✓ repeat multiline indent bottom up selection (88ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (78ms)

      ✓ multiline outdent bottom up selection (57ms)

      ✓ repeat multiline outdent top down selection (103ms)

      ✓ repeat multiline outdent bottom up selection (109ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (153ms)

    vi{ will go to end of second to last line

      ✓ select (80ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      1) gv selects the last pasted text (which is shorter than original)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      2) gv selects the last pasted text (which is longer than original)

      ✓ gv selects the last pasted text (multiline) (225ms)

    can handle gn

      ✓ gn selects the next match text (481ms)

      ✓ gn selects the current word at |hello (267ms)

      ✓ gn selects the current word at h|ello (260ms)

      ✓ gn selects the current word at hel|lo (242ms)

      ✓ gn selects the next word at hell|o (218ms)

      ✓ gn selects the next word at hello| (226ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (74ms)

      ✓ multiline insert from top down selection (64ms)

      ✓ skips blank lines (61ms)

    can append text with A

      ✓ multiline append from bottom up selection (86ms)

      ✓ multiline append from top down selection (52ms)

      ✓ skips blank lines (92ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (111ms)

    ✓ Can handle A backwards select (69ms)

    ✓ Can handle I forward select (82ms)

    ✓ Can handle I backwards select (85ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (98ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (82ms)

    ✓ Can handle c forward select (61ms)

    ✓ Can handle c backwards select (81ms)

    ✓ Can handle C (99ms)

    ✓ Can do a multi line replace (82ms)

    ✓ Can handle 'D' (62ms)

    ✓ Can handle 'gj' (74ms)

    ✓ Properly add to end of lines j then $ (104ms)

    ✓ Properly add to end of lines $ then j (81ms)

    ✓ o works in visual block mode (67ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (154ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (374ms)

    ✓ Can handle wd (142ms)

    ✓ Can handle x (125ms)

    ✓ Can handle U (105ms)

    ✓ Can handle x across a selection (110ms)

    ✓ Can do vwd in middle of sentence (137ms)

    ✓ Can do vwd in middle of sentence (163ms)

    ✓ Can do vwd multiple times (144ms)

    ✓ Can handle U across a selection (121ms)

    ✓ Can handle U across a selection in reverse order (93ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (112ms)

    ✓ handles case where we delete over a newline (153ms)

    ✓ handles change operator (136ms)

    ✓ Vp updates register content (66ms)

    ✓ Vp does not append unnecessary newlines (first line) (86ms)

    ✓ Vp does not append unnecessary newlines (middle line) (58ms)

    ✓ Vp does not append unnecessary newlines (last line) (75ms)

    Vim's EOL handling is weird

      ✓ delete through eol (86ms)

      ✓ join 2 lines by deleting through eol (98ms)

      ✓ d$ doesn't delete whole line (92ms)

      ✓ vd$ does delete whole line (101ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (66ms)

      ✓ Can handle <down> key (89ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (49ms)

      ✓ Can handle d key (98ms)

      ✓ Can handle d key (85ms)

      ✓ Can handle d key (98ms)

      ✓ can handle 'c' (121ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (100ms)

      ✓ Can do a multi visual line replace (102ms)

      ✓ Can do a multi visual line replace from the bottom up (324ms)

    search works in visual line mode

      ✓ Works with / (74ms)

      ✓ Works with ? (82ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (157ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (79ms)

      ✓ linewise visual put works also in the end of document (59ms)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      3) gv selects the last pasted text (which is shorter than original)

ModeHandler: error: error handling key=t. err=TypeError: Cannot read property 'length' of undefined.

      4) gv selects the last pasted text (which is longer than original)

      ✓ gv selects the last pasted text (multiline) (226ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (67ms)

      ✓ multiline insert from top down selection (77ms)

      ✓ skips blank lines (51ms)

    can append text with A

      ✓ multiline append from bottom up selection (65ms)

      ✓ multiline append from top down selection (51ms)

      ✓ skips blank lines (81ms)



  Mode Normal

    ✓ Can handle 'x' (49ms)

    ✓ Can handle 'Nx' (44ms)

    ✓ Can handle 'Nx' and paste (64ms)

    ✓ Can handle 'x' at end of line (115ms)

    ✓ Can handle 'Ns' (53ms)

    ✓ Can handle 'Ns' at end of line (60ms)

    ✓ Can handle '<Del>' (40ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (61ms)

    ✓ Can handle '<Del>' at end of line (112ms)

    ✓ Can handle 'cc' (59ms)

    ✓ Can handle 'Ncc' (78ms)

    ✓ Can handle 'yy' (100ms)

    ✓ Can handle 'D' (61ms)

    ✓ Can handle 'D' on empty lines (41ms)

    ✓ Can handle 'DD' (58ms)

    ✓ Can handle 'C' (98ms)

    ✓ Can handle 'NC' (80ms)

    ✓ Can handle 'r' (48ms)

    ✓ Can handle '<Count>r' (56ms)

    ✓ Can handle '<Count>r' (39ms)

    ✓ Can handle 'r' after 'dd' (96ms)

    ✓ Can handle 'J' once (53ms)

    ✓ Can handle 'J' twice (111ms)

    ✓ Can handle 'J' with empty last line (53ms)

    ✓ Can handle 'J's with multiple empty last lines (125ms)

    ✓ Can handle 'J' with leading white space on next line (44ms)

    ✓ Can handle 'J' with only white space on next line

    ✓ Can handle 'J' with TWO indented lines (63ms)

    ✓ Can handle 'J' with ')' first character on next line (55ms)

    ✓ Can handle 'J' with a following delete (60ms)

    ✓ Can handle 'J' in Visual Line mode (64ms)

    ✓ Can handle 'gJ' once (51ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (57ms)

    ✓ Can handle '~' (50ms)

    ✓ Can handle 'g~{motion}' (67ms)

    ✓ Can handle '<BS>' in insert mode (48ms)

    ✓ Can handle undo with P (118ms)

    ✓ Can handle 'ge' in multiple lines case1 (102ms)

    ✓ Can handle 'ge' in multiple lines case2 (86ms)


  Dot Operator

    ✓ Can repeat '~' with <num> (42ms)

    ✓ Can repeat '~' with dot (65ms)

    ✓ Can repeat 'x' (79ms)

    ✓ Can repeat 'J' (57ms)

    ✓ Can handle dot with A (87ms)

    ✓ Can handle dot with I (140ms)

    ✓ Can repeat actions that require selections (82ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (82ms)

    ✓ Can repeat insert change and '<C-t>' (87ms)

    ✓ Can repeat change by `<C-a>` (101ms)

    ✓ Only one arrow key can be repeated in Insert Mode (114ms)

    ✓ Cached content change will be cleared by arrow keys (105ms)


  Matching Bracket (%)

    ✓ before opening parenthesis (48ms)

    ✓ inside parenthesis (46ms)

    ✓ nested parenthesis beginning (38ms)

    ✓ nested parenthesis end (311ms)

    ✓ nested bracket and parenthesis beginning (38ms)

    ✓ nested bracket, parenthesis, braces beginning

    ✓ nested bracket, parenthesis, braces end (43ms)



  Motions in Normal Mode

    ✓ Can handle [( (73ms)

    ✓ Can handle nested [( (47ms)

    ✓ Can handle <number>[( (96ms)

    ✓ Can handle [( and character under cursor exclusive (58ms)

    ✓ Can handle ]) (45ms)

    ✓ Can handle nested ]) (67ms)

    ✓ Can handle <number>]) (56ms)

    ✓ Can handle ]) and character under cursor exclusive (61ms)

    ✓ Can handle [{ (43ms)

    ✓ Can handle nested [{ (97ms)

    ✓ Can handle <number>[{ (82ms)

    ✓ Can handle [{ and character under cursor exclusive (49ms)

    ✓ Can handle ]} (54ms)

    ✓ Can handle nested ]} (52ms)

    ✓ Can handle <number>]} (47ms)

    ✓ Can handle ]} and character under cursor exclusive (59ms)

    ✓ Can handle 'ge' (57ms)

    ✓ Can handle 'gg' (75ms)

    ✓ Can handle 'gg' to first non blank char on random line (55ms)

    ✓ Can handle 'gg' to first non blank char on first line (51ms)

    ✓ Retain same column when moving up/down (59ms)

    ✓ Can handle <enter> (97ms)

    ✓ $ always keeps cursor on EOL (52ms)

    ✓ Can handle $ with a count (44ms)

    ✓ Can handle $ with a count at end of file (41ms)

    ✓ Can handle <end> with a count (57ms)

    ✓ Can handle <D-right> with a count

    ✓ Can handle 'f' (56ms)

    ✓ Can handle 'f' twice (60ms)

    ✓ Can handle 'F' (40ms)

    ✓ Can handle 'F' twice (69ms)

    ✓ Can handle 't' (56ms)

    ✓ Can handle 't' twice (53ms)

    ✓ Can handle 'T' (62ms)

    ✓ Can handle 'T' twice (84ms)

    ✓ Can run a forward search (54ms)

    ✓ Can run a forward and find next search (58ms)

    ✓ Can run a reverse search (70ms)

    ✓ Can run a reverse and find next search (104ms)

    ✓ maintains column position correctly (46ms)

    ✓ maintains column position correctly with $ (40ms)

    ✓ Can handle G  (43ms)

    ✓ Can handle G with number prefix (51ms)

    ✓ Can handle G with number prefix

    ✓ Can handle gg (51ms)

    ✓ Can handle gg with number prefix (39ms)

    ✓ Can handle 0 (56ms)

    ✓ Can handle 0 as part of a repeat (72ms)

    ✓ Can handle g* (43ms)

    ✓ Can handle g*n (44ms)

    ✓ Can handle * (43ms)

    ✓ Can handle **

    ✓ Can handle # on whitespace (107ms)

    ✓ Can handle # on EOL (53ms)

    ✓ Can handle g# (85ms)

    ✓ Can handle g#n (105ms)

    ✓ Can handle # (125ms)

    ✓ Can handle # already on the word (113ms)

    ✓ Can handle ## (66ms)

    ✓ Can handle | (69ms)

    ✓ Can handle <number> | (92ms)

    ✓ Can handle + (47ms)

    ✓ Can handle + indent (59ms)

    ✓ Can handle + with count prefix (44ms)

    ✓ Can handle -

    ✓ Can handle - indent (38ms)

    ✓ Can handle - with count prefix (39ms)

    ✓ Can handle _ (43ms)

    ✓ Can handle _ with count prefix (39ms)

    ✓ Can handle g_ (52ms)

    ✓ Can handle g_ with count prefix (80ms)

    ✓ Can handle <up> key (83ms)

    ✓ Can handle <down> key (60ms)

    ✓ Can handle <left> key (45ms)

    ✓ Can handle <right> key (57ms)



  basic motion

    ✓ char right: should move one column right

    ✓ char right

    ✓ char left: should move cursor one column left
    ✓ char left: left-most column should stay at the same location

    ✓ line down: should move cursor one line down

    ✓ line down: bottom-most line should stay at the same location

    ✓ line begin

    ✓ line end

    ✓ document begin

    ✓ document end

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    line up
      ✓ should move cursor one line up
      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character
    ✓ last line begin cursor on first non-blank character
    word right
      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word

      ✓ first word should move to previous line, stops on empty line

      ✓ first word should move to previous line, skips whitespace only line

    WORD right

      ✓ move to WORD right

      ✓ last WORD should move to next line

      ✓ last WORD should move to next line stops on empty line

      ✓ last WORD should move to next line skips whitespace only line

    WORD left

      ✓ move cursor WORD left across spaces

      ✓ move cursor WORD left within WORD

      ✓ first WORD should move to previous line, beginning of last WORD

      ✓ first WORD should move to previous line, stops on empty line

      ✓ first WORD should move to previous line, skips whitespace only line

    end of word right

      ✓ move to end of current word right

      ✓ move to end of next word right

      ✓ end of last word should move to next line

      ✓ end of last word should move to next line skips empty line

      ✓ end of last word should move to next line skips whitespace only line

    end of WORD right

      ✓ move to end of current WORD right

      ✓ move to end of next WORD right

      ✓ end of last WORD should move to next line

      ✓ end of last WORD should move to next line skips empty line

      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces

    sentence backward

      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside

      ✓ current sentence begin when it's not the same as current paragraph begin

      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally

      ✓ move down longer paragraph

      ✓ move down starting inside empty line

      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph
      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (45ms)

        ✓ l wraps to next line (330ms)

        ✓ <left> wraps to previous line (51ms)

        ✓ <right> wraps to next line (45ms)

      insert mode

        ✓ <left> wraps to previous line (47ms)

        ✓ <right> once goes to end of line (54ms)

        ✓ <right> twice wraps to next line (44ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (38ms)

        ✓ l does not wrap to next line (47ms)

        ✓ <left> does not wrap to previous line (43ms)

        ✓ <right> does not wrap to next line (79ms)

      insert mode

        ✓ <left> does not wrap to previous line (64ms)

        ✓ <right> does not wrap to next line (56ms)



  Multicursor

    ✓ can add multiple cursors below (125ms)

    ✓ can add multiple cursors above (123ms)



  numeric string

    ✓ fails on non-string

    ✓ handles hex round trip

    ✓ handles decimal round trip

    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (201ms)

    ✓ gcj comments in current and next line (211ms)

    ✓ block comment with motion (330ms)

    ✓ block comment in Visual Mode (210ms)



  format operator

    ✓ == formats current line (1710ms)

    ✓ =$ formats entire line (115ms)

    ✓ =j formats two lines (76ms)

    ✓ 3=k formats three lines (376ms)

    ✓ =gg formats to top of file (89ms)

    ✓ =G formats to bottom of file (148ms)

    ✓ =ip formats paragraph (89ms)

    ✓ format in visual mode (88ms)



  put operator

    ✓ basic put test (85ms)

    ✓ test yy end of line (89ms)

    ✓ test yy first line (84ms)

    ✓ test yy middle line (62ms)

    ✓ test yy with correct positon movement (61ms)

    ✓ test visual block single line yank p (74ms)

    ✓ test visual block single line yank P (69ms)

    ✓ test visual block single line delete p (60ms)

    ✓ test visual block single line delete P (87ms)


  shift operator

    ✓ basic shift left test (58ms)

    ✓ shift left goto end test (58ms)

    ✓ shift left goto line test (55ms)

    ✓ shift right goto end test (61ms)

    ✓ shift right goto line test (52ms)



  easymotion plugin

    ✓ Can handle s move (105ms)

    ✓ Can handle 2s move (120ms)

    ✓ Can handle f move (73ms)

    ✓ Can handle 2f move (68ms)

    ✓ Can handle F move (66ms)

    ✓ Can handle 2F move (74ms)

    ✓ Can handle t move (57ms)

    ✓ Can handle bd-t move (74ms)

    ✓ Can handle 2t move (114ms)

    ✓ Can handle bd-t2 move (85ms)

    ✓ Can handle T move (68ms)

    ✓ Can handle 2T move (75ms)

    ✓ Can handle w move (82ms)

    ✓ Can handle bd-w move (75ms)

    ✓ Can handle b move (68ms)

    ✓ Can handle e move (80ms)

    ✓ Can handle bd-e move (130ms)

    ✓ Can handle ge move (62ms)

    ✓ Can handle n-char move (66ms)

    ✓ Can handle j move (77ms)

    ✓ Can handle k move (104ms)

    ✓ Can handle bd-jk move (1) (75ms)

    ✓ Can handle bd-jk move (2) (94ms)

    ✓ Can handle lineforward move (1) (105ms)

    ✓ Can handle lineforward move (2) (52ms)

    ✓ Can handle linebackward move (1) (93ms)

    ✓ Can handle linebackward move (2) (114ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode



  sneak plugin

    ✓ Can handle s motion (75ms)

    ✓ Can handle S motion (121ms)

    ✓ Can handle <operator>z motion (103ms)

    ✓ Can handle <operator>Z motion (99ms)

    ✓ Can handle s; motion (74ms)

    ✓ Can handle s, motion (84ms)

    ✓ Can handle S; motion (59ms)

    ✓ Can handle S, motion (65ms)



  surround plugin

    ✓ 'ysiw)' surrounds word without space (110ms)

    ✓ 'ysiw(' surrounds word with space (86ms)

    ✓ 'ysw)' surrounds word without space (79ms)

    ✓ 'ysw(' surrounds word with space (107ms)

    ✓ 'ysaw)' surrounds word without space (108ms)

    ✓ 'ysaw(' surrounds word with space (121ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (117ms)

    ✓ 'ysiw<' surrounds word with tags (80ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (70ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (385ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (80ms)

    ✓ change surround (99ms)

    ✓ change surround with alias (89ms)

    ✓ change surround to tags (87ms)

    ✓ delete surround (100ms)

    ✓ delete surround with alias (78ms)

    ✓ delete surround with tags (89ms)

    ✓ change surround brackets at end of line (116ms)

    ✓ changing brackets with surround works again (96ms)

    ✓ change surround with tags that contain an attribute and preserve them (151ms)

    ✓ change surround with tags that contain an attribute and remove them (100ms)



  register

    ✓ Can copy to a register (80ms)

    ✓ Can use two registers together (133ms)

    ✓ Can use black hole register (61ms)

    ✓ System clipboard works with chinese characters (65ms)

    ✓ Yank stores text in Register '0' (200ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (191ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (130ms)

    ✓ Register '1'-'9' stores delete content (215ms)

    ✓ "A appends linewise text to "a (186ms)

    ✓ "A appends character wise text to "a (167ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (73ms)

      ✓ Can access '+' (clipboard) register (81ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (42ms)

    ✓ Can repeat reversed F<character> (95ms)

    ✓ Can repeat t<character>

    ✓ Can repeat N times reversed t<character>


  text editor

    ✓ insert 'Hello World'

    ✓ replace 'World' with 'Foo Bar'

    ✓ delete `Hello`

    ✓ delete the whole line

    ✓ try to read lines that don't exist





  1061 passing (3m)

  4 failing



  1) Mode Visual
       replace text in characterwise visual-mode with characterwise register content
         gv selects the last pasted text (which is shorter than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  2) Mode Visual
       replace text in characterwise visual-mode with characterwise register content
         gv selects the last pasted text (which is longer than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  3) Mode Visual Line
       replace text in linewise visual-mode with linewise register content
         gv selects the last pasted text (which is shorter than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>


  4) Mode Visual Line
       replace text in linewise visual-mode with linewise register content
         gv selects the last pasted text (which is longer than original):
     TypeError: Cannot read property 'length' of undefined
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:129:47)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.handleRemapping (out/src/configuration/remapper.js:86:16)
      at InsertModeRemapper.<anonymous> (src/configuration/remapper.ts:105:20)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at InsertModeRemapper.sendKey (out/src/configuration/remapper.js:54:16)
      at Remappers.<anonymous> (src/configuration/remapper.ts:48:44)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/configuration/remapper.js:3:12)
      at Remappers.sendKey (out/src/configuration/remapper.js:32:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:292:41)
      at Generator.next (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:7:71)
      at new Promise (<anonymous>)
      at __awaiter (out/src/mode/modeHandler.js:3:12)
      at ModeHandler.handleKeyEvent (out/src/mode/modeHandler.js:193:16)
      at ModeHandler.<anonymous> (src/mode/modeHandler.ts:1416:18)
      at Generator.next (<anonymous>)
      at fulfilled (out/src/mode/modeHandler.js:4:58)
      at <anonymous>






Tests exited with code: 1
TravisBuddy Request Identifier: f18e0a50-23a3-11e9-b0c4-a3eb907e7b53

@TravisBuddy
Copy link

Travis tests have failed

Hey @jpoon,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

View build log

if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
The command "if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi" exited with 0.

$ npm run build

> vim@1.0.3 build /home/travis/build/VSCodeVim/Vim
> gulp build

[09:54:14] Using gulpfile ~/build/VSCodeVim/Vim/gulpfile.js
[09:54:14] Starting 'build'...
[09:54:14] Starting 'prettier'...
[09:54:14] Finished 'prettier' after 19 ms
[09:54:14] Starting 'tsc'...
[09:54:14] Starting 'tslint'...
[09:54:22] Finished 'tslint' after 7.61 s
[09:54:29] Finished 'tsc' after 15 s
[09:54:29] Finished 'build' after 15 s
The command "npm run build" exited with 0.

$ npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 9:54:35 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive
    ✓ couldActionApply 1D keys negative
    ✓ couldActionApply 2D keys positive
    ✓ couldActionApply 2D keys negative
    ✓ doesActionApply 1D keys positive
    ✓ doesActionApply 1D keys negative
    ✓ doesActionApply 2D keys positive
    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (44ms)

    ✓ add empty command (47ms)

    ✓ add command over configuration.history (139ms)

    ✓ add command that exists in history (42ms)

    ✓ file system (43ms)

    ✓ change configuration.history (65ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (127ms)

    ✓ Sort whole file, dsc (93ms)

    ✓ Sort range, asc (127ms)

    ✓ Sort range, dsc (122ms)



  Horizontal split

    ✓ Run :sp (74ms)

    ✓ Run :split (59ms)

    ✓ Run :new (51ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ ignores trailing white space
    ✓ can parse !
    ✓ throws if space before !
    ✓ ignores space after !
    ✓ throws if bad input

  :quit args parser
    ✓ has all aliases

    ✓ can parse empty args

    ✓ ignores trailing white space

    ✓ can parse !
    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter

    ✓ can parse flag KeepPreviousFlags



  :write args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name

    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty



  Basic substitute

    ✓ Replace single word once (62ms)

    ✓ Replace with `g` flag (77ms)

    ✓ Replace with flags AND count (128ms)

    ✓ Replace with `c` flag (52ms)

    ✓ Replace with `gc` flag (90ms)

    ✓ Replace across all lines (97ms)

    ✓ Replace on specific single line (101ms)

    ✓ Replace on current line using dot (134ms)

    ✓ Replace single relative line using dot and plus (109ms)

    ✓ Replace across specific line range (88ms)

    ✓ Replace across relative line range using dot, plus, and minus (79ms)

    ✓ Replace across relative line range using numLines+colon shorthand (89ms)

    ✓ Repeat replacement across relative line range (106ms)

    ✓ Replace with range AND count but no flags (79ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (74ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (95ms)

    ✓ Undocumented: trailing operators use 1 as RHS (87ms)

    ✓ Replace specific single equal lines (88ms)

    ✓ Replace current line with no active selection (98ms)

    ✓ Replace text in selection (160ms)

    ✓ Substitute support marks (109ms)

    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (42ms)

      ✓ Replace with `g` flag inverts global flag (49ms)

      ✓ Replace with `c` flag inverts global flag (111ms)

      ✓ Replace multiple lines (99ms)

      ✓ Replace across specific lines (79ms)

      ✓ Replace current line with no active selection (73ms)

      ✓ Replace text in selection (126ms)

      ✓ Substitute support marks (103ms)

      ✓ Substitute with escaped delimiter (66ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (216ms)

      ✓ Substitute with previous search using # (215ms)

      ✓ Substitute with previous search using / (213ms)

      ✓ Substitute with parameters should update search state (141ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (231ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (158ms)

      ✓ Substitute repeat previous should accept flags (68ms)

      ✓ Substitute with empty search string should use last searched pattern (247ms)



  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (46ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file

    ✓ tabe with absolute path when not in workspace opens file (77ms)

    ✓ tabe with current file path does nothing (75ms)



  Vertical split

    ✓ Run :vs (79ms)

    ✓ Run :vsp (85ms)

    ✓ Run :vsplit (64ms)

    ✓ Run :vnew (234ms)

    ✓ Run :vne (181ms)



  Basic write-quit

    ✓ Run write and quit (128ms)



  Provide line completions
    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (42ms)

      ✓ Can complete lines in file with different indentation (58ms)

      ✓ Returns no completions for unmatched line (62ms)



  Configuration

    ✓ remappings are normalized

    1) Can handle long key chords

    ✓ whichwrap is parsed into wrapKeys


  Notation

    ✓ Normalize

  Remapper

    ✓ getLongestedRemappedKeySequence (147ms)

    2) getMatchingRemap

    3) jj -> <Esc> through modehandler

    4) 0 -> :wq through modehandler

    5) leader, w -> closeActiveEditor in normal mode through modehandler

    6) leader, c -> closeActiveEditor in visual mode through modehandler

    7) d -> black hole register delete in normal mode through modehandler

    8) d -> black hole register delete in normal mode through modehandler

    9) jj -> <Esc> after ciw operator through modehandler



  Error

    ✓ error code has message



  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers



  Record and navigate jumps

    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim

      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (83ms)

        ✓ Can track jumps for keys: GggG (86ms)

        ✓ Can track jumps for keys: GggGgg (86ms)

        ✓ Can track jumps for keys: /b<CR>n (83ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (99ms)

        ✓ Can track jumps for keys: j%% (55ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (46ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (61ms)

        ✓ Can track jumps for keys: j%%<C-o>% (63ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (67ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (79ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (93ms)

        ✓ Can enter number to jump back multiple times (64ms)

        ✓ Can track one-line `` jumps (109ms)

        ✓ Can track one-line double `` jumps (100ms)

        ✓ Can track one-line '' jumps (109ms)

        ✓ Can track one-line double '' jumps (110ms)

        ✓ Can handle '' jumps with no previous jump (48ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (92ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (86ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (162ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (96ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (103ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (133ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (153ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (166ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (151ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (89ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (194ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (63ms)



  Record and execute a macro

    ✓ Can record and execute (213ms)

    ✓ Can repeat last invoked macro (202ms)

    ✓ Can play back with count (287ms)

    ✓ Can play back with count, abort when a motion fails (310ms)

    ✓ Repeat change on contiguous lines (137ms)

    ✓ Append command to a macro (126ms)

    ✓ Can record Ctrl Keys and repeat (139ms)

[main 9:55:05 AM] update#setState checking for updates

[main 9:55:05 AM] update#setState idle

    ✓ Can execute macros with dot commands properly (130ms)



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (115ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (56ms)

    ✓ <C-c> can exit insert (74ms)

    ✓ <Esc> can exit insert (61ms)

    ✓ Stay in insert when entering characters (83ms)

    ✓ Can handle 'O' (68ms)

    ✓ Can handle 'i' (92ms)

    ✓ Can handle 'I' (68ms)

    ✓ Can handle 'a' (95ms)

    ✓ Can handle 'A' (75ms)

    ✓ Can handle '<C-w>' (69ms)

    ✓ Can handle <C-w> on leading whitespace (48ms)

    ✓ Can handle <C-w> at beginning of line (48ms)

    ✓ Can handle <C-u> (51ms)

    ✓ Can handle <C-u> on leading characters (55ms)

    ✓ Can handle <C-u> on leading whitespace (74ms)

    ✓ Correctly places the cursor after deleting the previous line break (74ms)

    ✓ will not remove leading spaces input by user

    ✓ will remove closing bracket (69ms)

    ✓ Backspace works on whitespace only lines (89ms)

    ✓ Backspace works on end of whitespace only lines (157ms)

    ✓ Backspace works at beginning of file (63ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (100ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (67ms)

    ✓ Can perform insert command prefixed with count (83ms)

    ✓ Can perform append command prefixed with count (70ms)

    ✓ Can perform insert at start of line command prefixed with count (83ms)

    ✓ Can perform append to end of line command prefixed with count (55ms)

    ✓ Can perform change char (s) command prefixed with count (81ms)

    ✓ Can perform command prefixed with count with <C-[> (56ms)

    ✓ Can handle 'o' with count (135ms)

    ✓ Can handle 'O' with count (118ms)


  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (78ms)

    ✓ Can handle dw (65ms)

    ✓ Can handle dw (57ms)

    ✓ Can handle dw across lines (1) (51ms)

    ✓ Can handle dw across lines (2) (58ms)

    ✓ Can handle dd last line (52ms)

    ✓ Can handle dd single line (51ms)

    ✓ Can handle dd

    ✓ Can handle 3dd (40ms)

    ✓ Can handle 3dd off end of document (52ms)

    ✓ Can handle d2d (54ms)

    ✓ Can handle dd empty line (48ms)

    ✓ Can handle ddp (56ms)

    ✓ Can handle 'de' (76ms)

    ✓ Can handle 'de' then 'de' again (91ms)

    ✓ Can handle 'db' (69ms)

    ✓ Can handle 'db then 'db' again (70ms)

    ✓ Can handle 'dl' at end of line (68ms)

    ✓ Can handle 'dF' (67ms)

    ✓ Can handle 'dT' (74ms)

    ✓ Can handle 'd3' then <enter> (48ms)

    ✓ Can handle 'dj' (40ms)

    ✓ Can handle 'dk' (71ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (75ms)

    ✓ Can handle 'd]}' without deleting closing bracket (73ms)

    ✓ Can handle 'cw' (107ms)

    ✓ Can handle 'cw' without deleting following white spaces (43ms)

    ✓ Can handle 'c2w'

    ✓ Can handle 'cw' without removing EOL (84ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (71ms)

    ✓ Can handle 'c]}' without deleting closing bracket (87ms)

    ✓ Can handle 's' (86ms)

    ✓ Can handle 'yiw' with correct cursor ending position (66ms)

    ✓ Can handle 'ciw' (101ms)

    ✓ Can handle 'ciw' on blanks (98ms)

    ✓ Can handle 'caw' (95ms)

    ✓ Can handle 'caw' on first letter (103ms)

    ✓ Can handle 'caw' on blanks (81ms)

    ✓ Can handle 'caw' on blanks (75ms)

    ✓ Can handle 'ci(' on first parentheses (89ms)

    ✓ Can handle 'ci(' with nested parentheses (88ms)

    ✓ Can handle 'ci(' backwards through nested parens (117ms)

    ✓ Can handle 'cib' on first parentheses (126ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (58ms)

    ✓ Can handle count prefixed 'ci)' (94ms)

    ✓ Can handle count prefixed 'ca)' (81ms)

    ✓ Can handle 'ca(' spanning multiple lines (76ms)

    ✓ Can handle 'cab' spanning multiple lines (59ms)

    ✓ Can handle 'ci{' spanning multiple lines (53ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (91ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (56ms)

    ✓ Can handle 'ci(' on the closing bracket (60ms)

    ✓ Can handle 'ciB' spanning multiple lines (50ms)

    ✓ will fail when ca( with no () (44ms)

    ✓ will fail when ca{ with no {} (90ms)

    ✓ will fail when caB with no {} (47ms)

    ✓ Can handle 'ci[' spanning multiple lines (72ms)

    ✓ Can handle 'ci]' on first bracket (64ms)

    ✓ Can handle 'ca[' on first bracket (61ms)

    ✓ Can handle 'ca]' on first bracket (74ms)

    ✓ Can handle 'ci'' on first quote (50ms)

    ✓ Can handle 'ci'' inside quoted string (69ms)

    ✓ Can handle 'ci'' on closing quote (72ms)

    ✓ Can handle 'ci'' when string is ahead (64ms)

    ✓ Can handle 'ci"' on opening quote (53ms)

    ✓ Can handle 'ci"' starting behind the quoted word (59ms)

    ✓ Can handle 'ca"' starting behind the quoted word (54ms)

    ✓ Can handle 'ca"' starting on the opening quote (61ms)

    ✓ Can handle 'ci"' with escaped quotes (92ms)

    ✓ Can handle 'ci"' with a single escaped quote (81ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (101ms)

    ✓ Can handle 'ci"' with an escaped backslash (99ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (58ms)

    ✓ Can handle 'ca"' starting on the closing quote (74ms)

    ✓ Can handle 'ci"' with complex escape sequences (66ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (80ms)

    ✓ will fail when ca" ahead of quoted string (82ms)

    ✓ Can handle 'ca`' inside word (84ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (85ms)

    ✓ Can handle 'daw' on word with trailing spaces (97ms)

    ✓ Can handle 'daw' on word with leading spaces (103ms)

    ✓ Can handle 'daw' on word with numeric prefix (94ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (146ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (97ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (135ms)

    ✓ Can handle 'daw' on end of word (110ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (85ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (69ms)

    ✓ Can handle 'daw' on word at beginning of file (48ms)

    ✓ Can handle 'daw' on word at beginning of line (70ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (56ms)

    ✓ Can handle 'daw' around word at end of line (60ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (62ms)

    ✓ Can handle 'daW' around word at whitespace (92ms)

    ✓ Can handle 'daW' on word with trailing spaces (75ms)

    ✓ Can handle 'daW' on word with leading spaces (92ms)

    ✓ Can handle 'daW' on word with numeric prefix (57ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (74ms)

    ✓ Can handle 'daW' on beginning of word (64ms)

    ✓ Can handle 'daW' on end of one line (58ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (57ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (69ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (84ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (64ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (72ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (59ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (67ms)

    ✓ Can handle 'diw' on word (110ms)

    ✓ Can handle 'diw' on word with numeric prefix (60ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (101ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (114ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (85ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (83ms)

    ✓ Can handle 'diW' on word with trailing spaces (65ms)

    ✓ Can handle 'diW' on word with leading spaces (67ms)

    ✓ Can handle 'diW' on word with numeric prefix (53ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (76ms)

    ✓ Can handle 'diW' on beginning of word (64ms)

    ✓ Can handle d} (45ms)

    ✓ Can handle y} at beginning of line (47ms)

    ✓ Select sentence with trailing spaces (72ms)

    ✓ Select sentence with leading spaces (117ms)

    ✓ Select inner sentence with trailing spaces (85ms)

    ✓ Select inner sentence with leading spaces (154ms)

    ✓ Select spaces between sentences (142ms)

    ✓ Can handle 'df' (237ms)

    ✓ Can handle 'dt' (70ms)

    ✓ Can handle backspace (48ms)

    ✓ Can handle backspace across lines (47ms)

    ✓ Can handle A and backspace (57ms)

    ✓ Can handle 'yy' without changing cursor position (39ms)

    ✓ Can handle 'P' after 'yy' (67ms)

    ✓ Can handle 'p' after 'yy' (54ms)

    ✓ Can handle 'P' after 'Nyy' (53ms)

    ✓ Can handle 'p' after 'Nyy' (75ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (66ms)

    ✓ Can handle 'gp' after 'yy' (56ms)

    ✓ Can handle 'gp' after 'Nyy' (80ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (54ms)

    ✓ Can handle 'gP' after 'yy' (74ms)

    ✓ Can handle 'gP' after 'Nyy' (61ms)

    ✓ Can handle ']p' after yy (66ms)

    ✓ Can handle ']p' after 'Nyy' (61ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (67ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (87ms)

    ✓ Can handle '[p' after yy (68ms)

    ✓ Can handle '[p' after 'Nyy' (88ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (51ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (65ms)

    ✓ Can handle 'p' after y'a (58ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (103ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (244ms)

    ✓ Can handle pasting in visual mode over selection (114ms)

    ✓ Can repeat w (40ms)

    ✓ Can repeat p (54ms)

    ✓ I works correctly (98ms)

    ✓ gI works correctly (77ms)

    ✓ gi works correctly (99ms)

    ✓ `. works correctly (77ms)

    ✓ '. works correctly (101ms)

    ✓ g; works correctly (98ms)

    ✓ g, works correctly (93ms)

    ✓ g_ works correctly (73ms)

    ✓ 3g_ works correctly (78ms)

    ✓ Can handle space (60ms)

    ✓ Can handle space

    ✓ Undo 1 (114ms)

    ✓ Undo 2 (99ms)

    ✓ Undo cursor (124ms)

    ✓ Undo cursor 2 (115ms)

    ✓ Undo cursor 3 (103ms)

    ✓ Undo with movement first (97ms)

    ✓ Can handle 'U' (66ms)

    ✓ Can handle 'U' for multiple changes (93ms)

    ✓ Can handle 'U' for new line below (77ms)

    ✓ Can handle 'U' for new line above (90ms)

    ✓ Can handle 'U' for consecutive changes only (315ms)

    ✓ Can handle 'u' to undo 'U' (69ms)

    ✓ Can handle 'U' to undo 'U' (64ms)

    ✓ Redo (96ms)

    ✓ Redo (119ms)

    ✓ Redo (145ms)

    ✓ Can handle u (61ms)

    ✓ Can handle guw (46ms)

    ✓ Can handle gUw (83ms)

    ✓ Can handle u over line breaks (68ms)

    ✓ can handle s in visual mode (77ms)

    ✓ can handle p with selection (88ms)

    ✓ can handle P with selection (88ms)

    ✓ can handle p in visual to end of line (116ms)

    ✓ can repeat backspace twice (79ms)

    ✓ can delete linewise with d2G (44ms)

    ✓ can delete with + motion and count (62ms)

    ✓ can delete with - motion and count (44ms)

    ✓ can dE correctly

    ✓ can dE correctly

    ✓ can dE correctly (60ms)

    ✓ can ctrl-a correctly behind a word (45ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor)

    ✓ can ctrl-a on word (66ms)

    ✓ can ctrl-a on a hex number

    ✓ can ctrl-a on decimal (54ms)

    ✓ can ctrl-a with numeric prefix (56ms)

    ✓ can ctrl-a on a decimal (78ms)

    ✓ can ctrl-a on an octal  (58ms)

    ✓ Correctly increments in the middle of a number (71ms)

    ✓ can ctrl-x correctly behind a word (56ms)

    ✓ can ctrl-a on an number with word before  (50ms)

    ✓ can ctrl-a on an number with word before and after 

    ✓ can ctrl-x on a negative number with word before and after  (80ms)

    ✓ can ctrl-a properly on multiple lines (52ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number) (38ms)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (75ms)

    ✓ can <C-a> on word with - in front of it (42ms)

    ✓ can do Y (56ms)

    ✓ Can do S (58ms)

    ✓ / does not affect mark (68ms)

    ✓ / can search with regex (54ms)

    ✓ / can search with newline (93ms)

    ✓ / can search through multiple newlines (62ms)

    ✓ / matches ^ per line (67ms)

    ✓ / matches $ per line (59ms)

    ✓ /\c forces case insensitive search (60ms)

    ✓ /\C forces case sensitive search (43ms)

    ✓ <BS> deletes the last character in search in progress mode (71ms)

    ✓ <S-BS> deletes the last character in search in progress mode (78ms)

    ✓ <C-h> deletes the last character in search in progress mode (64ms)

    ✓ Can do C (45ms)

    ✓ Can do cit on a matching tag (251ms)

    ✓ Ignores cit on a non-matching tag (49ms)

    ✓ Ignores cit on a nested tag (65ms)

    ✓ Can do cit on a tag with an attribute tag (84ms)

    ✓ Can do cat on a matching tag (81ms)

    ✓ Can do cit on a multiline tag (74ms)

    ✓ Can do cit on a multiline tag with nested tags (114ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (101ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (71ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (65ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (65ms)

    ✓ can do cit with self closing tags (113ms)

    ✓ Respects indentation with cc (73ms)

    ✓ Resets cursor to indent end with cc (51ms)

    ✓ can handle 'cc' on empty line (76ms)

    ✓ cc copies linewise (119ms)

    ✓ Indent current line with correct Vim Mode (42ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (114ms)

    ✓ Can handle # on skipped words (105ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (110ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (143ms)

    ✓ cc on whitespace-only treats whitespace as indent (58ms)

    ✓ Can do cai (101ms)

    ✓ Can do cii (90ms)

    ✓ Can do caI (142ms)

    ✓ Can do dai (99ms)

    ✓ Can do dii (74ms)

    ✓ Can do daI (99ms)

    can handle gn

      ✓ gn selects the next match text (198ms)

      ✓ gn selects the current word at |hello (210ms)

      ✓ gn selects the current word at h|ello (251ms)

      ✓ gn selects the current word at hel|lo (311ms)

      ✓ gn selects the current word at hell|o (190ms)

      ✓ gn selects the next word at hello| (180ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (72ms)

      ✓ dgn deletes the current word when cursor is at |hello (81ms)

      ✓ dgn deletes the current word when cursor is at h|ello (93ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (84ms)

      ✓ dgn deletes the current word when cursor is at hell|o (74ms)

      ✓ dgn deletes the next word when cursor is at hello| (105ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (70ms)

      ✓ cgn deletes the current word when cursor is at |hello (76ms)

      ✓ cgn deletes the current word when cursor is at h|ello (95ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (71ms)

      ✓ cgn deletes the current word when cursor is at hell|o (80ms)

      ✓ cgn deletes the next word when cursor is at hello| (86ms)

    can handle gN

      ✓ gN selects the previous match text (232ms)

      ✓ gN selects the current word at hell|o (328ms)

      ✓ gN selects the current word at hel|lo (184ms)

      ✓ gN selects the current word at h|ello (197ms)

      ✓ gN selects the current word at |hello (199ms)

      ✓ gN selects the previous word at | hello (263ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (67ms)

      ✓ dgN deletes the current word when cursor is at hell|o (87ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (86ms)

      ✓ dgN deletes the current word when cursor is at h|ello (68ms)

      ✓ dgN deletes the current word when cursor is at |hello (118ms)

      ✓ dgN deletes the previous word when cursor is at | hello (143ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (72ms)

      ✓ cgN deletes the current word when cursor is at hell|o (125ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (136ms)

      ✓ cgN deletes the current word when cursor is at h|ello (97ms)

      ✓ cgN deletes the current word when cursor is at |hello (103ms)

      ✓ cgN deletes the previous word when cursor is at | hello (94ms)


  Mode Replace

    ✓ Can activate with <insert> from Insert mode (39ms)

    ✓ Can activate with R from Normal mode

    ✓ Can handle R (40ms)

    ✓ Can handle R past current line (118ms)

    ✓ Can handle R and exit Replace Mode (51ms)

    ✓ Can handle R across lines (99ms)

    ✓ Can handle R across lines and exit Replace Mode (106ms)

    ✓ Can handle R with {count} (110ms)

    ✓ Can handle backspace (79ms)

    ✓ Can handle backspace (91ms)

    ✓ Can handle backspace across lines (114ms)

    ✓ Can handle arrows (52ms)

    ✓ Can handle . (94ms)

    ✓ Can handle . across lines (133ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (179ms)

    ✓ Can handle wd (89ms)

    ✓ Can handle x (333ms)

    ✓ Can handle x across a selection (107ms)

    ✓ Can do vwd in middle of sentence (132ms)

    ✓ Can do vwd in middle of sentence (131ms)

    ✓ Can do vwd multiple times (159ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (170ms)

    ✓ Can handle H key (51ms)

    ✓ handles case where we delete over a newline (162ms)

    ✓ handles change operator (108ms)

    ✓ Can do vat on multiple matching tags (103ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (134ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (97ms)

    ✓ Repeat-prefixed vat does not bleed below (80ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (87ms)

    ✓ Can do vi) on a matching parenthesis (80ms)

    ✓ Can do vi) on multiple matching parens (116ms)

    ✓ Can do va) on a matching parenthesis (68ms)

    ✓ Can do va) on multiple matching parens (72ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (70ms)

    ✓ Repeat-prefixed va) does not bleed below (61ms)

    ✓ Can do va} on a matching bracket as first character (60ms)

    ✓ Can do va} on multiple matching brackets (134ms)

    ✓ Can do vi( on a matching bracket near first character (84ms)

    ✓ Can do vi{ on outer pair of nested braces (71ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (88ms)

    ✓ Can do va] on multiple matching brackets (303ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (101ms)

    ✓ Repeat-prefixed vaf does not bleed below (75ms)

    ✓ vaf only expands to enclosing pairs (77ms)

    ✓ Can use . to repeat indent in visual (76ms)

    ✓ Can do v_x to delete to first char (78ms)

    ✓ Can do vg_x to delete to last char with no EOL (82ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (72ms)

    ✓ Can do v$x to delete to last char including EOL (69ms)

    ✓ Can do gv to reselect previous selection (111ms)

    Vim's EOL handling is weird

      ✓ delete through eol (97ms)

      ✓ join 2 lines by deleting through eol (101ms)

      ✓ d$ doesn't delete whole line (79ms)

      ✓ vd$ does delete whole line (79ms)

      ✓ Paste over selection copies the selection (71ms)

      ✓ Paste over selection copies the selection linewise (82ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (67ms)

      ✓ Can handle <down> key (66ms)

      ✓ Can handle <left> key (63ms)

      ✓ Can handle <right> key (59ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (104ms)

      ✓ Can handle 'vawd' on word with trailing spaces (68ms)

      ✓ Can handle 'vawd' on word with leading spaces (93ms)

      ✓ Can handle 'vawd' on word with numeric prefix (80ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (102ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (141ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (71ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (72ms)

      ✓ Can handle 'vaWd' on word with leading spaces (100ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (54ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (285ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (76ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (109ms)

      ✓ Can handle 'vaWd' on word with leading spaces (103ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (69ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (110ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (89ms)

      ✓ Can handle 'vawd' on word with trailing spaces (92ms)

      ✓ Can handle 'vawd' on word with leading spaces (82ms)

      ✓ Can handle 'vawd' on word with numeric prefix (79ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (171ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (184ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (104ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (73ms)

      ✓ Can handle 'vaWd' on word with leading spaces (90ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (49ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (92ms)

      ✓ Can handle 'Y' in visual mode (48ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (79ms)

      ✓ Select sentence with leading spaces in visual mode (150ms)

      ✓ Select multiple sentences in visual mode (120ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (104ms)

      ✓ Select inner sentence with leading spaces in visual mode (282ms)

      ✓ Select spaces between sentences in visual mode (129ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (98ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (77ms)

      ✓ Can do vat on a matching tag (83ms)

    handles replace in visual mode

      ✓ Can do a single line replace (87ms)

      ✓ Can do a multi line replace (88ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (67ms)

      ✓ D deletes the current line (97ms)

    handles indent blocks in visual mode

      ✓ Can do vai (82ms)

      ✓ Can do vii (110ms)

      ✓ Doesn't naively select the next line (77ms)

      ✓ Searches backwards if cursor line is empty (61ms)

      ✓ Can do vaI (115ms)

    visualstar

      ✓ Works with * (70ms)

      ✓ Works with # (59ms)

    search works in visual mode

      ✓ Works with / (60ms)

      ✓ Works with ? (99ms)

      ✓ Selects correct range (106ms)

    X will delete linewise

      ✓ normal selection (51ms)

      ✓ normal selection (63ms)

    C will delete linewise

      ✓ normal selection (77ms)

      ✓ normal selection (63ms)

    R will delete linewise

      ✓ normal selection (64ms)

      ✓ normal selection (55ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (80ms)

      ✓ upward selection (90ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (63ms)

      ✓ multiline indent bottom up selection (64ms)

      ✓ repeat multiline indent top down selection (67ms)

      ✓ repeat multiline indent bottom up selection (93ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (90ms)

      ✓ multiline outdent bottom up selection (90ms)

      ✓ repeat multiline outdent top down selection (118ms)

      ✓ repeat multiline outdent bottom up selection (130ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (142ms)

    vi{ will go to end of second to last line

      ✓ select (73ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

      ✓ gv selects the last pasted text (which is shorter than original) (455ms)

      ✓ gv selects the last pasted text (which is longer than original) (321ms)

      ✓ gv selects the last pasted text (multiline) (184ms)

    can handle gn

      ✓ gn selects the next match text (178ms)

      ✓ gn selects the current word at |hello (200ms)

      ✓ gn selects the current word at h|ello (194ms)

      ✓ gn selects the current word at hel|lo (189ms)

      ✓ gn selects the next word at hell|o (198ms)

      ✓ gn selects the next word at hello| (254ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (94ms)

      ✓ multiline insert from top down selection (63ms)

      ✓ skips blank lines (50ms)

    can append text with A

      ✓ multiline append from bottom up selection (51ms)

      ✓ multiline append from top down selection (82ms)

      ✓ skips blank lines (53ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (126ms)

    ✓ Can handle A backwards select (62ms)

    ✓ Can handle I forward select (52ms)

    ✓ Can handle I backwards select (71ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (68ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (113ms)

    ✓ Can handle c forward select (80ms)

    ✓ Can handle c backwards select (81ms)

    ✓ Can handle C (70ms)

    ✓ Can do a multi line replace (298ms)

    ✓ Can handle 'D' (68ms)

    ✓ Can handle 'gj' (85ms)

    ✓ Properly add to end of lines j then $ (62ms)

    ✓ Properly add to end of lines $ then j (83ms)

    ✓ o works in visual block mode (79ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (212ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (165ms)

    ✓ Can handle wd (106ms)

    ✓ Can handle x (102ms)

    ✓ Can handle U (96ms)

    ✓ Can handle x across a selection (105ms)

    ✓ Can do vwd in middle of sentence (150ms)

    ✓ Can do vwd in middle of sentence (98ms)

    ✓ Can do vwd multiple times (156ms)

    ✓ Can handle U across a selection (110ms)

    ✓ Can handle U across a selection in reverse order (134ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (135ms)

    ✓ handles case where we delete over a newline (125ms)

    ✓ handles change operator (154ms)

    ✓ Vp updates register content (107ms)

    ✓ Vp does not append unnecessary newlines (first line) (72ms)

    ✓ Vp does not append unnecessary newlines (middle line) (69ms)

    ✓ Vp does not append unnecessary newlines (last line) (146ms)

    Vim's EOL handling is weird

      ✓ delete through eol (102ms)

      ✓ join 2 lines by deleting through eol (95ms)

      ✓ d$ doesn't delete whole line (89ms)

      ✓ vd$ does delete whole line (125ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (72ms)

      ✓ Can handle <down> key (71ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (62ms)

      ✓ Can handle d key (61ms)

      ✓ Can handle d key (72ms)

      ✓ Can handle d key (59ms)

      ✓ can handle 'c' (57ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (90ms)

      ✓ Can do a multi visual line replace (74ms)

      ✓ Can do a multi visual line replace from the bottom up (74ms)

    search works in visual line mode

      ✓ Works with / (79ms)

      ✓ Works with ? (68ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (181ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (55ms)

      ✓ linewise visual put works also in the end of document (99ms)

      ✓ gv selects the last pasted text (which is shorter than original) (317ms)

      ✓ gv selects the last pasted text (which is longer than original) (311ms)

      ✓ gv selects the last pasted text (multiline) (223ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (104ms)

      ✓ multiline insert from top down selection (57ms)

      ✓ skips blank lines (97ms)

    can append text with A

      ✓ multiline append from bottom up selection (105ms)

      ✓ multiline append from top down selection (52ms)

      ✓ skips blank lines (85ms)



  Mode Normal

    ✓ Can handle 'x' (70ms)

    ✓ Can handle 'Nx' (47ms)

    ✓ Can handle 'Nx' and paste (56ms)

    ✓ Can handle 'x' at end of line (114ms)

    ✓ Can handle 'Ns' (82ms)

    ✓ Can handle 'Ns' at end of line (60ms)

    ✓ Can handle '<Del>' (47ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (130ms)

    ✓ Can handle '<Del>' at end of line (96ms)

    ✓ Can handle 'cc' (304ms)

    ✓ Can handle 'Ncc' (74ms)

    ✓ Can handle 'yy' (63ms)

    ✓ Can handle 'D' (49ms)

    ✓ Can handle 'D' on empty lines (57ms)

    ✓ Can handle 'DD' (63ms)

    ✓ Can handle 'C' (87ms)

    ✓ Can handle 'NC' (71ms)

    ✓ Can handle 'r' (81ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle '<Count>r' (54ms)

    ✓ Can handle 'r' after 'dd' (94ms)

    ✓ Can handle 'J' once (76ms)

    ✓ Can handle 'J' twice (66ms)

    ✓ Can handle 'J' with empty last line (58ms)

    ✓ Can handle 'J's with multiple empty last lines (100ms)

    ✓ Can handle 'J' with leading white space on next line (81ms)

    ✓ Can handle 'J' with only white space on next line (44ms)

    ✓ Can handle 'J' with TWO indented lines (79ms)

    ✓ Can handle 'J' with ')' first character on next line (54ms)

    ✓ Can handle 'J' with a following delete (49ms)

    ✓ Can handle 'J' in Visual Line mode (51ms)

    ✓ Can handle 'gJ' once (65ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (60ms)

    ✓ Can handle '~'

    ✓ Can handle 'g~{motion}' (68ms)

    ✓ Can handle '<BS>' in insert mode (54ms)

    ✓ Can handle undo with P (106ms)

    ✓ Can handle 'ge' in multiple lines case1 (71ms)

    ✓ Can handle 'ge' in multiple lines case2 (168ms)


  Dot Operator

    ✓ Can repeat '~' with <num> (77ms)

    ✓ Can repeat '~' with dot (46ms)

    ✓ Can repeat 'x'

    ✓ Can repeat 'J' (67ms)

    ✓ Can handle dot with A (78ms)

    ✓ Can handle dot with I (91ms)

    ✓ Can repeat actions that require selections (75ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (93ms)

    ✓ Can repeat insert change and '<C-t>' (88ms)

    ✓ Can repeat change by `<C-a>` (107ms)

    ✓ Only one arrow key can be repeated in Insert Mode (76ms)

    ✓ Cached content change will be cleared by arrow keys (79ms)



  Matching Bracket (%)

    ✓ before opening parenthesis

    ✓ inside parenthesis (39ms)

    ✓ nested parenthesis beginning (42ms)

    ✓ nested parenthesis end (45ms)

    ✓ nested bracket and parenthesis beginning (44ms)

    ✓ nested bracket, parenthesis, braces beginning

    ✓ nested bracket, parenthesis, braces end (49ms)



  Motions in Normal Mode

    ✓ Can handle [( (49ms)

    ✓ Can handle nested [( (46ms)

    ✓ Can handle <number>[( (40ms)

    ✓ Can handle [( and character under cursor exclusive (40ms)

    ✓ Can handle ]) (58ms)

    ✓ Can handle nested ]) (65ms)

    ✓ Can handle <number>]) (66ms)

    ✓ Can handle ]) and character under cursor exclusive (78ms)

    ✓ Can handle [{ (55ms)

    ✓ Can handle nested [{ (53ms)

    ✓ Can handle <number>[{ (56ms)

    ✓ Can handle [{ and character under cursor exclusive (52ms)

    ✓ Can handle ]} (44ms)

    ✓ Can handle nested ]} (47ms)

    ✓ Can handle <number>]} (59ms)

    ✓ Can handle ]} and character under cursor exclusive (71ms)

    ✓ Can handle 'ge' (91ms)

    ✓ Can handle 'gg' (64ms)

    ✓ Can handle 'gg' to first non blank char on random line (51ms)

    ✓ Can handle 'gg' to first non blank char on first line (90ms)

    ✓ Retain same column when moving up/down (57ms)

    ✓ Can handle <enter> (63ms)

    ✓ $ always keeps cursor on EOL (81ms)

    ✓ Can handle $ with a count (41ms)

    ✓ Can handle $ with a count at end of file (59ms)

    ✓ Can handle <end> with a count (59ms)

    ✓ Can handle <D-right> with a count (45ms)

    ✓ Can handle 'f' (76ms)

    ✓ Can handle 'f' twice (84ms)

    ✓ Can handle 'F' (53ms)

    ✓ Can handle 'F' twice (70ms)

    ✓ Can handle 't' (58ms)

    ✓ Can handle 't' twice (63ms)

    ✓ Can handle 'T' (44ms)

    ✓ Can handle 'T' twice (69ms)

    ✓ Can run a forward search (77ms)

    ✓ Can run a forward and find next search (60ms)

    ✓ Can run a reverse search (79ms)

    ✓ Can run a reverse and find next search (112ms)

    ✓ maintains column position correctly (46ms)

    ✓ maintains column position correctly with $ (41ms)

    ✓ Can handle G 

    ✓ Can handle G with number prefix (42ms)

    ✓ Can handle G with number prefix (70ms)

    ✓ Can handle gg (49ms)

    ✓ Can handle gg with number prefix (71ms)

    ✓ Can handle 0 (53ms)

    ✓ Can handle 0 as part of a repeat (41ms)

    ✓ Can handle g* (46ms)

    ✓ Can handle g*n (53ms)

    ✓ Can handle * (53ms)

    ✓ Can handle ** (39ms)

    ✓ Can handle # on whitespace (62ms)

    ✓ Can handle # on EOL (65ms)

    ✓ Can handle g# (125ms)

    ✓ Can handle g#n (100ms)

    ✓ Can handle # (63ms)

    ✓ Can handle # already on the word (70ms)

    ✓ Can handle ## (61ms)

    ✓ Can handle | (65ms)

    ✓ Can handle <number> | (88ms)

    ✓ Can handle + (42ms)

    ✓ Can handle + indent

    ✓ Can handle + with count prefix (47ms)

    ✓ Can handle - (44ms)

    ✓ Can handle - indent

    ✓ Can handle - with count prefix (42ms)

    ✓ Can handle _ (40ms)

    ✓ Can handle _ with count prefix (62ms)

    ✓ Can handle g_ (62ms)

    ✓ Can handle g_ with count prefix (77ms)

    ✓ Can handle <up> key (48ms)

    ✓ Can handle <down> key (59ms)

    ✓ Can handle <left> key (60ms)

    ✓ Can handle <right> key



  basic motion

    ✓ char right: should move one column right

    ✓ char right
    ✓ char left: should move cursor one column left
    ✓ char left: left-most column should stay at the same location
    ✓ line down: should move cursor one line down
    ✓ line down: bottom-most line should stay at the same location
    ✓ line begin

    ✓ line end
    ✓ document begin
    ✓ document end
    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character
    line up
      ✓ should move cursor one line up

      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    word right

      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word

      ✓ first word should move to previous line, stops on empty line

      ✓ first word should move to previous line, skips whitespace only line

    WORD right

      ✓ move to WORD right

      ✓ last WORD should move to next line

      ✓ last WORD should move to next line stops on empty line

      ✓ last WORD should move to next line skips whitespace only line

    WORD left

      ✓ move cursor WORD left across spaces

      ✓ move cursor WORD left within WORD

      ✓ first WORD should move to previous line, beginning of last WORD

      ✓ first WORD should move to previous line, stops on empty line

      ✓ first WORD should move to previous line, skips whitespace only line

    end of word right

      ✓ move to end of current word right

      ✓ move to end of next word right

      ✓ end of last word should move to next line

      ✓ end of last word should move to next line skips empty line

      ✓ end of last word should move to next line skips whitespace only line

    end of WORD right

      ✓ move to end of current WORD right

      ✓ move to end of next WORD right

      ✓ end of last WORD should move to next line

      ✓ end of last WORD should move to next line skips empty line

      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces
    sentence backward
      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside
      ✓ current sentence begin when it's not the same as current paragraph begin
      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally
      ✓ move down longer paragraph

      ✓ move down starting inside empty line
      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph
      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (38ms)

        ✓ l wraps to next line

        ✓ <left> wraps to previous line (47ms)

        ✓ <right> wraps to next line (76ms)

      insert mode

        ✓ <left> wraps to previous line (55ms)

        ✓ <right> once goes to end of line (50ms)

        ✓ <right> twice wraps to next line (66ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (70ms)

        ✓ l does not wrap to next line (44ms)

        ✓ <left> does not wrap to previous line

        ✓ <right> does not wrap to next line (44ms)

      insert mode

        ✓ <left> does not wrap to previous line (49ms)

        ✓ <right> does not wrap to next line (71ms)



  Multicursor

    ✓ can add multiple cursors below (97ms)

    ✓ can add multiple cursors above (141ms)



  numeric string

    ✓ fails on non-string
    ✓ handles hex round trip
    ✓ handles decimal round trip
    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (126ms)

    ✓ gcj comments in current and next line (187ms)

    ✓ block comment with motion (274ms)

    ✓ block comment in Visual Mode (294ms)


  format operator

    ✓ == formats current line (1835ms)

    ✓ =$ formats entire line (159ms)

    ✓ =j formats two lines (76ms)

    ✓ 3=k formats three lines (98ms)

    ✓ =gg formats to top of file (83ms)

    ✓ =G formats to bottom of file (67ms)

    ✓ =ip formats paragraph (81ms)

    ✓ format in visual mode (102ms)



  put operator

    ✓ basic put test (349ms)

    ✓ test yy end of line (62ms)

    ✓ test yy first line (74ms)

    ✓ test yy middle line (60ms)

    ✓ test yy with correct positon movement (62ms)

    ✓ test visual block single line yank p (64ms)

    ✓ test visual block single line yank P (67ms)

    ✓ test visual block single line delete p (58ms)

    ✓ test visual block single line delete P (68ms)



  shift operator

    ✓ basic shift left test (56ms)

    ✓ shift left goto end test (51ms)

    ✓ shift left goto line test (50ms)

    ✓ shift right goto end test

    ✓ shift right goto line test (59ms)



  easymotion plugin

    ✓ Can handle s move (139ms)

    ✓ Can handle 2s move (69ms)

    ✓ Can handle f move (83ms)

    ✓ Can handle 2f move (60ms)

    ✓ Can handle F move (154ms)

    ✓ Can handle 2F move (116ms)

    ✓ Can handle t move (83ms)

    ✓ Can handle bd-t move (79ms)

    ✓ Can handle 2t move (97ms)

    ✓ Can handle bd-t2 move (113ms)

    ✓ Can handle T move (72ms)

    ✓ Can handle 2T move (395ms)

    ✓ Can handle w move (75ms)

    ✓ Can handle bd-w move (91ms)

    ✓ Can handle b move (105ms)

    ✓ Can handle e move (74ms)

    ✓ Can handle bd-e move (98ms)

    ✓ Can handle ge move (142ms)

    ✓ Can handle n-char move (79ms)

    ✓ Can handle j move (86ms)

    ✓ Can handle k move (57ms)

    ✓ Can handle bd-jk move (1) (98ms)

    ✓ Can handle bd-jk move (2) (75ms)

    ✓ Can handle lineforward move (1) (54ms)

    ✓ Can handle lineforward move (2) (95ms)

    ✓ Can handle linebackward move (1) (77ms)

    ✓ Can handle linebackward move (2) (89ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode



  sneak plugin

    ✓ Can handle s motion (57ms)

    ✓ Can handle S motion (67ms)

    ✓ Can handle <operator>z motion (64ms)

    ✓ Can handle <operator>Z motion (86ms)

    ✓ Can handle s; motion (74ms)

    ✓ Can handle s, motion (49ms)

    ✓ Can handle S; motion (70ms)

    ✓ Can handle S, motion (72ms)


  surround plugin

    ✓ 'ysiw)' surrounds word without space (112ms)

    ✓ 'ysiw(' surrounds word with space (111ms)

    ✓ 'ysw)' surrounds word without space (80ms)

    ✓ 'ysw(' surrounds word with space (91ms)

    ✓ 'ysaw)' surrounds word without space (116ms)

    ✓ 'ysaw(' surrounds word with space (71ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (90ms)

    ✓ 'ysiw<' surrounds word with tags (116ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (87ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (110ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (90ms)

    ✓ change surround (80ms)

    ✓ change surround with alias (106ms)

    ✓ change surround to tags (123ms)

    ✓ delete surround (81ms)

    ✓ delete surround with alias (131ms)

    ✓ delete surround with tags (390ms)

    ✓ change surround brackets at end of line (84ms)

    ✓ changing brackets with surround works again (92ms)

    ✓ change surround with tags that contain an attribute and preserve them (102ms)

    ✓ change surround with tags that contain an attribute and remove them (149ms)



  register

    ✓ Can copy to a register (75ms)

    ✓ Can use two registers together (125ms)

    ✓ Can use black hole register (89ms)

    ✓ System clipboard works with chinese characters (66ms)

    ✓ Yank stores text in Register '0' (320ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (193ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (150ms)

    ✓ Register '1'-'9' stores delete content (221ms)

    ✓ "A appends linewise text to "a (173ms)

    ✓ "A appends character wise text to "a (188ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (73ms)

      ✓ Can access '+' (clipboard) register (105ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (42ms)

    ✓ Can repeat reversed F<character> (53ms)

0 -> :wq through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:296:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  5) Remapper
       leader, w -> closeActiveEditor in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:320:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  6) Remapper
       leader, c -> closeActiveEditor in visual mode through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:347:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  7) Remapper
       d -> black hole register delete in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: 'line1' == 'text-to-put-on-register'
      + expected - actual

      -line1
      +text-to-put-on-register
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:375:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  8) Remapper
       d -> black hole register delete in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: 'word1 ' == 'text-to-put-on-register'
      + expected - actual

      -word1 
      +text-to-put-on-register
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:402:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  9) Remapper
       jj -> <Esc> after ciw operator through modehandler:

      AssertionError [ERR_ASSERTION]: 1 == 0
      + expected - actual

      -1
      +0
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:427:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>






Tests exited with code: 1
The command "npm test --silent" exited with 1.



Done. Your build exited with 1.
npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 9:54:35 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive
    ✓ couldActionApply 1D keys negative
    ✓ couldActionApply 2D keys positive
    ✓ couldActionApply 2D keys negative
    ✓ doesActionApply 1D keys positive
    ✓ doesActionApply 1D keys negative
    ✓ doesActionApply 2D keys positive
    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (44ms)

    ✓ add empty command (47ms)

    ✓ add command over configuration.history (139ms)

    ✓ add command that exists in history (42ms)

    ✓ file system (43ms)

    ✓ change configuration.history (65ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (127ms)

    ✓ Sort whole file, dsc (93ms)

    ✓ Sort range, asc (127ms)

    ✓ Sort range, dsc (122ms)



  Horizontal split

    ✓ Run :sp (74ms)

    ✓ Run :split (59ms)

    ✓ Run :new (51ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ ignores trailing white space
    ✓ can parse !
    ✓ throws if space before !
    ✓ ignores space after !
    ✓ throws if bad input

  :quit args parser
    ✓ has all aliases

    ✓ can parse empty args

    ✓ ignores trailing white space

    ✓ can parse !
    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter

    ✓ can parse flag KeepPreviousFlags



  :write args parser

    ✓ has all aliases

    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name

    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty



  Basic substitute

    ✓ Replace single word once (62ms)

    ✓ Replace with `g` flag (77ms)

    ✓ Replace with flags AND count (128ms)

    ✓ Replace with `c` flag (52ms)

    ✓ Replace with `gc` flag (90ms)

    ✓ Replace across all lines (97ms)

    ✓ Replace on specific single line (101ms)

    ✓ Replace on current line using dot (134ms)

    ✓ Replace single relative line using dot and plus (109ms)

    ✓ Replace across specific line range (88ms)

    ✓ Replace across relative line range using dot, plus, and minus (79ms)

    ✓ Replace across relative line range using numLines+colon shorthand (89ms)

    ✓ Repeat replacement across relative line range (106ms)

    ✓ Replace with range AND count but no flags (79ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (74ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (95ms)

    ✓ Undocumented: trailing operators use 1 as RHS (87ms)

    ✓ Replace specific single equal lines (88ms)

    ✓ Replace current line with no active selection (98ms)

    ✓ Replace text in selection (160ms)

    ✓ Substitute support marks (109ms)

    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (42ms)

      ✓ Replace with `g` flag inverts global flag (49ms)

      ✓ Replace with `c` flag inverts global flag (111ms)

      ✓ Replace multiple lines (99ms)

      ✓ Replace across specific lines (79ms)

      ✓ Replace current line with no active selection (73ms)

      ✓ Replace text in selection (126ms)

      ✓ Substitute support marks (103ms)

      ✓ Substitute with escaped delimiter (66ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (216ms)

      ✓ Substitute with previous search using # (215ms)

      ✓ Substitute with previous search using / (213ms)

      ✓ Substitute with parameters should update search state (141ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (231ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (158ms)

      ✓ Substitute repeat previous should accept flags (68ms)

      ✓ Substitute with empty search string should use last searched pattern (247ms)



  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (46ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file

    ✓ tabe with absolute path when not in workspace opens file (77ms)

    ✓ tabe with current file path does nothing (75ms)



  Vertical split

    ✓ Run :vs (79ms)

    ✓ Run :vsp (85ms)

    ✓ Run :vsplit (64ms)

    ✓ Run :vnew (234ms)

    ✓ Run :vne (181ms)



  Basic write-quit

    ✓ Run write and quit (128ms)



  Provide line completions
    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (42ms)

      ✓ Can complete lines in file with different indentation (58ms)

      ✓ Returns no completions for unmatched line (62ms)



  Configuration

    ✓ remappings are normalized

    1) Can handle long key chords

    ✓ whichwrap is parsed into wrapKeys


  Notation

    ✓ Normalize

  Remapper

    ✓ getLongestedRemappedKeySequence (147ms)

    2) getMatchingRemap

    3) jj -> <Esc> through modehandler

    4) 0 -> :wq through modehandler

    5) leader, w -> closeActiveEditor in normal mode through modehandler

    6) leader, c -> closeActiveEditor in visual mode through modehandler

    7) d -> black hole register delete in normal mode through modehandler

    8) d -> black hole register delete in normal mode through modehandler

    9) jj -> <Esc> after ciw operator through modehandler



  Error

    ✓ error code has message



  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers



  Record and navigate jumps

    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim

      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (83ms)

        ✓ Can track jumps for keys: GggG (86ms)

        ✓ Can track jumps for keys: GggGgg (86ms)

        ✓ Can track jumps for keys: /b<CR>n (83ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (99ms)

        ✓ Can track jumps for keys: j%% (55ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (46ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (61ms)

        ✓ Can track jumps for keys: j%%<C-o>% (63ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (67ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (79ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (93ms)

        ✓ Can enter number to jump back multiple times (64ms)

        ✓ Can track one-line `` jumps (109ms)

        ✓ Can track one-line double `` jumps (100ms)

        ✓ Can track one-line '' jumps (109ms)

        ✓ Can track one-line double '' jumps (110ms)

        ✓ Can handle '' jumps with no previous jump (48ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (92ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (86ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (162ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (96ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (103ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (133ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (153ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (166ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (151ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (89ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (194ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (63ms)



  Record and execute a macro

    ✓ Can record and execute (213ms)

    ✓ Can repeat last invoked macro (202ms)

    ✓ Can play back with count (287ms)

    ✓ Can play back with count, abort when a motion fails (310ms)

    ✓ Repeat change on contiguous lines (137ms)

    ✓ Append command to a macro (126ms)

    ✓ Can record Ctrl Keys and repeat (139ms)

[main 9:55:05 AM] update#setState checking for updates

[main 9:55:05 AM] update#setState idle

    ✓ Can execute macros with dot commands properly (130ms)



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (115ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (56ms)

    ✓ <C-c> can exit insert (74ms)

    ✓ <Esc> can exit insert (61ms)

    ✓ Stay in insert when entering characters (83ms)

    ✓ Can handle 'O' (68ms)

    ✓ Can handle 'i' (92ms)

    ✓ Can handle 'I' (68ms)

    ✓ Can handle 'a' (95ms)

    ✓ Can handle 'A' (75ms)

    ✓ Can handle '<C-w>' (69ms)

    ✓ Can handle <C-w> on leading whitespace (48ms)

    ✓ Can handle <C-w> at beginning of line (48ms)

    ✓ Can handle <C-u> (51ms)

    ✓ Can handle <C-u> on leading characters (55ms)

    ✓ Can handle <C-u> on leading whitespace (74ms)

    ✓ Correctly places the cursor after deleting the previous line break (74ms)

    ✓ will not remove leading spaces input by user

    ✓ will remove closing bracket (69ms)

    ✓ Backspace works on whitespace only lines (89ms)

    ✓ Backspace works on end of whitespace only lines (157ms)

    ✓ Backspace works at beginning of file (63ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (100ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (67ms)

    ✓ Can perform insert command prefixed with count (83ms)

    ✓ Can perform append command prefixed with count (70ms)

    ✓ Can perform insert at start of line command prefixed with count (83ms)

    ✓ Can perform append to end of line command prefixed with count (55ms)

    ✓ Can perform change char (s) command prefixed with count (81ms)

    ✓ Can perform command prefixed with count with <C-[> (56ms)

    ✓ Can handle 'o' with count (135ms)

    ✓ Can handle 'O' with count (118ms)


  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (78ms)

    ✓ Can handle dw (65ms)

    ✓ Can handle dw (57ms)

    ✓ Can handle dw across lines (1) (51ms)

    ✓ Can handle dw across lines (2) (58ms)

    ✓ Can handle dd last line (52ms)

    ✓ Can handle dd single line (51ms)

    ✓ Can handle dd

    ✓ Can handle 3dd (40ms)

    ✓ Can handle 3dd off end of document (52ms)

    ✓ Can handle d2d (54ms)

    ✓ Can handle dd empty line (48ms)

    ✓ Can handle ddp (56ms)

    ✓ Can handle 'de' (76ms)

    ✓ Can handle 'de' then 'de' again (91ms)

    ✓ Can handle 'db' (69ms)

    ✓ Can handle 'db then 'db' again (70ms)

    ✓ Can handle 'dl' at end of line (68ms)

    ✓ Can handle 'dF' (67ms)

    ✓ Can handle 'dT' (74ms)

    ✓ Can handle 'd3' then <enter> (48ms)

    ✓ Can handle 'dj' (40ms)

    ✓ Can handle 'dk' (71ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (75ms)

    ✓ Can handle 'd]}' without deleting closing bracket (73ms)

    ✓ Can handle 'cw' (107ms)

    ✓ Can handle 'cw' without deleting following white spaces (43ms)

    ✓ Can handle 'c2w'

    ✓ Can handle 'cw' without removing EOL (84ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (71ms)

    ✓ Can handle 'c]}' without deleting closing bracket (87ms)

    ✓ Can handle 's' (86ms)

    ✓ Can handle 'yiw' with correct cursor ending position (66ms)

    ✓ Can handle 'ciw' (101ms)

    ✓ Can handle 'ciw' on blanks (98ms)

    ✓ Can handle 'caw' (95ms)

    ✓ Can handle 'caw' on first letter (103ms)

    ✓ Can handle 'caw' on blanks (81ms)

    ✓ Can handle 'caw' on blanks (75ms)

    ✓ Can handle 'ci(' on first parentheses (89ms)

    ✓ Can handle 'ci(' with nested parentheses (88ms)

    ✓ Can handle 'ci(' backwards through nested parens (117ms)

    ✓ Can handle 'cib' on first parentheses (126ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (58ms)

    ✓ Can handle count prefixed 'ci)' (94ms)

    ✓ Can handle count prefixed 'ca)' (81ms)

    ✓ Can handle 'ca(' spanning multiple lines (76ms)

    ✓ Can handle 'cab' spanning multiple lines (59ms)

    ✓ Can handle 'ci{' spanning multiple lines (53ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (91ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (56ms)

    ✓ Can handle 'ci(' on the closing bracket (60ms)

    ✓ Can handle 'ciB' spanning multiple lines (50ms)

    ✓ will fail when ca( with no () (44ms)

    ✓ will fail when ca{ with no {} (90ms)

    ✓ will fail when caB with no {} (47ms)

    ✓ Can handle 'ci[' spanning multiple lines (72ms)

    ✓ Can handle 'ci]' on first bracket (64ms)

    ✓ Can handle 'ca[' on first bracket (61ms)

    ✓ Can handle 'ca]' on first bracket (74ms)

    ✓ Can handle 'ci'' on first quote (50ms)

    ✓ Can handle 'ci'' inside quoted string (69ms)

    ✓ Can handle 'ci'' on closing quote (72ms)

    ✓ Can handle 'ci'' when string is ahead (64ms)

    ✓ Can handle 'ci"' on opening quote (53ms)

    ✓ Can handle 'ci"' starting behind the quoted word (59ms)

    ✓ Can handle 'ca"' starting behind the quoted word (54ms)

    ✓ Can handle 'ca"' starting on the opening quote (61ms)

    ✓ Can handle 'ci"' with escaped quotes (92ms)

    ✓ Can handle 'ci"' with a single escaped quote (81ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (101ms)

    ✓ Can handle 'ci"' with an escaped backslash (99ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (58ms)

    ✓ Can handle 'ca"' starting on the closing quote (74ms)

    ✓ Can handle 'ci"' with complex escape sequences (66ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (80ms)

    ✓ will fail when ca" ahead of quoted string (82ms)

    ✓ Can handle 'ca`' inside word (84ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (85ms)

    ✓ Can handle 'daw' on word with trailing spaces (97ms)

    ✓ Can handle 'daw' on word with leading spaces (103ms)

    ✓ Can handle 'daw' on word with numeric prefix (94ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (146ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (97ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (135ms)

    ✓ Can handle 'daw' on end of word (110ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (85ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (69ms)

    ✓ Can handle 'daw' on word at beginning of file (48ms)

    ✓ Can handle 'daw' on word at beginning of line (70ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (56ms)

    ✓ Can handle 'daw' around word at end of line (60ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (62ms)

    ✓ Can handle 'daW' around word at whitespace (92ms)

    ✓ Can handle 'daW' on word with trailing spaces (75ms)

    ✓ Can handle 'daW' on word with leading spaces (92ms)

    ✓ Can handle 'daW' on word with numeric prefix (57ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (74ms)

    ✓ Can handle 'daW' on beginning of word (64ms)

    ✓ Can handle 'daW' on end of one line (58ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (57ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (69ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (84ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (64ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (72ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (59ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (67ms)

    ✓ Can handle 'diw' on word (110ms)

    ✓ Can handle 'diw' on word with numeric prefix (60ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (101ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (114ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (85ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (83ms)

    ✓ Can handle 'diW' on word with trailing spaces (65ms)

    ✓ Can handle 'diW' on word with leading spaces (67ms)

    ✓ Can handle 'diW' on word with numeric prefix (53ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (76ms)

    ✓ Can handle 'diW' on beginning of word (64ms)

    ✓ Can handle d} (45ms)

    ✓ Can handle y} at beginning of line (47ms)

    ✓ Select sentence with trailing spaces (72ms)

    ✓ Select sentence with leading spaces (117ms)

    ✓ Select inner sentence with trailing spaces (85ms)

    ✓ Select inner sentence with leading spaces (154ms)

    ✓ Select spaces between sentences (142ms)

    ✓ Can handle 'df' (237ms)

    ✓ Can handle 'dt' (70ms)

    ✓ Can handle backspace (48ms)

    ✓ Can handle backspace across lines (47ms)

    ✓ Can handle A and backspace (57ms)

    ✓ Can handle 'yy' without changing cursor position (39ms)

    ✓ Can handle 'P' after 'yy' (67ms)

    ✓ Can handle 'p' after 'yy' (54ms)

    ✓ Can handle 'P' after 'Nyy' (53ms)

    ✓ Can handle 'p' after 'Nyy' (75ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (66ms)

    ✓ Can handle 'gp' after 'yy' (56ms)

    ✓ Can handle 'gp' after 'Nyy' (80ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (54ms)

    ✓ Can handle 'gP' after 'yy' (74ms)

    ✓ Can handle 'gP' after 'Nyy' (61ms)

    ✓ Can handle ']p' after yy (66ms)

    ✓ Can handle ']p' after 'Nyy' (61ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (67ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (87ms)

    ✓ Can handle '[p' after yy (68ms)

    ✓ Can handle '[p' after 'Nyy' (88ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (51ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (65ms)

    ✓ Can handle 'p' after y'a (58ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (103ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (244ms)

    ✓ Can handle pasting in visual mode over selection (114ms)

    ✓ Can repeat w (40ms)

    ✓ Can repeat p (54ms)

    ✓ I works correctly (98ms)

    ✓ gI works correctly (77ms)

    ✓ gi works correctly (99ms)

    ✓ `. works correctly (77ms)

    ✓ '. works correctly (101ms)

    ✓ g; works correctly (98ms)

    ✓ g, works correctly (93ms)

    ✓ g_ works correctly (73ms)

    ✓ 3g_ works correctly (78ms)

    ✓ Can handle space (60ms)

    ✓ Can handle space

    ✓ Undo 1 (114ms)

    ✓ Undo 2 (99ms)

    ✓ Undo cursor (124ms)

    ✓ Undo cursor 2 (115ms)

    ✓ Undo cursor 3 (103ms)

    ✓ Undo with movement first (97ms)

    ✓ Can handle 'U' (66ms)

    ✓ Can handle 'U' for multiple changes (93ms)

    ✓ Can handle 'U' for new line below (77ms)

    ✓ Can handle 'U' for new line above (90ms)

    ✓ Can handle 'U' for consecutive changes only (315ms)

    ✓ Can handle 'u' to undo 'U' (69ms)

    ✓ Can handle 'U' to undo 'U' (64ms)

    ✓ Redo (96ms)

    ✓ Redo (119ms)

    ✓ Redo (145ms)

    ✓ Can handle u (61ms)

    ✓ Can handle guw (46ms)

    ✓ Can handle gUw (83ms)

    ✓ Can handle u over line breaks (68ms)

    ✓ can handle s in visual mode (77ms)

    ✓ can handle p with selection (88ms)

    ✓ can handle P with selection (88ms)

    ✓ can handle p in visual to end of line (116ms)

    ✓ can repeat backspace twice (79ms)

    ✓ can delete linewise with d2G (44ms)

    ✓ can delete with + motion and count (62ms)

    ✓ can delete with - motion and count (44ms)

    ✓ can dE correctly

    ✓ can dE correctly

    ✓ can dE correctly (60ms)

    ✓ can ctrl-a correctly behind a word (45ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor)

    ✓ can ctrl-a on word (66ms)

    ✓ can ctrl-a on a hex number

    ✓ can ctrl-a on decimal (54ms)

    ✓ can ctrl-a with numeric prefix (56ms)

    ✓ can ctrl-a on a decimal (78ms)

    ✓ can ctrl-a on an octal  (58ms)

    ✓ Correctly increments in the middle of a number (71ms)

    ✓ can ctrl-x correctly behind a word (56ms)

    ✓ can ctrl-a on an number with word before  (50ms)

    ✓ can ctrl-a on an number with word before and after 

    ✓ can ctrl-x on a negative number with word before and after  (80ms)

    ✓ can ctrl-a properly on multiple lines (52ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number) (38ms)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (75ms)

    ✓ can <C-a> on word with - in front of it (42ms)

    ✓ can do Y (56ms)

    ✓ Can do S (58ms)

    ✓ / does not affect mark (68ms)

    ✓ / can search with regex (54ms)

    ✓ / can search with newline (93ms)

    ✓ / can search through multiple newlines (62ms)

    ✓ / matches ^ per line (67ms)

    ✓ / matches $ per line (59ms)

    ✓ /\c forces case insensitive search (60ms)

    ✓ /\C forces case sensitive search (43ms)

    ✓ <BS> deletes the last character in search in progress mode (71ms)

    ✓ <S-BS> deletes the last character in search in progress mode (78ms)

    ✓ <C-h> deletes the last character in search in progress mode (64ms)

    ✓ Can do C (45ms)

    ✓ Can do cit on a matching tag (251ms)

    ✓ Ignores cit on a non-matching tag (49ms)

    ✓ Ignores cit on a nested tag (65ms)

    ✓ Can do cit on a tag with an attribute tag (84ms)

    ✓ Can do cat on a matching tag (81ms)

    ✓ Can do cit on a multiline tag (74ms)

    ✓ Can do cit on a multiline tag with nested tags (114ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (101ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (71ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (65ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (65ms)

    ✓ can do cit with self closing tags (113ms)

    ✓ Respects indentation with cc (73ms)

    ✓ Resets cursor to indent end with cc (51ms)

    ✓ can handle 'cc' on empty line (76ms)

    ✓ cc copies linewise (119ms)

    ✓ Indent current line with correct Vim Mode (42ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (114ms)

    ✓ Can handle # on skipped words (105ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (110ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (143ms)

    ✓ cc on whitespace-only treats whitespace as indent (58ms)

    ✓ Can do cai (101ms)

    ✓ Can do cii (90ms)

    ✓ Can do caI (142ms)

    ✓ Can do dai (99ms)

    ✓ Can do dii (74ms)

    ✓ Can do daI (99ms)

    can handle gn

      ✓ gn selects the next match text (198ms)

      ✓ gn selects the current word at |hello (210ms)

      ✓ gn selects the current word at h|ello (251ms)

      ✓ gn selects the current word at hel|lo (311ms)

      ✓ gn selects the current word at hell|o (190ms)

      ✓ gn selects the next word at hello| (180ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (72ms)

      ✓ dgn deletes the current word when cursor is at |hello (81ms)

      ✓ dgn deletes the current word when cursor is at h|ello (93ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (84ms)

      ✓ dgn deletes the current word when cursor is at hell|o (74ms)

      ✓ dgn deletes the next word when cursor is at hello| (105ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (70ms)

      ✓ cgn deletes the current word when cursor is at |hello (76ms)

      ✓ cgn deletes the current word when cursor is at h|ello (95ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (71ms)

      ✓ cgn deletes the current word when cursor is at hell|o (80ms)

      ✓ cgn deletes the next word when cursor is at hello| (86ms)

    can handle gN

      ✓ gN selects the previous match text (232ms)

      ✓ gN selects the current word at hell|o (328ms)

      ✓ gN selects the current word at hel|lo (184ms)

      ✓ gN selects the current word at h|ello (197ms)

      ✓ gN selects the current word at |hello (199ms)

      ✓ gN selects the previous word at | hello (263ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (67ms)

      ✓ dgN deletes the current word when cursor is at hell|o (87ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (86ms)

      ✓ dgN deletes the current word when cursor is at h|ello (68ms)

      ✓ dgN deletes the current word when cursor is at |hello (118ms)

      ✓ dgN deletes the previous word when cursor is at | hello (143ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (72ms)

      ✓ cgN deletes the current word when cursor is at hell|o (125ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (136ms)

      ✓ cgN deletes the current word when cursor is at h|ello (97ms)

      ✓ cgN deletes the current word when cursor is at |hello (103ms)

      ✓ cgN deletes the previous word when cursor is at | hello (94ms)


  Mode Replace

    ✓ Can activate with <insert> from Insert mode (39ms)

    ✓ Can activate with R from Normal mode

    ✓ Can handle R (40ms)

    ✓ Can handle R past current line (118ms)

    ✓ Can handle R and exit Replace Mode (51ms)

    ✓ Can handle R across lines (99ms)

    ✓ Can handle R across lines and exit Replace Mode (106ms)

    ✓ Can handle R with {count} (110ms)

    ✓ Can handle backspace (79ms)

    ✓ Can handle backspace (91ms)

    ✓ Can handle backspace across lines (114ms)

    ✓ Can handle arrows (52ms)

    ✓ Can handle . (94ms)

    ✓ Can handle . across lines (133ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (179ms)

    ✓ Can handle wd (89ms)

    ✓ Can handle x (333ms)

    ✓ Can handle x across a selection (107ms)

    ✓ Can do vwd in middle of sentence (132ms)

    ✓ Can do vwd in middle of sentence (131ms)

    ✓ Can do vwd multiple times (159ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (170ms)

    ✓ Can handle H key (51ms)

    ✓ handles case where we delete over a newline (162ms)

    ✓ handles change operator (108ms)

    ✓ Can do vat on multiple matching tags (103ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (134ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (97ms)

    ✓ Repeat-prefixed vat does not bleed below (80ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (87ms)

    ✓ Can do vi) on a matching parenthesis (80ms)

    ✓ Can do vi) on multiple matching parens (116ms)

    ✓ Can do va) on a matching parenthesis (68ms)

    ✓ Can do va) on multiple matching parens (72ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (70ms)

    ✓ Repeat-prefixed va) does not bleed below (61ms)

    ✓ Can do va} on a matching bracket as first character (60ms)

    ✓ Can do va} on multiple matching brackets (134ms)

    ✓ Can do vi( on a matching bracket near first character (84ms)

    ✓ Can do vi{ on outer pair of nested braces (71ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (88ms)

    ✓ Can do va] on multiple matching brackets (303ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (101ms)

    ✓ Repeat-prefixed vaf does not bleed below (75ms)

    ✓ vaf only expands to enclosing pairs (77ms)

    ✓ Can use . to repeat indent in visual (76ms)

    ✓ Can do v_x to delete to first char (78ms)

    ✓ Can do vg_x to delete to last char with no EOL (82ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (72ms)

    ✓ Can do v$x to delete to last char including EOL (69ms)

    ✓ Can do gv to reselect previous selection (111ms)

    Vim's EOL handling is weird

      ✓ delete through eol (97ms)

      ✓ join 2 lines by deleting through eol (101ms)

      ✓ d$ doesn't delete whole line (79ms)

      ✓ vd$ does delete whole line (79ms)

      ✓ Paste over selection copies the selection (71ms)

      ✓ Paste over selection copies the selection linewise (82ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (67ms)

      ✓ Can handle <down> key (66ms)

      ✓ Can handle <left> key (63ms)

      ✓ Can handle <right> key (59ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (104ms)

      ✓ Can handle 'vawd' on word with trailing spaces (68ms)

      ✓ Can handle 'vawd' on word with leading spaces (93ms)

      ✓ Can handle 'vawd' on word with numeric prefix (80ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (102ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (141ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (71ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (72ms)

      ✓ Can handle 'vaWd' on word with leading spaces (100ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (54ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (285ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (76ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (109ms)

      ✓ Can handle 'vaWd' on word with leading spaces (103ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (69ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (110ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (89ms)

      ✓ Can handle 'vawd' on word with trailing spaces (92ms)

      ✓ Can handle 'vawd' on word with leading spaces (82ms)

      ✓ Can handle 'vawd' on word with numeric prefix (79ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (171ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (184ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (104ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (73ms)

      ✓ Can handle 'vaWd' on word with leading spaces (90ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (49ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (92ms)

      ✓ Can handle 'Y' in visual mode (48ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (79ms)

      ✓ Select sentence with leading spaces in visual mode (150ms)

      ✓ Select multiple sentences in visual mode (120ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (104ms)

      ✓ Select inner sentence with leading spaces in visual mode (282ms)

      ✓ Select spaces between sentences in visual mode (129ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (98ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (77ms)

      ✓ Can do vat on a matching tag (83ms)

    handles replace in visual mode

      ✓ Can do a single line replace (87ms)

      ✓ Can do a multi line replace (88ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (67ms)

      ✓ D deletes the current line (97ms)

    handles indent blocks in visual mode

      ✓ Can do vai (82ms)

      ✓ Can do vii (110ms)

      ✓ Doesn't naively select the next line (77ms)

      ✓ Searches backwards if cursor line is empty (61ms)

      ✓ Can do vaI (115ms)

    visualstar

      ✓ Works with * (70ms)

      ✓ Works with # (59ms)

    search works in visual mode

      ✓ Works with / (60ms)

      ✓ Works with ? (99ms)

      ✓ Selects correct range (106ms)

    X will delete linewise

      ✓ normal selection (51ms)

      ✓ normal selection (63ms)

    C will delete linewise

      ✓ normal selection (77ms)

      ✓ normal selection (63ms)

    R will delete linewise

      ✓ normal selection (64ms)

      ✓ normal selection (55ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (80ms)

      ✓ upward selection (90ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (63ms)

      ✓ multiline indent bottom up selection (64ms)

      ✓ repeat multiline indent top down selection (67ms)

      ✓ repeat multiline indent bottom up selection (93ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (90ms)

      ✓ multiline outdent bottom up selection (90ms)

      ✓ repeat multiline outdent top down selection (118ms)

      ✓ repeat multiline outdent bottom up selection (130ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (142ms)

    vi{ will go to end of second to last line

      ✓ select (73ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

      ✓ gv selects the last pasted text (which is shorter than original) (455ms)

      ✓ gv selects the last pasted text (which is longer than original) (321ms)

      ✓ gv selects the last pasted text (multiline) (184ms)

    can handle gn

      ✓ gn selects the next match text (178ms)

      ✓ gn selects the current word at |hello (200ms)

      ✓ gn selects the current word at h|ello (194ms)

      ✓ gn selects the current word at hel|lo (189ms)

      ✓ gn selects the next word at hell|o (198ms)

      ✓ gn selects the next word at hello| (254ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (94ms)

      ✓ multiline insert from top down selection (63ms)

      ✓ skips blank lines (50ms)

    can append text with A

      ✓ multiline append from bottom up selection (51ms)

      ✓ multiline append from top down selection (82ms)

      ✓ skips blank lines (53ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (126ms)

    ✓ Can handle A backwards select (62ms)

    ✓ Can handle I forward select (52ms)

    ✓ Can handle I backwards select (71ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (68ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (113ms)

    ✓ Can handle c forward select (80ms)

    ✓ Can handle c backwards select (81ms)

    ✓ Can handle C (70ms)

    ✓ Can do a multi line replace (298ms)

    ✓ Can handle 'D' (68ms)

    ✓ Can handle 'gj' (85ms)

    ✓ Properly add to end of lines j then $ (62ms)

    ✓ Properly add to end of lines $ then j (83ms)

    ✓ o works in visual block mode (79ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (212ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (165ms)

    ✓ Can handle wd (106ms)

    ✓ Can handle x (102ms)

    ✓ Can handle U (96ms)

    ✓ Can handle x across a selection (105ms)

    ✓ Can do vwd in middle of sentence (150ms)

    ✓ Can do vwd in middle of sentence (98ms)

    ✓ Can do vwd multiple times (156ms)

    ✓ Can handle U across a selection (110ms)

    ✓ Can handle U across a selection in reverse order (134ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (135ms)

    ✓ handles case where we delete over a newline (125ms)

    ✓ handles change operator (154ms)

    ✓ Vp updates register content (107ms)

    ✓ Vp does not append unnecessary newlines (first line) (72ms)

    ✓ Vp does not append unnecessary newlines (middle line) (69ms)

    ✓ Vp does not append unnecessary newlines (last line) (146ms)

    Vim's EOL handling is weird

      ✓ delete through eol (102ms)

      ✓ join 2 lines by deleting through eol (95ms)

      ✓ d$ doesn't delete whole line (89ms)

      ✓ vd$ does delete whole line (125ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (72ms)

      ✓ Can handle <down> key (71ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (62ms)

      ✓ Can handle d key (61ms)

      ✓ Can handle d key (72ms)

      ✓ Can handle d key (59ms)

      ✓ can handle 'c' (57ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (90ms)

      ✓ Can do a multi visual line replace (74ms)

      ✓ Can do a multi visual line replace from the bottom up (74ms)

    search works in visual line mode

      ✓ Works with / (79ms)

      ✓ Works with ? (68ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (181ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (55ms)

      ✓ linewise visual put works also in the end of document (99ms)

      ✓ gv selects the last pasted text (which is shorter than original) (317ms)

      ✓ gv selects the last pasted text (which is longer than original) (311ms)

      ✓ gv selects the last pasted text (multiline) (223ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (104ms)

      ✓ multiline insert from top down selection (57ms)

      ✓ skips blank lines (97ms)

    can append text with A

      ✓ multiline append from bottom up selection (105ms)

      ✓ multiline append from top down selection (52ms)

      ✓ skips blank lines (85ms)



  Mode Normal

    ✓ Can handle 'x' (70ms)

    ✓ Can handle 'Nx' (47ms)

    ✓ Can handle 'Nx' and paste (56ms)

    ✓ Can handle 'x' at end of line (114ms)

    ✓ Can handle 'Ns' (82ms)

    ✓ Can handle 'Ns' at end of line (60ms)

    ✓ Can handle '<Del>' (47ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (130ms)

    ✓ Can handle '<Del>' at end of line (96ms)

    ✓ Can handle 'cc' (304ms)

    ✓ Can handle 'Ncc' (74ms)

    ✓ Can handle 'yy' (63ms)

    ✓ Can handle 'D' (49ms)

    ✓ Can handle 'D' on empty lines (57ms)

    ✓ Can handle 'DD' (63ms)

    ✓ Can handle 'C' (87ms)

    ✓ Can handle 'NC' (71ms)

    ✓ Can handle 'r' (81ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle '<Count>r' (54ms)

    ✓ Can handle 'r' after 'dd' (94ms)

    ✓ Can handle 'J' once (76ms)

    ✓ Can handle 'J' twice (66ms)

    ✓ Can handle 'J' with empty last line (58ms)

    ✓ Can handle 'J's with multiple empty last lines (100ms)

    ✓ Can handle 'J' with leading white space on next line (81ms)

    ✓ Can handle 'J' with only white space on next line (44ms)

    ✓ Can handle 'J' with TWO indented lines (79ms)

    ✓ Can handle 'J' with ')' first character on next line (54ms)

    ✓ Can handle 'J' with a following delete (49ms)

    ✓ Can handle 'J' in Visual Line mode (51ms)

    ✓ Can handle 'gJ' once (65ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (60ms)

    ✓ Can handle '~'

    ✓ Can handle 'g~{motion}' (68ms)

    ✓ Can handle '<BS>' in insert mode (54ms)

    ✓ Can handle undo with P (106ms)

    ✓ Can handle 'ge' in multiple lines case1 (71ms)

    ✓ Can handle 'ge' in multiple lines case2 (168ms)


  Dot Operator

    ✓ Can repeat '~' with <num> (77ms)

    ✓ Can repeat '~' with dot (46ms)

    ✓ Can repeat 'x'

    ✓ Can repeat 'J' (67ms)

    ✓ Can handle dot with A (78ms)

    ✓ Can handle dot with I (91ms)

    ✓ Can repeat actions that require selections (75ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (93ms)

    ✓ Can repeat insert change and '<C-t>' (88ms)

    ✓ Can repeat change by `<C-a>` (107ms)

    ✓ Only one arrow key can be repeated in Insert Mode (76ms)

    ✓ Cached content change will be cleared by arrow keys (79ms)



  Matching Bracket (%)

    ✓ before opening parenthesis

    ✓ inside parenthesis (39ms)

    ✓ nested parenthesis beginning (42ms)

    ✓ nested parenthesis end (45ms)

    ✓ nested bracket and parenthesis beginning (44ms)

    ✓ nested bracket, parenthesis, braces beginning

    ✓ nested bracket, parenthesis, braces end (49ms)



  Motions in Normal Mode

    ✓ Can handle [( (49ms)

    ✓ Can handle nested [( (46ms)

    ✓ Can handle <number>[( (40ms)

    ✓ Can handle [( and character under cursor exclusive (40ms)

    ✓ Can handle ]) (58ms)

    ✓ Can handle nested ]) (65ms)

    ✓ Can handle <number>]) (66ms)

    ✓ Can handle ]) and character under cursor exclusive (78ms)

    ✓ Can handle [{ (55ms)

    ✓ Can handle nested [{ (53ms)

    ✓ Can handle <number>[{ (56ms)

    ✓ Can handle [{ and character under cursor exclusive (52ms)

    ✓ Can handle ]} (44ms)

    ✓ Can handle nested ]} (47ms)

    ✓ Can handle <number>]} (59ms)

    ✓ Can handle ]} and character under cursor exclusive (71ms)

    ✓ Can handle 'ge' (91ms)

    ✓ Can handle 'gg' (64ms)

    ✓ Can handle 'gg' to first non blank char on random line (51ms)

    ✓ Can handle 'gg' to first non blank char on first line (90ms)

    ✓ Retain same column when moving up/down (57ms)

    ✓ Can handle <enter> (63ms)

    ✓ $ always keeps cursor on EOL (81ms)

    ✓ Can handle $ with a count (41ms)

    ✓ Can handle $ with a count at end of file (59ms)

    ✓ Can handle <end> with a count (59ms)

    ✓ Can handle <D-right> with a count (45ms)

    ✓ Can handle 'f' (76ms)

    ✓ Can handle 'f' twice (84ms)

    ✓ Can handle 'F' (53ms)

    ✓ Can handle 'F' twice (70ms)

    ✓ Can handle 't' (58ms)

    ✓ Can handle 't' twice (63ms)

    ✓ Can handle 'T' (44ms)

    ✓ Can handle 'T' twice (69ms)

    ✓ Can run a forward search (77ms)

    ✓ Can run a forward and find next search (60ms)

    ✓ Can run a reverse search (79ms)

    ✓ Can run a reverse and find next search (112ms)

    ✓ maintains column position correctly (46ms)

    ✓ maintains column position correctly with $ (41ms)

    ✓ Can handle G 

    ✓ Can handle G with number prefix (42ms)

    ✓ Can handle G with number prefix (70ms)

    ✓ Can handle gg (49ms)

    ✓ Can handle gg with number prefix (71ms)

    ✓ Can handle 0 (53ms)

    ✓ Can handle 0 as part of a repeat (41ms)

    ✓ Can handle g* (46ms)

    ✓ Can handle g*n (53ms)

    ✓ Can handle * (53ms)

    ✓ Can handle ** (39ms)

    ✓ Can handle # on whitespace (62ms)

    ✓ Can handle # on EOL (65ms)

    ✓ Can handle g# (125ms)

    ✓ Can handle g#n (100ms)

    ✓ Can handle # (63ms)

    ✓ Can handle # already on the word (70ms)

    ✓ Can handle ## (61ms)

    ✓ Can handle | (65ms)

    ✓ Can handle <number> | (88ms)

    ✓ Can handle + (42ms)

    ✓ Can handle + indent

    ✓ Can handle + with count prefix (47ms)

    ✓ Can handle - (44ms)

    ✓ Can handle - indent

    ✓ Can handle - with count prefix (42ms)

    ✓ Can handle _ (40ms)

    ✓ Can handle _ with count prefix (62ms)

    ✓ Can handle g_ (62ms)

    ✓ Can handle g_ with count prefix (77ms)

    ✓ Can handle <up> key (48ms)

    ✓ Can handle <down> key (59ms)

    ✓ Can handle <left> key (60ms)

    ✓ Can handle <right> key



  basic motion

    ✓ char right: should move one column right

    ✓ char right
    ✓ char left: should move cursor one column left
    ✓ char left: left-most column should stay at the same location
    ✓ line down: should move cursor one line down
    ✓ line down: bottom-most line should stay at the same location
    ✓ line begin

    ✓ line end
    ✓ document begin
    ✓ document end
    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character
    line up
      ✓ should move cursor one line up

      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    word right

      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word

      ✓ first word should move to previous line, stops on empty line

      ✓ first word should move to previous line, skips whitespace only line

    WORD right

      ✓ move to WORD right

      ✓ last WORD should move to next line

      ✓ last WORD should move to next line stops on empty line

      ✓ last WORD should move to next line skips whitespace only line

    WORD left

      ✓ move cursor WORD left across spaces

      ✓ move cursor WORD left within WORD

      ✓ first WORD should move to previous line, beginning of last WORD

      ✓ first WORD should move to previous line, stops on empty line

      ✓ first WORD should move to previous line, skips whitespace only line

    end of word right

      ✓ move to end of current word right

      ✓ move to end of next word right

      ✓ end of last word should move to next line

      ✓ end of last word should move to next line skips empty line

      ✓ end of last word should move to next line skips whitespace only line

    end of WORD right

      ✓ move to end of current WORD right

      ✓ move to end of next WORD right

      ✓ end of last WORD should move to next line

      ✓ end of last WORD should move to next line skips empty line

      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces
    sentence backward
      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside
      ✓ current sentence begin when it's not the same as current paragraph begin
      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally
      ✓ move down longer paragraph

      ✓ move down starting inside empty line
      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph
      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (38ms)

        ✓ l wraps to next line

        ✓ <left> wraps to previous line (47ms)

        ✓ <right> wraps to next line (76ms)

      insert mode

        ✓ <left> wraps to previous line (55ms)

        ✓ <right> once goes to end of line (50ms)

        ✓ <right> twice wraps to next line (66ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (70ms)

        ✓ l does not wrap to next line (44ms)

        ✓ <left> does not wrap to previous line

        ✓ <right> does not wrap to next line (44ms)

      insert mode

        ✓ <left> does not wrap to previous line (49ms)

        ✓ <right> does not wrap to next line (71ms)



  Multicursor

    ✓ can add multiple cursors below (97ms)

    ✓ can add multiple cursors above (141ms)



  numeric string

    ✓ fails on non-string
    ✓ handles hex round trip
    ✓ handles decimal round trip
    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (126ms)

    ✓ gcj comments in current and next line (187ms)

    ✓ block comment with motion (274ms)

    ✓ block comment in Visual Mode (294ms)


  format operator

    ✓ == formats current line (1835ms)

    ✓ =$ formats entire line (159ms)

    ✓ =j formats two lines (76ms)

    ✓ 3=k formats three lines (98ms)

    ✓ =gg formats to top of file (83ms)

    ✓ =G formats to bottom of file (67ms)

    ✓ =ip formats paragraph (81ms)

    ✓ format in visual mode (102ms)



  put operator

    ✓ basic put test (349ms)

    ✓ test yy end of line (62ms)

    ✓ test yy first line (74ms)

    ✓ test yy middle line (60ms)

    ✓ test yy with correct positon movement (62ms)

    ✓ test visual block single line yank p (64ms)

    ✓ test visual block single line yank P (67ms)

    ✓ test visual block single line delete p (58ms)

    ✓ test visual block single line delete P (68ms)



  shift operator

    ✓ basic shift left test (56ms)

    ✓ shift left goto end test (51ms)

    ✓ shift left goto line test (50ms)

    ✓ shift right goto end test

    ✓ shift right goto line test (59ms)



  easymotion plugin

    ✓ Can handle s move (139ms)

    ✓ Can handle 2s move (69ms)

    ✓ Can handle f move (83ms)

    ✓ Can handle 2f move (60ms)

    ✓ Can handle F move (154ms)

    ✓ Can handle 2F move (116ms)

    ✓ Can handle t move (83ms)

    ✓ Can handle bd-t move (79ms)

    ✓ Can handle 2t move (97ms)

    ✓ Can handle bd-t2 move (113ms)

    ✓ Can handle T move (72ms)

    ✓ Can handle 2T move (395ms)

    ✓ Can handle w move (75ms)

    ✓ Can handle bd-w move (91ms)

    ✓ Can handle b move (105ms)

    ✓ Can handle e move (74ms)

    ✓ Can handle bd-e move (98ms)

    ✓ Can handle ge move (142ms)

    ✓ Can handle n-char move (79ms)

    ✓ Can handle j move (86ms)

    ✓ Can handle k move (57ms)

    ✓ Can handle bd-jk move (1) (98ms)

    ✓ Can handle bd-jk move (2) (75ms)

    ✓ Can handle lineforward move (1) (54ms)

    ✓ Can handle lineforward move (2) (95ms)

    ✓ Can handle linebackward move (1) (77ms)

    ✓ Can handle linebackward move (2) (89ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode



  sneak plugin

    ✓ Can handle s motion (57ms)

    ✓ Can handle S motion (67ms)

    ✓ Can handle <operator>z motion (64ms)

    ✓ Can handle <operator>Z motion (86ms)

    ✓ Can handle s; motion (74ms)

    ✓ Can handle s, motion (49ms)

    ✓ Can handle S; motion (70ms)

    ✓ Can handle S, motion (72ms)


  surround plugin

    ✓ 'ysiw)' surrounds word without space (112ms)

    ✓ 'ysiw(' surrounds word with space (111ms)

    ✓ 'ysw)' surrounds word without space (80ms)

    ✓ 'ysw(' surrounds word with space (91ms)

    ✓ 'ysaw)' surrounds word without space (116ms)

    ✓ 'ysaw(' surrounds word with space (71ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (90ms)

    ✓ 'ysiw<' surrounds word with tags (116ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (87ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (110ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (90ms)

    ✓ change surround (80ms)

    ✓ change surround with alias (106ms)

    ✓ change surround to tags (123ms)

    ✓ delete surround (81ms)

    ✓ delete surround with alias (131ms)

    ✓ delete surround with tags (390ms)

    ✓ change surround brackets at end of line (84ms)

    ✓ changing brackets with surround works again (92ms)

    ✓ change surround with tags that contain an attribute and preserve them (102ms)

    ✓ change surround with tags that contain an attribute and remove them (149ms)



  register

    ✓ Can copy to a register (75ms)

    ✓ Can use two registers together (125ms)

    ✓ Can use black hole register (89ms)

    ✓ System clipboard works with chinese characters (66ms)

    ✓ Yank stores text in Register '0' (320ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (193ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (150ms)

    ✓ Register '1'-'9' stores delete content (221ms)

    ✓ "A appends linewise text to "a (173ms)

    ✓ "A appends character wise text to "a (188ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (73ms)

      ✓ Can access '+' (clipboard) register (105ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (42ms)

    ✓ Can repeat reversed F<character> (53ms)

0 -> :wq through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:296:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  5) Remapper
       leader, w -> closeActiveEditor in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:320:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  6) Remapper
       leader, c -> closeActiveEditor in visual mode through modehandler:

      AssertionError [ERR_ASSERTION]: false == true
      + expected - actual

      -false
      +true
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:347:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  7) Remapper
       d -> black hole register delete in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: 'line1' == 'text-to-put-on-register'
      + expected - actual

      -line1
      +text-to-put-on-register
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:375:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  8) Remapper
       d -> black hole register delete in normal mode through modehandler:

      AssertionError [ERR_ASSERTION]: 'word1 ' == 'text-to-put-on-register'
      + expected - actual

      -word1 
      +text-to-put-on-register
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:402:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>


  9) Remapper
       jj -> <Esc> after ciw operator through modehandler:

      AssertionError [ERR_ASSERTION]: 1 == 0
      + expected - actual

      -1
      +0
      
      at Object.<anonymous> (test/configuration/remapper.test.ts:427:12)
      at Generator.next (<anonymous>)
      at fulfilled (out/test/configuration/remapper.test.js:4:58)
      at <anonymous>






Tests exited with code: 1
TravisBuddy Request Identifier: 5e871950-23ac-11e9-b0c4-a3eb907e7b53

@TravisBuddy
Copy link

Travis tests have failed

Hey @jpoon,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.

Node.js: 8

View build log

if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi
The command "if [[ $(git diff-index HEAD -- *.js *.ts *.md) ]]; then git diff; echo "Prettier Failed. Run `gulp forceprettier` and commit changes to resolve."; exit 1; fi" exited with 0.

$ npm run build

> vim@1.0.3 build /home/travis/build/VSCodeVim/Vim
> gulp build

[10:39:50] Using gulpfile ~/build/VSCodeVim/Vim/gulpfile.js
[10:39:50] Starting 'build'...
[10:39:50] Starting 'prettier'...
[10:39:50] Finished 'prettier' after 23 ms
[10:39:50] Starting 'tsc'...
[10:39:50] Starting 'tslint'...
[10:39:58] Finished 'tslint' after 7.97 s
[10:40:06] Finished 'tsc' after 16 s
[10:40:06] Finished 'build' after 16 s
The command "npm run build" exited with 0.

$ npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 10:40:13 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive

    ✓ couldActionApply 1D keys negative
    ✓ couldActionApply 2D keys positive
    ✓ couldActionApply 2D keys negative

    ✓ doesActionApply 1D keys positive

    ✓ doesActionApply 1D keys negative

    ✓ doesActionApply 2D keys positive

    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (44ms)

    ✓ add empty command (53ms)

    ✓ add command over configuration.history (48ms)

    ✓ add command that exists in history (40ms)

    ✓ file system (61ms)

    ✓ change configuration.history (118ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (156ms)

    ✓ Sort whole file, dsc (117ms)

    ✓ Sort range, asc (161ms)

    ✓ Sort range, dsc (163ms)



  Horizontal split

    ✓ Run :sp (64ms)

    ✓ Run :split (58ms)

    ✓ Run :new (58ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args
    ✓ ignores trailing white space

    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input


  :quit args parser
    ✓ has all aliases
    ✓ can parse empty args

    ✓ ignores trailing white space
    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter
    ✓ can parse flag KeepPreviousFlags

  :write args parser
    ✓ has all aliases
    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name

    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty



  Basic substitute

    ✓ Replace single word once (98ms)

    ✓ Replace with `g` flag (92ms)

    ✓ Replace with flags AND count (135ms)

    ✓ Replace with `c` flag (85ms)

    ✓ Replace with `gc` flag (156ms)

    ✓ Replace across all lines (148ms)

    ✓ Replace on specific single line (134ms)

    ✓ Replace on current line using dot (119ms)

    ✓ Replace single relative line using dot and plus (149ms)

    ✓ Replace across specific line range (134ms)

    ✓ Replace across relative line range using dot, plus, and minus (102ms)

    ✓ Replace across relative line range using numLines+colon shorthand (108ms)

    ✓ Repeat replacement across relative line range (100ms)

    ✓ Replace with range AND count but no flags (96ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (100ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (115ms)

    ✓ Undocumented: trailing operators use 1 as RHS (91ms)

    ✓ Replace specific single equal lines (83ms)

    ✓ Replace current line with no active selection (111ms)

    ✓ Replace text in selection (192ms)

    ✓ Substitute support marks (120ms)
    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (54ms)

      ✓ Replace with `g` flag inverts global flag (74ms)

      ✓ Replace with `c` flag inverts global flag (100ms)

      ✓ Replace multiple lines (104ms)

      ✓ Replace across specific lines (87ms)

      ✓ Replace current line with no active selection (102ms)

      ✓ Replace text in selection (181ms)

      ✓ Substitute support marks (97ms)

      ✓ Substitute with escaped delimiter (88ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (285ms)

      ✓ Substitute with previous search using # (271ms)

      ✓ Substitute with previous search using / (290ms)

      ✓ Substitute with parameters should update search state (163ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (337ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (164ms)

      ✓ Substitute repeat previous should accept flags (90ms)

      ✓ Substitute with empty search string should use last searched pattern (305ms)


  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (56ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file (52ms)

    ✓ tabe with absolute path when not in workspace opens file (71ms)

    ✓ tabe with current file path does nothing (75ms)



  Vertical split

    ✓ Run :vs (67ms)

    ✓ Run :vsp (81ms)

    ✓ Run :vsplit (61ms)

    ✓ Run :vnew (240ms)

    ✓ Run :vne (212ms)



  Basic write-quit

    ✓ Run write and quit (182ms)



  Provide line completions

    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (154ms)

      ✓ Can complete lines in file with different indentation (51ms)

      ✓ Returns no completions for unmatched line (58ms)



  Configuration

    ✓ remappings are normalized

    1) Can handle long key chords

    ✓ whichwrap is parsed into wrapKeys



  Notation

    ✓ Normalize



  Remapper

    ✓ getLongestedRemappedKeySequence (114ms)

    ✓ getMatchingRemap (88ms)

    ✓ jj -> <Esc> through modehandler (110ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ 0 -> :wq through modehandler (126ms)

    ✓ leader, w -> closeActiveEditor in normal mode through modehandler (101ms)

    ✓ leader, c -> closeActiveEditor in visual mode through modehandler (130ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (188ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (216ms)

    ✓ jj -> <Esc> after ciw operator through modehandler (180ms)



  Error
    ✓ error code has message

  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers


  Record and navigate jumps
    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim

      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (50ms)

        ✓ Can track jumps for keys: GggG (79ms)

        ✓ Can track jumps for keys: GggGgg (65ms)

        ✓ Can track jumps for keys: /b<CR>n (90ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (83ms)

        ✓ Can track jumps for keys: j%% (74ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (60ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (67ms)

        ✓ Can track jumps for keys: j%%<C-o>% (78ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (69ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (67ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (118ms)

        ✓ Can enter number to jump back multiple times (78ms)

        ✓ Can track one-line `` jumps (104ms)

        ✓ Can track one-line double `` jumps (140ms)

        ✓ Can track one-line '' jumps (114ms)

        ✓ Can track one-line double '' jumps (121ms)

        ✓ Can handle '' jumps with no previous jump (67ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (106ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (77ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (105ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (172ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (142ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (192ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (188ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (180ms)

[main 10:40:43 AM] update#setState checking for updates

[main 10:40:43 AM] update#setState idle

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (184ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (76ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (190ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (46ms)



  Record and execute a macro

    ✓ Can record and execute (192ms)

    ✓ Can repeat last invoked macro (255ms)

    ✓ Can play back with count (446ms)

    ✓ Can play back with count, abort when a motion fails (431ms)

    ✓ Repeat change on contiguous lines (201ms)

    ✓ Append command to a macro (202ms)

    ✓ Can record Ctrl Keys and repeat (179ms)

    ✓ Can execute macros with dot commands properly (146ms)



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (131ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (82ms)

    ✓ <C-c> can exit insert (88ms)

    ✓ <Esc> can exit insert (76ms)

    ✓ Stay in insert when entering characters (90ms)

    ✓ Can handle 'O' (87ms)

    ✓ Can handle 'i' (130ms)

    ✓ Can handle 'I' (113ms)

    ✓ Can handle 'a' (102ms)

    ✓ Can handle 'A' (69ms)

    ✓ Can handle '<C-w>' (108ms)

    ✓ Can handle <C-w> on leading whitespace (57ms)

    ✓ Can handle <C-w> at beginning of line (67ms)

    ✓ Can handle <C-u> (85ms)

    ✓ Can handle <C-u> on leading characters (75ms)

    ✓ Can handle <C-u> on leading whitespace (67ms)

    ✓ Correctly places the cursor after deleting the previous line break (107ms)

    ✓ will not remove leading spaces input by user (54ms)

    ✓ will remove closing bracket (55ms)

    ✓ Backspace works on whitespace only lines (90ms)

    ✓ Backspace works on end of whitespace only lines (155ms)

    ✓ Backspace works at beginning of file (55ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (199ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (90ms)

    ✓ Can perform insert command prefixed with count (69ms)

    ✓ Can perform append command prefixed with count (94ms)

    ✓ Can perform insert at start of line command prefixed with count (75ms)

    ✓ Can perform append to end of line command prefixed with count (73ms)

    ✓ Can perform change char (s) command prefixed with count (124ms)

    ✓ Can perform command prefixed with count with <C-[> (58ms)

    ✓ Can handle 'o' with count (163ms)

    ✓ Can handle 'O' with count (121ms)



  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (63ms)

    ✓ Can handle dw (74ms)

    ✓ Can handle dw (68ms)

    ✓ Can handle dw across lines (1) (90ms)

    ✓ Can handle dw across lines (2) (73ms)

    ✓ Can handle dd last line (69ms)

    ✓ Can handle dd single line (68ms)

    ✓ Can handle dd (60ms)

    ✓ Can handle 3dd (55ms)

    ✓ Can handle 3dd off end of document (69ms)

    ✓ Can handle d2d (80ms)

    ✓ Can handle dd empty line (81ms)

    ✓ Can handle ddp (70ms)

    ✓ Can handle 'de' (100ms)

    ✓ Can handle 'de' then 'de' again (130ms)

    ✓ Can handle 'db' (68ms)

    ✓ Can handle 'db then 'db' again (88ms)

    ✓ Can handle 'dl' at end of line (127ms)

    ✓ Can handle 'dF' (79ms)

    ✓ Can handle 'dT' (76ms)

    ✓ Can handle 'd3' then <enter> (85ms)

    ✓ Can handle 'dj' (69ms)

    ✓ Can handle 'dk' (63ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (82ms)

    ✓ Can handle 'd]}' without deleting closing bracket (84ms)

    ✓ Can handle 'cw' (107ms)

    ✓ Can handle 'cw' without deleting following white spaces (64ms)

    ✓ Can handle 'c2w' (81ms)

    ✓ Can handle 'cw' without removing EOL (89ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (118ms)

    ✓ Can handle 'c]}' without deleting closing bracket (103ms)

    ✓ Can handle 's' (78ms)

    ✓ Can handle 'yiw' with correct cursor ending position (72ms)

    ✓ Can handle 'ciw' (100ms)

    ✓ Can handle 'ciw' on blanks (99ms)

    ✓ Can handle 'caw' (100ms)

    ✓ Can handle 'caw' on first letter (101ms)

    ✓ Can handle 'caw' on blanks (119ms)

    ✓ Can handle 'caw' on blanks (64ms)

    ✓ Can handle 'ci(' on first parentheses (68ms)

    ✓ Can handle 'ci(' with nested parentheses (68ms)

    ✓ Can handle 'ci(' backwards through nested parens (116ms)

    ✓ Can handle 'cib' on first parentheses (70ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (86ms)

    ✓ Can handle count prefixed 'ci)' (87ms)

    ✓ Can handle count prefixed 'ca)' (112ms)

    ✓ Can handle 'ca(' spanning multiple lines (79ms)

    ✓ Can handle 'cab' spanning multiple lines (91ms)

    ✓ Can handle 'ci{' spanning multiple lines (51ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (70ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (77ms)

    ✓ Can handle 'ci(' on the closing bracket (94ms)

    ✓ Can handle 'ciB' spanning multiple lines (65ms)

    ✓ will fail when ca( with no () (52ms)

    ✓ will fail when ca{ with no {} (103ms)

    ✓ will fail when caB with no {} (45ms)

    ✓ Can handle 'ci[' spanning multiple lines (86ms)

    ✓ Can handle 'ci]' on first bracket (79ms)

    ✓ Can handle 'ca[' on first bracket (74ms)

    ✓ Can handle 'ca]' on first bracket (66ms)

    ✓ Can handle 'ci'' on first quote (87ms)

    ✓ Can handle 'ci'' inside quoted string (64ms)

    ✓ Can handle 'ci'' on closing quote (76ms)

    ✓ Can handle 'ci'' when string is ahead (63ms)

    ✓ Can handle 'ci"' on opening quote (56ms)

    ✓ Can handle 'ci"' starting behind the quoted word (56ms)

    ✓ Can handle 'ca"' starting behind the quoted word (77ms)

    ✓ Can handle 'ca"' starting on the opening quote (98ms)

    ✓ Can handle 'ci"' with escaped quotes (110ms)

    ✓ Can handle 'ci"' with a single escaped quote (57ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (98ms)

    ✓ Can handle 'ci"' with an escaped backslash (84ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (88ms)

    ✓ Can handle 'ca"' starting on the closing quote (86ms)

    ✓ Can handle 'ci"' with complex escape sequences (90ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (77ms)

    ✓ will fail when ca" ahead of quoted string (75ms)

    ✓ Can handle 'ca`' inside word (70ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (70ms)

    ✓ Can handle 'daw' on word with trailing spaces (73ms)

    ✓ Can handle 'daw' on word with leading spaces (95ms)

    ✓ Can handle 'daw' on word with numeric prefix (94ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (77ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (87ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (108ms)

    ✓ Can handle 'daw' on end of word (113ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (55ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (57ms)

    ✓ Can handle 'daw' on word at beginning of file (55ms)

    ✓ Can handle 'daw' on word at beginning of line (68ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (63ms)

    ✓ Can handle 'daw' around word at end of line (92ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (75ms)

    ✓ Can handle 'daW' around word at whitespace (66ms)

    ✓ Can handle 'daW' on word with trailing spaces (69ms)

    ✓ Can handle 'daW' on word with leading spaces (89ms)

    ✓ Can handle 'daW' on word with numeric prefix (58ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (115ms)

    ✓ Can handle 'daW' on beginning of word (73ms)

    ✓ Can handle 'daW' on end of one line (69ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (71ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (69ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (90ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (118ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (80ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (66ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (114ms)

    ✓ Can handle 'diw' on word (87ms)

    ✓ Can handle 'diw' on word with numeric prefix (70ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (96ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (81ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (104ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (94ms)

    ✓ Can handle 'diW' on word with trailing spaces (81ms)

    ✓ Can handle 'diW' on word with leading spaces (74ms)

    ✓ Can handle 'diW' on word with numeric prefix (59ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (120ms)

    ✓ Can handle 'diW' on beginning of word (69ms)

    ✓ Can handle d} (61ms)

    ✓ Can handle y} at beginning of line (58ms)

    ✓ Select sentence with trailing spaces (74ms)

    ✓ Select sentence with leading spaces (116ms)

    ✓ Select inner sentence with trailing spaces (70ms)

    ✓ Select inner sentence with leading spaces (113ms)

    ✓ Select spaces between sentences (111ms)

    ✓ Can handle 'df' (97ms)

    ✓ Can handle 'dt' (74ms)

    ✓ Can handle backspace (41ms)

    ✓ Can handle backspace across lines (49ms)

    ✓ Can handle A and backspace (50ms)

    ✓ Can handle 'yy' without changing cursor position (56ms)

    ✓ Can handle 'P' after 'yy' (102ms)

    ✓ Can handle 'p' after 'yy' (50ms)

    ✓ Can handle 'P' after 'Nyy' (56ms)

    ✓ Can handle 'p' after 'Nyy' (57ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (65ms)

    ✓ Can handle 'gp' after 'yy' (83ms)

    ✓ Can handle 'gp' after 'Nyy' (64ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (71ms)

    ✓ Can handle 'gP' after 'yy' (64ms)

    ✓ Can handle 'gP' after 'Nyy' (91ms)

    ✓ Can handle ']p' after yy (101ms)

    ✓ Can handle ']p' after 'Nyy' (83ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (61ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (73ms)

    ✓ Can handle '[p' after yy (69ms)

    ✓ Can handle '[p' after 'Nyy' (66ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (85ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (66ms)

    ✓ Can handle 'p' after y'a (69ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (67ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (73ms)

    ✓ Can handle pasting in visual mode over selection (130ms)

    ✓ Can repeat w (46ms)

    ✓ Can repeat p (51ms)

    ✓ I works correctly (82ms)

    ✓ gI works correctly (115ms)

    ✓ gi works correctly (156ms)

    ✓ `. works correctly (95ms)

    ✓ '. works correctly (85ms)

    ✓ g; works correctly (133ms)

    ✓ g, works correctly (112ms)

    ✓ g_ works correctly (59ms)

    ✓ 3g_ works correctly (59ms)

    ✓ Can handle space (49ms)

    ✓ Can handle space (53ms)

    ✓ Undo 1 (115ms)

    ✓ Undo 2 (105ms)

    ✓ Undo cursor (356ms)

    ✓ Undo cursor 2 (139ms)

    ✓ Undo cursor 3 (158ms)

    ✓ Undo with movement first (127ms)

    ✓ Can handle 'U' (89ms)

    ✓ Can handle 'U' for multiple changes (148ms)

    ✓ Can handle 'U' for new line below (119ms)

    ✓ Can handle 'U' for new line above (148ms)

    ✓ Can handle 'U' for consecutive changes only (148ms)

    ✓ Can handle 'u' to undo 'U' (115ms)

    ✓ Can handle 'U' to undo 'U' (71ms)

    ✓ Redo (147ms)

    ✓ Redo (117ms)

    ✓ Redo (193ms)

    ✓ Can handle u (54ms)

    ✓ Can handle guw (51ms)

    ✓ Can handle gUw (82ms)

    ✓ Can handle u over line breaks (76ms)

    ✓ can handle s in visual mode (88ms)

    ✓ can handle p with selection (81ms)

    ✓ can handle P with selection (82ms)

    ✓ can handle p in visual to end of line (127ms)

    ✓ can repeat backspace twice (90ms)

    ✓ can delete linewise with d2G (53ms)

    ✓ can delete with + motion and count (64ms)

    ✓ can delete with - motion and count (75ms)

    ✓ can dE correctly (60ms)

    ✓ can dE correctly (84ms)

    ✓ can dE correctly (71ms)

    ✓ can ctrl-a correctly behind a word (54ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor) (52ms)

    ✓ can ctrl-a on word (49ms)

    ✓ can ctrl-a on a hex number (45ms)

    ✓ can ctrl-a on decimal (70ms)

    ✓ can ctrl-a with numeric prefix (64ms)

    ✓ can ctrl-a on a decimal (63ms)

    ✓ can ctrl-a on an octal  (54ms)

    ✓ Correctly increments in the middle of a number (104ms)

    ✓ can ctrl-x correctly behind a word (51ms)

    ✓ can ctrl-a on an number with word before  (40ms)

    ✓ can ctrl-a on an number with word before and after  (66ms)

    ✓ can ctrl-x on a negative number with word before and after  (89ms)

    ✓ can ctrl-a properly on multiple lines (83ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (59ms)

    ✓ can <C-a> on word with - in front of it (54ms)

    ✓ can do Y (56ms)

    ✓ Can do S (105ms)

    ✓ / does not affect mark (62ms)

    ✓ / can search with regex (69ms)

    ✓ / can search with newline (77ms)

    ✓ / can search through multiple newlines (98ms)

    ✓ / matches ^ per line (85ms)

    ✓ / matches $ per line (75ms)

    ✓ /\c forces case insensitive search (86ms)

    ✓ /\C forces case sensitive search (91ms)

    ✓ <BS> deletes the last character in search in progress mode (73ms)

    ✓ <S-BS> deletes the last character in search in progress mode (68ms)

    ✓ <C-h> deletes the last character in search in progress mode (64ms)

    ✓ Can do C (71ms)

    ✓ Can do cit on a matching tag (81ms)

    ✓ Ignores cit on a non-matching tag (209ms)

    ✓ Ignores cit on a nested tag (85ms)

    ✓ Can do cit on a tag with an attribute tag (76ms)

    ✓ Can do cat on a matching tag (103ms)

    ✓ Can do cit on a multiline tag (95ms)

    ✓ Can do cit on a multiline tag with nested tags (119ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (122ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (95ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (54ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (67ms)

    ✓ can do cit with self closing tags (102ms)

    ✓ Respects indentation with cc (69ms)

    ✓ Resets cursor to indent end with cc (64ms)

    ✓ can handle 'cc' on empty line (82ms)

    ✓ cc copies linewise (91ms)

    ✓ Indent current line with correct Vim Mode (50ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (61ms)

    ✓ Can handle # on skipped words (92ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (119ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (141ms)

    ✓ cc on whitespace-only treats whitespace as indent (57ms)

    ✓ Can do cai (125ms)

    ✓ Can do cii (94ms)

    ✓ Can do caI (149ms)

    ✓ Can do dai (113ms)

    ✓ Can do dii (60ms)

    ✓ Can do daI (109ms)

    can handle gn

      ✓ gn selects the next match text (299ms)

      ✓ gn selects the current word at |hello (380ms)

      ✓ gn selects the current word at h|ello (350ms)

      ✓ gn selects the current word at hel|lo (387ms)

      ✓ gn selects the current word at hell|o (319ms)

      ✓ gn selects the next word at hello| (395ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (144ms)

      ✓ dgn deletes the current word when cursor is at |hello (83ms)

      ✓ dgn deletes the current word when cursor is at h|ello (112ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (67ms)

      ✓ dgn deletes the current word when cursor is at hell|o (104ms)

      ✓ dgn deletes the next word when cursor is at hello| (76ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (94ms)

      ✓ cgn deletes the current word when cursor is at |hello (109ms)

      ✓ cgn deletes the current word when cursor is at h|ello (98ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (73ms)

      ✓ cgn deletes the current word when cursor is at hell|o (99ms)

      ✓ cgn deletes the next word when cursor is at hello| (72ms)

    can handle gN

      ✓ gN selects the previous match text (311ms)

      ✓ gN selects the current word at hell|o (300ms)

      ✓ gN selects the current word at hel|lo (278ms)

      ✓ gN selects the current word at h|ello (264ms)

      ✓ gN selects the current word at |hello (297ms)

      ✓ gN selects the previous word at | hello (244ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (97ms)

      ✓ dgN deletes the current word when cursor is at hell|o (79ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (107ms)

      ✓ dgN deletes the current word when cursor is at h|ello (94ms)

      ✓ dgN deletes the current word when cursor is at |hello (98ms)

      ✓ dgN deletes the previous word when cursor is at | hello (113ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (99ms)

      ✓ cgN deletes the current word when cursor is at hell|o (128ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (185ms)

      ✓ cgN deletes the current word when cursor is at h|ello (319ms)

      ✓ cgN deletes the current word when cursor is at |hello (116ms)

      ✓ cgN deletes the previous word when cursor is at | hello (102ms)



  Mode Replace

    ✓ Can activate with <insert> from Insert mode (49ms)

    ✓ Can activate with R from Normal mode (52ms)

    ✓ Can handle R (66ms)

    ✓ Can handle R past current line (68ms)

    ✓ Can handle R and exit Replace Mode (63ms)

    ✓ Can handle R across lines (85ms)

    ✓ Can handle R across lines and exit Replace Mode (106ms)

    ✓ Can handle R with {count} (113ms)

    ✓ Can handle backspace (126ms)

    ✓ Can handle backspace (121ms)

    ✓ Can handle backspace across lines (167ms)

    ✓ Can handle arrows (102ms)

    ✓ Can handle . (117ms)

    ✓ Can handle . across lines (159ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (191ms)

    ✓ Can handle wd (147ms)

    ✓ Can handle x (130ms)

    ✓ Can handle x across a selection (146ms)

    ✓ Can do vwd in middle of sentence (174ms)

    ✓ Can do vwd in middle of sentence (148ms)

    ✓ Can do vwd multiple times (205ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (137ms)

    ✓ Can handle H key (93ms)

    ✓ handles case where we delete over a newline (166ms)

    ✓ handles change operator (358ms)

    ✓ Can do vat on multiple matching tags (122ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (135ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (137ms)

    ✓ Repeat-prefixed vat does not bleed below (77ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (81ms)

    ✓ Can do vi) on a matching parenthesis (80ms)

    ✓ Can do vi) on multiple matching parens (75ms)

    ✓ Can do va) on a matching parenthesis (100ms)

    ✓ Can do va) on multiple matching parens (107ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (77ms)

    ✓ Repeat-prefixed va) does not bleed below (77ms)

    ✓ Can do va} on a matching bracket as first character (67ms)

    ✓ Can do va} on multiple matching brackets (113ms)

    ✓ Can do vi( on a matching bracket near first character (82ms)

    ✓ Can do vi{ on outer pair of nested braces (70ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (98ms)

    ✓ Can do va] on multiple matching brackets (96ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (271ms)

    ✓ Repeat-prefixed vaf does not bleed below (83ms)

    ✓ vaf only expands to enclosing pairs (105ms)

    ✓ Can use . to repeat indent in visual (78ms)

    ✓ Can do v_x to delete to first char (109ms)

    ✓ Can do vg_x to delete to last char with no EOL (91ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (73ms)

    ✓ Can do v$x to delete to last char including EOL (85ms)

    ✓ Can do gv to reselect previous selection (101ms)

    Vim's EOL handling is weird

      ✓ delete through eol (128ms)

      ✓ join 2 lines by deleting through eol (194ms)

      ✓ d$ doesn't delete whole line (107ms)

      ✓ vd$ does delete whole line (115ms)

      ✓ Paste over selection copies the selection (92ms)

      ✓ Paste over selection copies the selection linewise (112ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (86ms)

      ✓ Can handle <down> key (52ms)

      ✓ Can handle <left> key (62ms)

      ✓ Can handle <right> key (79ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (73ms)

      ✓ Can handle 'vawd' on word with trailing spaces (92ms)

      ✓ Can handle 'vawd' on word with leading spaces (104ms)

      ✓ Can handle 'vawd' on word with numeric prefix (83ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (101ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (125ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (81ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (90ms)

      ✓ Can handle 'vaWd' on word with leading spaces (78ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (72ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (110ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (77ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (121ms)

      ✓ Can handle 'vaWd' on word with leading spaces (118ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (282ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (93ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (93ms)

      ✓ Can handle 'vawd' on word with trailing spaces (67ms)

      ✓ Can handle 'vawd' on word with leading spaces (96ms)

      ✓ Can handle 'vawd' on word with numeric prefix (65ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (104ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (149ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (75ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (76ms)

      ✓ Can handle 'vaWd' on word with leading spaces (99ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (79ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (134ms)

      ✓ Can handle 'Y' in visual mode (69ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (79ms)

      ✓ Select sentence with leading spaces in visual mode (126ms)

      ✓ Select multiple sentences in visual mode (119ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (91ms)

      ✓ Select inner sentence with leading spaces in visual mode (171ms)

      ✓ Select spaces between sentences in visual mode (151ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (101ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (112ms)

      ✓ Can do vat on a matching tag (87ms)

    handles replace in visual mode

      ✓ Can do a single line replace (90ms)

      ✓ Can do a multi line replace (91ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (85ms)

      ✓ D deletes the current line (100ms)

    handles indent blocks in visual mode

      ✓ Can do vai (121ms)

      ✓ Can do vii (90ms)

      ✓ Doesn't naively select the next line (103ms)

      ✓ Searches backwards if cursor line is empty (105ms)

      ✓ Can do vaI (114ms)

    visualstar

      ✓ Works with * (78ms)

      ✓ Works with # (68ms)

    search works in visual mode

      ✓ Works with / (93ms)

      ✓ Works with ? (113ms)

      ✓ Selects correct range (155ms)

    X will delete linewise

      ✓ normal selection (82ms)

      ✓ normal selection (84ms)

    C will delete linewise

      ✓ normal selection (94ms)

      ✓ normal selection (81ms)

    R will delete linewise

      ✓ normal selection (78ms)

      ✓ normal selection (74ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (119ms)

      ✓ upward selection (125ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (69ms)

      ✓ multiline indent bottom up selection (120ms)

      ✓ repeat multiline indent top down selection (117ms)

      ✓ repeat multiline indent bottom up selection (113ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (113ms)

      ✓ multiline outdent bottom up selection (80ms)

      ✓ repeat multiline outdent top down selection (106ms)

      ✓ repeat multiline outdent bottom up selection (117ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (159ms)

    vi{ will go to end of second to last line

      ✓ select (74ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

      ✓ gv selects the last pasted text (which is shorter than original) (801ms)

      ✓ gv selects the last pasted text (which is longer than original) (521ms)

      ✓ gv selects the last pasted text (multiline) (459ms)

    can handle gn

      ✓ gn selects the next match text (256ms)

      ✓ gn selects the current word at |hello (245ms)

      ✓ gn selects the current word at h|ello (237ms)

      ✓ gn selects the current word at hel|lo (283ms)

      ✓ gn selects the next word at hell|o (245ms)

      ✓ gn selects the next word at hello| (256ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (140ms)

      ✓ multiline insert from top down selection (84ms)

      ✓ skips blank lines (88ms)

    can append text with A

      ✓ multiline append from bottom up selection (72ms)

      ✓ multiline append from top down selection (99ms)

      ✓ skips blank lines (82ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (96ms)

    ✓ Can handle A backwards select (127ms)

    ✓ Can handle I forward select (98ms)

    ✓ Can handle I backwards select (73ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (84ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (123ms)

    ✓ Can handle c forward select (85ms)

    ✓ Can handle c backwards select (136ms)

    ✓ Can handle C (81ms)

    ✓ Can do a multi line replace (73ms)

    ✓ Can handle 'D' (85ms)

    ✓ Can handle 'gj' (107ms)

    ✓ Properly add to end of lines j then $ (66ms)

    ✓ Properly add to end of lines $ then j (78ms)

    ✓ o works in visual block mode (69ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (199ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (227ms)

    ✓ Can handle wd (174ms)

    ✓ Can handle x (135ms)

    ✓ Can handle U (128ms)

    ✓ Can handle x across a selection (134ms)

    ✓ Can do vwd in middle of sentence (163ms)

    ✓ Can do vwd in middle of sentence (161ms)

    ✓ Can do vwd multiple times (218ms)

    ✓ Can handle U across a selection (179ms)

    ✓ Can handle U across a selection in reverse order (295ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (135ms)

    ✓ handles case where we delete over a newline (330ms)

    ✓ handles change operator (204ms)

    ✓ Vp updates register content (103ms)

    ✓ Vp does not append unnecessary newlines (first line) (78ms)

    ✓ Vp does not append unnecessary newlines (middle line) (107ms)

    ✓ Vp does not append unnecessary newlines (last line) (103ms)

    Vim's EOL handling is weird

      ✓ delete through eol (153ms)

      ✓ join 2 lines by deleting through eol (167ms)

      ✓ d$ doesn't delete whole line (150ms)

      ✓ vd$ does delete whole line (114ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (89ms)

      ✓ Can handle <down> key (77ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (66ms)

      ✓ Can handle d key (100ms)

      ✓ Can handle d key (70ms)

      ✓ Can handle d key (87ms)

      ✓ can handle 'c' (64ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (117ms)

      ✓ Can do a multi visual line replace (94ms)

      ✓ Can do a multi visual line replace from the bottom up (104ms)

    search works in visual line mode

      ✓ Works with / (100ms)

      ✓ Works with ? (117ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (189ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (75ms)

      ✓ linewise visual put works also in the end of document (132ms)

      ✓ gv selects the last pasted text (which is shorter than original) (552ms)

      ✓ gv selects the last pasted text (which is longer than original) (447ms)

      ✓ gv selects the last pasted text (multiline) (289ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (92ms)

      ✓ multiline insert from top down selection (96ms)

      ✓ skips blank lines (97ms)

    can append text with A

      ✓ multiline append from bottom up selection (92ms)

      ✓ multiline append from top down selection (81ms)

      ✓ skips blank lines (73ms)



  Mode Normal

    ✓ Can handle 'x' (55ms)

    ✓ Can handle 'Nx' (42ms)

    ✓ Can handle 'Nx' and paste (93ms)

    ✓ Can handle 'x' at end of line (113ms)

    ✓ Can handle 'Ns' (291ms)

    ✓ Can handle 'Ns' at end of line (94ms)

    ✓ Can handle '<Del>' (68ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (95ms)

    ✓ Can handle '<Del>' at end of line (202ms)

    ✓ Can handle 'cc' (68ms)

    ✓ Can handle 'Ncc' (74ms)

    ✓ Can handle 'yy' (71ms)

    ✓ Can handle 'D' (72ms)

    ✓ Can handle 'D' on empty lines (57ms)

    ✓ Can handle 'DD' (66ms)

    ✓ Can handle 'C' (50ms)

    ✓ Can handle 'NC' (65ms)

    ✓ Can handle 'r' (57ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle 'r' after 'dd' (90ms)

    ✓ Can handle 'J' once (50ms)

    ✓ Can handle 'J' twice (64ms)

    ✓ Can handle 'J' with empty last line (69ms)

    ✓ Can handle 'J's with multiple empty last lines (121ms)

    ✓ Can handle 'J' with leading white space on next line (101ms)

    ✓ Can handle 'J' with only white space on next line (63ms)

    ✓ Can handle 'J' with TWO indented lines (87ms)

    ✓ Can handle 'J' with ')' first character on next line (64ms)

    ✓ Can handle 'J' with a following delete (44ms)

    ✓ Can handle 'J' in Visual Line mode (79ms)

    ✓ Can handle 'gJ' once (56ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (69ms)

    ✓ Can handle '~' (53ms)

    ✓ Can handle 'g~{motion}' (55ms)

    ✓ Can handle '<BS>' in insert mode (53ms)

    ✓ Can handle undo with P (110ms)

    ✓ Can handle 'ge' in multiple lines case1 (98ms)

    ✓ Can handle 'ge' in multiple lines case2 (98ms)



  Dot Operator

    ✓ Can repeat '~' with <num> (58ms)

    ✓ Can repeat '~' with dot (56ms)

    ✓ Can repeat 'x' (78ms)

    ✓ Can repeat 'J' (55ms)

    ✓ Can handle dot with A (116ms)

    ✓ Can handle dot with I (119ms)

    ✓ Can repeat actions that require selections (109ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (75ms)

    ✓ Can repeat insert change and '<C-t>' (83ms)

    ✓ Can repeat change by `<C-a>` (110ms)

    ✓ Only one arrow key can be repeated in Insert Mode (110ms)

    ✓ Cached content change will be cleared by arrow keys (106ms)



  Matching Bracket (%)

    ✓ before opening parenthesis (50ms)

    ✓ inside parenthesis (51ms)

    ✓ nested parenthesis beginning (54ms)

    ✓ nested parenthesis end (48ms)

    ✓ nested bracket and parenthesis beginning (68ms)

    ✓ nested bracket, parenthesis, braces beginning (45ms)

    ✓ nested bracket, parenthesis, braces end (71ms)


  Motions in Normal Mode

    ✓ Can handle [( (120ms)

    ✓ Can handle nested [( (74ms)

    ✓ Can handle <number>[( (57ms)

    ✓ Can handle [( and character under cursor exclusive (59ms)

    ✓ Can handle ]) (82ms)

    ✓ Can handle nested ]) (45ms)

    ✓ Can handle <number>]) (53ms)

    ✓ Can handle ]) and character under cursor exclusive (57ms)

    ✓ Can handle [{ (65ms)

    ✓ Can handle nested [{ (85ms)

    ✓ Can handle <number>[{ (50ms)

    ✓ Can handle [{ and character under cursor exclusive (47ms)

    ✓ Can handle ]} (68ms)

    ✓ Can handle nested ]} (56ms)

    ✓ Can handle <number>]} (57ms)

    ✓ Can handle ]} and character under cursor exclusive (66ms)

    ✓ Can handle 'ge' (68ms)

    ✓ Can handle 'gg' (98ms)

    ✓ Can handle 'gg' to first non blank char on random line (77ms)

    ✓ Can handle 'gg' to first non blank char on first line (67ms)

    ✓ Retain same column when moving up/down (87ms)

    ✓ Can handle <enter> (54ms)

    ✓ $ always keeps cursor on EOL (64ms)

    ✓ Can handle $ with a count (84ms)

    ✓ Can handle $ with a count at end of file (61ms)

    ✓ Can handle <end> with a count (63ms)

    ✓ Can handle <D-right> with a count (48ms)

    ✓ Can handle 'f' (77ms)

    ✓ Can handle 'f' twice (82ms)

    ✓ Can handle 'F' (63ms)

    ✓ Can handle 'F' twice (114ms)

    ✓ Can handle 't' (49ms)

    ✓ Can handle 't' twice (68ms)

    ✓ Can handle 'T' (80ms)

    ✓ Can handle 'T' twice (63ms)

    ✓ Can run a forward search (59ms)

    ✓ Can run a forward and find next search (62ms)

    ✓ Can run a reverse search (114ms)

    ✓ Can run a reverse and find next search (92ms)

    ✓ maintains column position correctly (55ms)

    ✓ maintains column position correctly with $ (48ms)

    ✓ Can handle G  (43ms)

    ✓ Can handle G with number prefix (66ms)

    ✓ Can handle G with number prefix (71ms)

    ✓ Can handle gg (117ms)

    ✓ Can handle gg with number prefix (62ms)

    ✓ Can handle 0

    ✓ Can handle 0 as part of a repeat (53ms)

    ✓ Can handle g* (59ms)

    ✓ Can handle g*n (62ms)

    ✓ Can handle * (70ms)

    ✓ Can handle ** (59ms)

    ✓ Can handle # on whitespace (74ms)

    ✓ Can handle # on EOL (69ms)

    ✓ Can handle g# (107ms)

    ✓ Can handle g#n (85ms)

    ✓ Can handle # (76ms)

    ✓ Can handle # already on the word (48ms)

    ✓ Can handle ## (93ms)

    ✓ Can handle | (68ms)

    ✓ Can handle <number> | (80ms)

    ✓ Can handle + (40ms)

    ✓ Can handle + indent (65ms)

    ✓ Can handle + with count prefix (42ms)

    ✓ Can handle - (63ms)

    ✓ Can handle - indent (55ms)

    ✓ Can handle - with count prefix (87ms)

    ✓ Can handle _ (42ms)

    ✓ Can handle _ with count prefix (48ms)

    ✓ Can handle g_ (77ms)

    ✓ Can handle g_ with count prefix (68ms)

    ✓ Can handle <up> key (90ms)

    ✓ Can handle <down> key (63ms)

    ✓ Can handle <left> key (62ms)

    ✓ Can handle <right> key (61ms)



  basic motion

    ✓ char right: should move one column right

    ✓ char right

    ✓ char left: should move cursor one column left

    ✓ char left: left-most column should stay at the same location

    ✓ line down: should move cursor one line down

    ✓ line down: bottom-most line should stay at the same location

    ✓ line begin

    ✓ line end

    ✓ document begin

    ✓ document end

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    line up

      ✓ should move cursor one line up

      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    word right

      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word
      ✓ first word should move to previous line, stops on empty line
      ✓ first word should move to previous line, skips whitespace only line
    WORD right
      ✓ move to WORD right
      ✓ last WORD should move to next line
      ✓ last WORD should move to next line stops on empty line
      ✓ last WORD should move to next line skips whitespace only line
    WORD left
      ✓ move cursor WORD left across spaces
      ✓ move cursor WORD left within WORD
      ✓ first WORD should move to previous line, beginning of last WORD
      ✓ first WORD should move to previous line, stops on empty line
      ✓ first WORD should move to previous line, skips whitespace only line
    end of word right
      ✓ move to end of current word right
      ✓ move to end of next word right
      ✓ end of last word should move to next line
      ✓ end of last word should move to next line skips empty line
      ✓ end of last word should move to next line skips whitespace only line
    end of WORD right
      ✓ move to end of current WORD right
      ✓ move to end of next WORD right
      ✓ end of last WORD should move to next line
      ✓ end of last WORD should move to next line skips empty line
      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces

    sentence backward

      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside

      ✓ current sentence begin when it's not the same as current paragraph begin

      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally

      ✓ move down longer paragraph

      ✓ move down starting inside empty line

      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph

      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (50ms)

        ✓ l wraps to next line (64ms)

        ✓ <left> wraps to previous line (85ms)

        ✓ <right> wraps to next line (83ms)

      insert mode

        ✓ <left> wraps to previous line (99ms)

        ✓ <right> once goes to end of line (71ms)

        ✓ <right> twice wraps to next line (67ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (43ms)

        ✓ l does not wrap to next line (57ms)

        ✓ <left> does not wrap to previous line (51ms)

        ✓ <right> does not wrap to next line (47ms)

      insert mode

        ✓ <left> does not wrap to previous line (49ms)

        ✓ <right> does not wrap to next line (127ms)



  Multicursor

    ✓ can add multiple cursors below (242ms)

    ✓ can add multiple cursors above (178ms)



  numeric string

    ✓ fails on non-string

    ✓ handles hex round trip

    ✓ handles decimal round trip

    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (143ms)

    ✓ gcj comments in current and next line (224ms)

    ✓ block comment with motion (330ms)

    ✓ block comment in Visual Mode (257ms)


  format operator

    ✓ == formats current line (2039ms)

    ✓ =$ formats entire line (242ms)

    ✓ =j formats two lines (96ms)

    ✓ 3=k formats three lines (118ms)

    ✓ =gg formats to top of file (83ms)

    ✓ =G formats to bottom of file (127ms)

    ✓ =ip formats paragraph (132ms)

    ✓ format in visual mode (103ms)



  put operator

    ✓ basic put test (93ms)

    ✓ test yy end of line (73ms)

    ✓ test yy first line (64ms)

    ✓ test yy middle line (59ms)

    ✓ test yy with correct positon movement (78ms)

    ✓ test visual block single line yank p (93ms)

    ✓ test visual block single line yank P (92ms)

    ✓ test visual block single line delete p (82ms)

    ✓ test visual block single line delete P (69ms)



  shift operator

    ✓ basic shift left test (93ms)

    ✓ shift left goto end test (60ms)

    ✓ shift left goto line test (60ms)

    ✓ shift right goto end test (85ms)

    ✓ shift right goto line test (68ms)



  easymotion plugin

    ✓ Can handle s move (145ms)

    ✓ Can handle 2s move (228ms)

    ✓ Can handle f move (72ms)

    ✓ Can handle 2f move (359ms)

    ✓ Can handle F move (89ms)

    ✓ Can handle 2F move (109ms)

    ✓ Can handle t move (122ms)

    ✓ Can handle bd-t move (94ms)

    ✓ Can handle 2t move (111ms)

    ✓ Can handle bd-t2 move (132ms)

    ✓ Can handle T move (91ms)

    ✓ Can handle 2T move (88ms)

    ✓ Can handle w move (116ms)

    ✓ Can handle bd-w move (113ms)

    ✓ Can handle b move (110ms)

    ✓ Can handle e move (97ms)

    ✓ Can handle bd-e move (93ms)

    ✓ Can handle ge move (81ms)

    ✓ Can handle n-char move (125ms)

    ✓ Can handle j move (84ms)

    ✓ Can handle k move (85ms)

    ✓ Can handle bd-jk move (1) (106ms)

    ✓ Can handle bd-jk move (2) (98ms)

    ✓ Can handle lineforward move (1) (87ms)

    ✓ Can handle lineforward move (2) (70ms)

    ✓ Can handle linebackward move (1) (132ms)

    ✓ Can handle linebackward move (2) (84ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode


  sneak plugin

    ✓ Can handle s motion (83ms)

    ✓ Can handle S motion (100ms)

    ✓ Can handle <operator>z motion (82ms)

    ✓ Can handle <operator>Z motion (74ms)

    ✓ Can handle s; motion (86ms)

    ✓ Can handle s, motion (58ms)

    ✓ Can handle S; motion (55ms)

    ✓ Can handle S, motion (141ms)



  surround plugin

    ✓ 'ysiw)' surrounds word without space (150ms)

    ✓ 'ysiw(' surrounds word with space (183ms)

    ✓ 'ysw)' surrounds word without space (141ms)

    ✓ 'ysw(' surrounds word with space (415ms)

    ✓ 'ysaw)' surrounds word without space (151ms)

    ✓ 'ysaw(' surrounds word with space (135ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (97ms)

    ✓ 'ysiw<' surrounds word with tags (103ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (126ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (111ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (112ms)

    ✓ change surround (101ms)

    ✓ change surround with alias (95ms)

    ✓ change surround to tags (100ms)

    ✓ delete surround (85ms)

    ✓ delete surround with alias (129ms)

    ✓ delete surround with tags (142ms)

    ✓ change surround brackets at end of line (97ms)

    ✓ changing brackets with surround works again (76ms)

    ✓ change surround with tags that contain an attribute and preserve them (161ms)

    ✓ change surround with tags that contain an attribute and remove them (136ms)



  register

    ✓ Can copy to a register (112ms)

    ✓ Can use two registers together (125ms)

    ✓ Can use black hole register (73ms)

    ✓ System clipboard works with chinese characters (103ms)

    ✓ Yank stores text in Register '0' (322ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (217ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (205ms)

    ✓ Register '1'-'9' stores delete content (242ms)

    ✓ "A appends linewise text to "a (238ms)

    ✓ "A appends character wise text to "a (236ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (66ms)

      ✓ Can access '+' (clipboard) register (62ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (44ms)

    ✓ Can repeat reversed F<character> (38ms)

    ✓ Can repeat t<character> (43ms)

    ✓ Can repeat N times reversed t<character> (45ms)



  text editor

    ✓ insert 'Hello World'

    ✓ replace 'World' with 'Foo Bar'

    ✓ delete `Hello`

    ✓ delete the whole line

    ✓ try to read lines that don't exist





  1064 passing (4m)

  1 failing



  1) Configuration
       Can handle long key chords:

      Didn't enter correct mode.
      + expected - actual

      -INSERT
      +VISUAL
      
      at Suite.suite (test/configuration/configuration.test.ts:40:3)






Tests exited with code: 1
The command "npm test --silent" exited with 1.



Done. Your build exited with 1.
npm test --silent
### VS Code Extension Test Run ###
Current working directory: /home/travis/build/VSCodeVim/Vim
Downloading VS Code into "/home/travis/build/VSCodeVim/Vim/.vscode-test/stable" from: https://vscode-update.azurewebsites.net/1.30.2/linux-x64/stable
Running extension tests: /home/travis/build/VSCodeVim/Vim/.vscode-test/stable/VSCode-linux-x64/code /home/travis/build/VSCodeVim/Vim/out/test --extensionDevelopmentPath=/home/travis/build/VSCodeVim/Vim --extensionTestsPath=/home/travis/build/VSCodeVim/Vim/out/test --locale=en
Xlib:  extension "RANDR" missing on display ":99.0".

[main 10:40:13 AM] update#setState idle

bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

nvm is not compatible with the "npm_config_prefix" environment variable: currently set to "/home/travis/.nvm/versions/node/v8.15.0"

Run `unset npm_config_prefix` to unset it.

[vscodevim.vim] Accessing a resource scoped configuration without providing a resource is not expected. To get the effective value for 'editor.wordSeparators', provide the URI of a resource or 'null' for any resource.





  base action

    ✓ compare key presses

    ✓ couldActionApply 1D keys positive

    ✓ couldActionApply 1D keys negative
    ✓ couldActionApply 2D keys positive
    ✓ couldActionApply 2D keys negative

    ✓ doesActionApply 1D keys positive

    ✓ doesActionApply 1D keys negative

    ✓ doesActionApply 2D keys positive

    ✓ doesActionApply 2D keys negative



  HistoryFile

    ✓ add command (44ms)

    ✓ add empty command (53ms)

    ✓ add command over configuration.history (48ms)

    ✓ add command that exists in history (40ms)

    ✓ file system (61ms)

    ✓ change configuration.history (118ms)



  command-line lexer

    ✓ can lex empty string

    ✓ can lex comma

    ✓ can lex percent

    ✓ can lex dollar

    ✓ can lex dot

    ✓ can lex one number

    ✓ can lex longer number

    ✓ can lex plus

    ✓ can lex minus

    ✓ can lex forward search

    ✓ can lex forward search escaping

    ✓ can lex reverse search

    ✓ can lex reverse search escaping

    ✓ can lex command name

    ✓ can lex command args

    ✓ can lex command args with leading whitespace

    ✓ can lex long command name and args

    ✓ can lex left and right line refs



  command-line parser

    ✓ can parse empty string

    ✓ can parse left - dot

    ✓ can parse left - dollar

    ✓ can parse left - percent

    ✓ can parse separator - comma

    ✓ can parse right - dollar



  command line scanner

    ✓ ctor

    ✓ can detect EOF with empty input

    ✓ next() returns EOF at EOF

    ✓ can scan

    ✓ can emit

    ✓ can ignore

    ✓ can skip whitespace

    ✓ can skip whitespace with one char before EOF

    ✓ can skip whitespace at EOF

    ✓ nextWord() return EOF at EOF

    ✓ nextWord() return word before trailing spaces

    ✓ nextWord() can skip whitespaces and return word 

    ✓ nextWord() return word before EOF

    ✓ can expect one of a set

    ✓ can expect only one of a set



  Basic sort

    ✓ Sort whole file, asc (156ms)

    ✓ Sort whole file, dsc (117ms)

    ✓ Sort range, asc (161ms)

    ✓ Sort range, dsc (163ms)



  Horizontal split

    ✓ Run :sp (64ms)

    ✓ Run :split (58ms)

    ✓ Run :new (58ms)



  :close args parser

    ✓ has all aliases

    ✓ can parse empty args
    ✓ ignores trailing white space

    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input


  :quit args parser
    ✓ has all aliases
    ✓ can parse empty args

    ✓ ignores trailing white space
    ✓ can parse !

    ✓ throws if space before !

    ✓ ignores space after !

    ✓ throws if bad input



  :substitute args parser

    ✓ can parse pattern, replace, and flags

    ✓ can parse count

    ✓ can parse custom delimiter

    ✓ can escape delimiter
    ✓ can parse flag KeepPreviousFlags

  :write args parser
    ✓ has all aliases
    ✓ can parse empty args

    ✓ can parse ++opt

    ✓ throws if bad ++opt name

    ✓ can parse bang

    ✓ can parse ' !cmd'

    ✓ can parse ' !cmd' when cmd is empty



  Basic substitute

    ✓ Replace single word once (98ms)

    ✓ Replace with `g` flag (92ms)

    ✓ Replace with flags AND count (135ms)

    ✓ Replace with `c` flag (85ms)

    ✓ Replace with `gc` flag (156ms)

    ✓ Replace across all lines (148ms)

    ✓ Replace on specific single line (134ms)

    ✓ Replace on current line using dot (119ms)

    ✓ Replace single relative line using dot and plus (149ms)

    ✓ Replace across specific line range (134ms)

    ✓ Replace across relative line range using dot, plus, and minus (102ms)

    ✓ Replace across relative line range using numLines+colon shorthand (108ms)

    ✓ Repeat replacement across relative line range (100ms)

    ✓ Replace with range AND count but no flags (96ms)

    ✓ Undocumented: operator without LHS assumes dot as LHS (100ms)

    ✓ Undocumented: multiple consecutive operators use 1 as RHS (115ms)

    ✓ Undocumented: trailing operators use 1 as RHS (91ms)

    ✓ Replace specific single equal lines (83ms)

    ✓ Replace current line with no active selection (111ms)

    ✓ Replace text in selection (192ms)

    ✓ Substitute support marks (120ms)
    Effects of substituteGlobalFlag=true

      ✓ Replace all matches in the line (54ms)

      ✓ Replace with `g` flag inverts global flag (74ms)

      ✓ Replace with `c` flag inverts global flag (100ms)

      ✓ Replace multiple lines (104ms)

      ✓ Replace across specific lines (87ms)

      ✓ Replace current line with no active selection (102ms)

      ✓ Replace text in selection (181ms)

      ✓ Substitute support marks (97ms)

      ✓ Substitute with escaped delimiter (88ms)

    Substitute should use various previous search/substitute states

      ✓ Substitute with previous search using * (285ms)

      ✓ Substitute with previous search using # (271ms)

      ✓ Substitute with previous search using / (290ms)

      ✓ Substitute with parameters should update search state (163ms)

      ✓ Substitute with empty replacement should delete previous substitution (all variants) and accepts flags (337ms)

      ✓ Substitute with no pattern should repeat previous substitution and not alter search state (164ms)

      ✓ Substitute repeat previous should accept flags (90ms)

      ✓ Substitute with empty search string should use last searched pattern (305ms)


  cmd_line tab

    ✓ tabe with no arguments when not in workspace opens an untitled file (56ms)

    ✓ tabedit with no arguments when not in workspace opens an untitled file (52ms)

    ✓ tabe with absolute path when not in workspace opens file (71ms)

    ✓ tabe with current file path does nothing (75ms)



  Vertical split

    ✓ Run :vs (67ms)

    ✓ Run :vsp (81ms)

    ✓ Run :vsplit (61ms)

    ✓ Run :vnew (240ms)

    ✓ Run :vne (212ms)



  Basic write-quit

    ✓ Run write and quit (182ms)



  Provide line completions

    Line Completion Provider unit tests

      ✓ Can complete lines in file, prioritizing above cursor, near cursor (154ms)

      ✓ Can complete lines in file with different indentation (51ms)

      ✓ Returns no completions for unmatched line (58ms)



  Configuration

    ✓ remappings are normalized

    1) Can handle long key chords

    ✓ whichwrap is parsed into wrapKeys



  Notation

    ✓ Normalize



  Remapper

    ✓ getLongestedRemappedKeySequence (114ms)

    ✓ getMatchingRemap (88ms)

    ✓ jj -> <Esc> through modehandler (110ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ 0 -> :wq through modehandler (126ms)

    ✓ leader, w -> closeActiveEditor in normal mode through modehandler (101ms)

    ✓ leader, c -> closeActiveEditor in visual mode through modehandler (130ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (188ms)

TextEditor is closed/disposed

TextEditor is closed/disposed

    ✓ d -> black hole register delete in normal mode through modehandler (216ms)

    ✓ jj -> <Esc> after ciw operator through modehandler (180ms)



  Error
    ✓ error code has message

  package.json

    ✓ all keys have handlers

    ✓ all defined configurations in package.json have handlers


  Record and navigate jumps
    Jump Tracker unit tests

      ✓ Can record jumps between files

      ✓ Can handle file jump events sent by vscode in response to recordJumpBack

      ✓ Can record jumps between files after switching files

      ✓ Can handle jumps to the same file multiple times

      ✓ Can record up to 100 jumps, the fixed length in vanilla Vim

      ✓ Can handle text deleted from a file

    Can record jumps for actions the same as vanilla Vim

      Can track basic jumps

        ✓ Can track jumps for keys: Ggg (50ms)

        ✓ Can track jumps for keys: GggG (79ms)

        ✓ Can track jumps for keys: GggGgg (65ms)

        ✓ Can track jumps for keys: /b<CR>n (90ms)

        ✓ Can track jumps for keys: G?b<CR>ggG (83ms)

        ✓ Can track jumps for keys: j%% (74ms)

      Can track jumps with back/forward

        ✓ Can track jumps for keys: j%%<C-o> (60ms)

        ✓ Can track jumps for keys: j%%<C-o><C-i> (67ms)

        ✓ Can track jumps for keys: j%%<C-o>% (78ms)

        ✓ Can track jumps for keys: j%%<C-o>gg (69ms)

        ✓ Can track jumps for keys: j%%<C-o><C-o>gg (67ms)

        ✓ Can track jumps for keys: /^<CR>nnn<C-o><C-o><C-o><C-i>gg (118ms)

        ✓ Can enter number to jump back multiple times (78ms)

        ✓ Can track one-line `` jumps (104ms)

        ✓ Can track one-line double `` jumps (140ms)

        ✓ Can track one-line '' jumps (114ms)

        ✓ Can track one-line double '' jumps (121ms)

        ✓ Can handle '' jumps with no previous jump (67ms)

      Can shifts jump lines up after deleting a line with Visual Line Mode

        ✓ Can track jumps for keys: /^<CR>nnnkkdd (106ms)

        ✓ Can track jumps for keys: /^<CR>nnnkdd (77ms)

        ✓ Can track jumps for keys: /^<CR>nnnnn<C-o><C-o><C-o><C-o>dd (105ms)

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkdd (172ms)

      Can shifts jump lines up after deleting a line with Visual Mode

        ✓ Can track jumps for keys: /^<CR>nnnkklvjjhx (142ms)

      Can shift jump lines down after inserting a line

        ✓ Can track jumps for keys: /^<CR>nnnkkoINSERTED<Esc>0 (192ms)

        ✓ Can track jumps for keys: /^<CR>nnnkoINSERTED<Esc>0 (188ms)

        ✓ Can track jumps for keys: /^<CR>nnnkOINSERTED<Esc>0 (180ms)

[main 10:40:43 AM] update#setState checking for updates

[main 10:40:43 AM] update#setState idle

        ✓ Can track jumps for keys: /a4<CR>/a5<CR>kkkoINSERTED<Esc>0 (184ms)

      Can track jumps from substitutes

        ✓ Can track jumps for keys: :%s/a/b<CR> (76ms)

      Can track jumps from macros

        ✓ Can track jumps for keys: qq/^<CR>nq@q@q<C-o><C-o> (190ms)

      Can track jumps from marks

        ✓ Can track jumps for keys: maG`a (46ms)



  Record and execute a macro

    ✓ Can record and execute (192ms)

    ✓ Can repeat last invoked macro (255ms)

    ✓ Can play back with count (446ms)

    ✓ Can play back with count, abort when a motion fails (431ms)

    ✓ Repeat change on contiguous lines (201ms)

    ✓ Append command to a macro (202ms)

    ✓ Can record Ctrl Keys and repeat (179ms)

    ✓ Can execute macros with dot commands properly (146ms)



  Mode Handler

    ✓ ctor

    ✓ can set current mode



  Mode Handler Map

    ✓ getOrCreate



  Mode Insert

    ✓ can be activated (131ms)

    ✓ can handle key events

    ✓ <Esc> should change cursor position (82ms)

    ✓ <C-c> can exit insert (88ms)

    ✓ <Esc> can exit insert (76ms)

    ✓ Stay in insert when entering characters (90ms)

    ✓ Can handle 'O' (87ms)

    ✓ Can handle 'i' (130ms)

    ✓ Can handle 'I' (113ms)

    ✓ Can handle 'a' (102ms)

    ✓ Can handle 'A' (69ms)

    ✓ Can handle '<C-w>' (108ms)

    ✓ Can handle <C-w> on leading whitespace (57ms)

    ✓ Can handle <C-w> at beginning of line (67ms)

    ✓ Can handle <C-u> (85ms)

    ✓ Can handle <C-u> on leading characters (75ms)

    ✓ Can handle <C-u> on leading whitespace (67ms)

    ✓ Correctly places the cursor after deleting the previous line break (107ms)

    ✓ will not remove leading spaces input by user (54ms)

    ✓ will remove closing bracket (55ms)

    ✓ Backspace works on whitespace only lines (90ms)

    ✓ Backspace works on end of whitespace only lines (155ms)

    ✓ Backspace works at beginning of file (55ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal (199ms)

    ✓ Can perform <ctrl+o> to exit and perform one command in normal at the beginning of a row (90ms)

    ✓ Can perform insert command prefixed with count (69ms)

    ✓ Can perform append command prefixed with count (94ms)

    ✓ Can perform insert at start of line command prefixed with count (75ms)

    ✓ Can perform append to end of line command prefixed with count (73ms)

    ✓ Can perform change char (s) command prefixed with count (124ms)

    ✓ Can perform command prefixed with count with <C-[> (58ms)

    ✓ Can handle 'o' with count (163ms)

    ✓ Can handle 'O' with count (121ms)



  Mode Normal

    ✓ Can be activated

    ✓ Can handle dw (63ms)

    ✓ Can handle dw (74ms)

    ✓ Can handle dw (68ms)

    ✓ Can handle dw across lines (1) (90ms)

    ✓ Can handle dw across lines (2) (73ms)

    ✓ Can handle dd last line (69ms)

    ✓ Can handle dd single line (68ms)

    ✓ Can handle dd (60ms)

    ✓ Can handle 3dd (55ms)

    ✓ Can handle 3dd off end of document (69ms)

    ✓ Can handle d2d (80ms)

    ✓ Can handle dd empty line (81ms)

    ✓ Can handle ddp (70ms)

    ✓ Can handle 'de' (100ms)

    ✓ Can handle 'de' then 'de' again (130ms)

    ✓ Can handle 'db' (68ms)

    ✓ Can handle 'db then 'db' again (88ms)

    ✓ Can handle 'dl' at end of line (127ms)

    ✓ Can handle 'dF' (79ms)

    ✓ Can handle 'dT' (76ms)

    ✓ Can handle 'd3' then <enter> (85ms)

    ✓ Can handle 'dj' (69ms)

    ✓ Can handle 'dk' (63ms)

    ✓ Can handle 'd])' without deleting closing parenthesis (82ms)

    ✓ Can handle 'd]}' without deleting closing bracket (84ms)

    ✓ Can handle 'cw' (107ms)

    ✓ Can handle 'cw' without deleting following white spaces (64ms)

    ✓ Can handle 'c2w' (81ms)

    ✓ Can handle 'cw' without removing EOL (89ms)

    ✓ Can handle 'c])' without deleting closing parenthesis (118ms)

    ✓ Can handle 'c]}' without deleting closing bracket (103ms)

    ✓ Can handle 's' (78ms)

    ✓ Can handle 'yiw' with correct cursor ending position (72ms)

    ✓ Can handle 'ciw' (100ms)

    ✓ Can handle 'ciw' on blanks (99ms)

    ✓ Can handle 'caw' (100ms)

    ✓ Can handle 'caw' on first letter (101ms)

    ✓ Can handle 'caw' on blanks (119ms)

    ✓ Can handle 'caw' on blanks (64ms)

    ✓ Can handle 'ci(' on first parentheses (68ms)

    ✓ Can handle 'ci(' with nested parentheses (68ms)

    ✓ Can handle 'ci(' backwards through nested parens (116ms)

    ✓ Can handle 'cib' on first parentheses (70ms)

    ✓ Can handle 'ci(' across multiple lines with last character at beginning (86ms)

    ✓ Can handle count prefixed 'ci)' (87ms)

    ✓ Can handle count prefixed 'ca)' (112ms)

    ✓ Can handle 'ca(' spanning multiple lines (79ms)

    ✓ Can handle 'cab' spanning multiple lines (91ms)

    ✓ Can handle 'ci{' spanning multiple lines (51ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (70ms)

    ✓ Can handle 'ci{' spanning multiple lines and handle whitespaces correctly (77ms)

    ✓ Can handle 'ci(' on the closing bracket (94ms)

    ✓ Can handle 'ciB' spanning multiple lines (65ms)

    ✓ will fail when ca( with no () (52ms)

    ✓ will fail when ca{ with no {} (103ms)

    ✓ will fail when caB with no {} (45ms)

    ✓ Can handle 'ci[' spanning multiple lines (86ms)

    ✓ Can handle 'ci]' on first bracket (79ms)

    ✓ Can handle 'ca[' on first bracket (74ms)

    ✓ Can handle 'ca]' on first bracket (66ms)

    ✓ Can handle 'ci'' on first quote (87ms)

    ✓ Can handle 'ci'' inside quoted string (64ms)

    ✓ Can handle 'ci'' on closing quote (76ms)

    ✓ Can handle 'ci'' when string is ahead (63ms)

    ✓ Can handle 'ci"' on opening quote (56ms)

    ✓ Can handle 'ci"' starting behind the quoted word (56ms)

    ✓ Can handle 'ca"' starting behind the quoted word (77ms)

    ✓ Can handle 'ca"' starting on the opening quote (98ms)

    ✓ Can handle 'ci"' with escaped quotes (110ms)

    ✓ Can handle 'ci"' with a single escaped quote (57ms)

    ✓ Can handle 'ci"' with a single escaped quote behind (98ms)

    ✓ Can handle 'ci"' with an escaped backslash (84ms)

    ✓ Can handle 'ci"' with an escaped backslash on closing quote (88ms)

    ✓ Can handle 'ca"' starting on the closing quote (86ms)

    ✓ Can handle 'ci"' with complex escape sequences (90ms)

    ✓ Can pick the correct open quote between two strings for 'ci"' (77ms)

    ✓ will fail when ca" ahead of quoted string (75ms)

    ✓ Can handle 'ca`' inside word (70ms)

    ✓ Can handle 'daw' on word with cursor inside spaces (70ms)

    ✓ Can handle 'daw' on word with trailing spaces (73ms)

    ✓ Can handle 'daw' on word with leading spaces (95ms)

    ✓ Can handle 'daw' on word with numeric prefix (94ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (77ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines (87ms)

    ✓ Can handle 'daw' on word with numeric prefix and across lines, containing words end with `.` (108ms)

    ✓ Can handle 'daw' on end of word (113ms)

    ✓ Can handle 'daw' on words at beginning of line with leading whitespace (55ms)

    ✓ Can handle 'daw' on words at ends of lines in the middle of whitespace (57ms)

    ✓ Can handle 'daw' on word at beginning of file (55ms)

    ✓ Can handle 'daw' on word at beginning of line (68ms)

    ✓ Can handle 'daw' on word at end of line with trailing whitespace (63ms)

    ✓ Can handle 'daw' around word at end of line (92ms)

    ✓ Can handle 'daW' on big word with cursor inside spaces (75ms)

    ✓ Can handle 'daW' around word at whitespace (66ms)

    ✓ Can handle 'daW' on word with trailing spaces (69ms)

    ✓ Can handle 'daW' on word with leading spaces (89ms)

    ✓ Can handle 'daW' on word with numeric prefix (58ms)

    ✓ Can handle 'daW' on word with numeric prefix and across lines (115ms)

    ✓ Can handle 'daW' on beginning of word (73ms)

    ✓ Can handle 'daW' on end of one line (69ms)

    ✓ Can handle 'daW' around word at the last WORD (t|wo) (71ms)

    ✓ Can handle 'daW' around word at the last WORD (tw|o) (69ms)

    ✓ Can handle 'daW' around word at the last WORD (class="btn"|>) (90ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (class="btn"|>) (118ms)

    ✓ Can handle 'daW' around word at the last WORD (c|lass="btn">) (80ms)

    ✓ Can handle 'daW' around word at the last WORD of the end of document (c|lass="btn">) (66ms)

    ✓ Can handle 'diw' on word with cursor inside spaces (114ms)

    ✓ Can handle 'diw' on word (87ms)

    ✓ Can handle 'diw' on word with numeric prefix (70ms)

    ✓ Can handle 'diw' on trailing spaces at the end of line (96ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines (81ms)

    ✓ Can handle 'diw' on word with numeric prefix and across lines, containing words end with `.` (104ms)

    ✓ Can handle 'diW' on big word with cursor inside spaces (94ms)

    ✓ Can handle 'diW' on word with trailing spaces (81ms)

    ✓ Can handle 'diW' on word with leading spaces (74ms)

    ✓ Can handle 'diW' on word with numeric prefix (59ms)

    ✓ Can handle 'diW' on word with numeric prefix and across lines (120ms)

    ✓ Can handle 'diW' on beginning of word (69ms)

    ✓ Can handle d} (61ms)

    ✓ Can handle y} at beginning of line (58ms)

    ✓ Select sentence with trailing spaces (74ms)

    ✓ Select sentence with leading spaces (116ms)

    ✓ Select inner sentence with trailing spaces (70ms)

    ✓ Select inner sentence with leading spaces (113ms)

    ✓ Select spaces between sentences (111ms)

    ✓ Can handle 'df' (97ms)

    ✓ Can handle 'dt' (74ms)

    ✓ Can handle backspace (41ms)

    ✓ Can handle backspace across lines (49ms)

    ✓ Can handle A and backspace (50ms)

    ✓ Can handle 'yy' without changing cursor position (56ms)

    ✓ Can handle 'P' after 'yy' (102ms)

    ✓ Can handle 'p' after 'yy' (50ms)

    ✓ Can handle 'P' after 'Nyy' (56ms)

    ✓ Can handle 'p' after 'Nyy' (57ms)

    ✓ Can handle 'p' after 'yy' with correct cursor position (65ms)

    ✓ Can handle 'gp' after 'yy' (83ms)

    ✓ Can handle 'gp' after 'Nyy' (64ms)

    ✓ Can handle 'gp' after 'Nyy' if cursor is on the last line (71ms)

    ✓ Can handle 'gP' after 'yy' (64ms)

    ✓ Can handle 'gP' after 'Nyy' (91ms)

    ✓ Can handle ']p' after yy (101ms)

    ✓ Can handle ']p' after 'Nyy' (83ms)

    ✓ Can handle ']p' after 'Nyy' and indent with tabs first (61ms)

    ✓ Can handle ']p' after 'Nyy' and decrease indents if possible (73ms)

    ✓ Can handle '[p' after yy (69ms)

    ✓ Can handle '[p' after 'Nyy' (66ms)

    ✓ Can handle '[p' after 'Nyy' and indent with tabs first (85ms)

    ✓ Can handle '[p' after 'Nyy' and decrease indents if possible (66ms)

    ✓ Can handle 'p' after y'a (69ms)

    ✓ Can handle 'p' after 'y])' without including closing parenthesis (67ms)

    ✓ Can handle 'p' after 'y]}' without including closing bracket (73ms)

    ✓ Can handle pasting in visual mode over selection (130ms)

    ✓ Can repeat w (46ms)

    ✓ Can repeat p (51ms)

    ✓ I works correctly (82ms)

    ✓ gI works correctly (115ms)

    ✓ gi works correctly (156ms)

    ✓ `. works correctly (95ms)

    ✓ '. works correctly (85ms)

    ✓ g; works correctly (133ms)

    ✓ g, works correctly (112ms)

    ✓ g_ works correctly (59ms)

    ✓ 3g_ works correctly (59ms)

    ✓ Can handle space (49ms)

    ✓ Can handle space (53ms)

    ✓ Undo 1 (115ms)

    ✓ Undo 2 (105ms)

    ✓ Undo cursor (356ms)

    ✓ Undo cursor 2 (139ms)

    ✓ Undo cursor 3 (158ms)

    ✓ Undo with movement first (127ms)

    ✓ Can handle 'U' (89ms)

    ✓ Can handle 'U' for multiple changes (148ms)

    ✓ Can handle 'U' for new line below (119ms)

    ✓ Can handle 'U' for new line above (148ms)

    ✓ Can handle 'U' for consecutive changes only (148ms)

    ✓ Can handle 'u' to undo 'U' (115ms)

    ✓ Can handle 'U' to undo 'U' (71ms)

    ✓ Redo (147ms)

    ✓ Redo (117ms)

    ✓ Redo (193ms)

    ✓ Can handle u (54ms)

    ✓ Can handle guw (51ms)

    ✓ Can handle gUw (82ms)

    ✓ Can handle u over line breaks (76ms)

    ✓ can handle s in visual mode (88ms)

    ✓ can handle p with selection (81ms)

    ✓ can handle P with selection (82ms)

    ✓ can handle p in visual to end of line (127ms)

    ✓ can repeat backspace twice (90ms)

    ✓ can delete linewise with d2G (53ms)

    ✓ can delete with + motion and count (64ms)

    ✓ can delete with - motion and count (75ms)

    ✓ can dE correctly (60ms)

    ✓ can dE correctly (84ms)

    ✓ can dE correctly (71ms)

    ✓ can ctrl-a correctly behind a word (54ms)

    ✓ can ctrl-a the right word (always the one AFTER the cursor) (52ms)

    ✓ can ctrl-a on word (49ms)

    ✓ can ctrl-a on a hex number (45ms)

    ✓ can ctrl-a on decimal (70ms)

    ✓ can ctrl-a with numeric prefix (64ms)

    ✓ can ctrl-a on a decimal (63ms)

    ✓ can ctrl-a on an octal  (54ms)

    ✓ Correctly increments in the middle of a number (104ms)

    ✓ can ctrl-x correctly behind a word (51ms)

    ✓ can ctrl-a on an number with word before  (40ms)

    ✓ can ctrl-a on an number with word before and after  (66ms)

    ✓ can ctrl-x on a negative number with word before and after  (89ms)

    ✓ can ctrl-a properly on multiple lines (83ms)

    ✓ can <C-a> on word with multiple numbers (incrementing first number)

    ✓ can <C-a> on word with multiple numbers (incrementing second number) (59ms)

    ✓ can <C-a> on word with - in front of it (54ms)

    ✓ can do Y (56ms)

    ✓ Can do S (105ms)

    ✓ / does not affect mark (62ms)

    ✓ / can search with regex (69ms)

    ✓ / can search with newline (77ms)

    ✓ / can search through multiple newlines (98ms)

    ✓ / matches ^ per line (85ms)

    ✓ / matches $ per line (75ms)

    ✓ /\c forces case insensitive search (86ms)

    ✓ /\C forces case sensitive search (91ms)

    ✓ <BS> deletes the last character in search in progress mode (73ms)

    ✓ <S-BS> deletes the last character in search in progress mode (68ms)

    ✓ <C-h> deletes the last character in search in progress mode (64ms)

    ✓ Can do C (71ms)

    ✓ Can do cit on a matching tag (81ms)

    ✓ Ignores cit on a non-matching tag (209ms)

    ✓ Ignores cit on a nested tag (85ms)

    ✓ Can do cit on a tag with an attribute tag (76ms)

    ✓ Can do cat on a matching tag (103ms)

    ✓ Can do cit on a multiline tag (95ms)

    ✓ Can do cit on a multiline tag with nested tags (119ms)

    ✓ Can do cit inside of a tag with another non closing tag inside tags (122ms)

    ✓ Can do cit inside of a tag with another empty closing tag inside tags (95ms)

    ✓ Can do dit on empty tag block, cursor moves to inside (54ms)

    ✓ Can do cit on empty tag block, cursor moves to inside (67ms)

    ✓ can do cit with self closing tags (102ms)

    ✓ Respects indentation with cc (69ms)

    ✓ Resets cursor to indent end with cc (64ms)

    ✓ can handle 'cc' on empty line (82ms)

    ✓ cc copies linewise (91ms)

    ✓ Indent current line with correct Vim Mode (50ms)

    ✓ Can handle <Esc> and do nothing

    ✓ Can handle # on consecutive words (61ms)

    ✓ Can handle # on skipped words (92ms)

    ✓ Can 'D'elete the characters under the cursor until the end of the line (119ms)

    ✓ Can 'D'elete the characters under multiple cursors until the end of the line (141ms)

    ✓ cc on whitespace-only treats whitespace as indent (57ms)

    ✓ Can do cai (125ms)

    ✓ Can do cii (94ms)

    ✓ Can do caI (149ms)

    ✓ Can do dai (113ms)

    ✓ Can do dii (60ms)

    ✓ Can do daI (109ms)

    can handle gn

      ✓ gn selects the next match text (299ms)

      ✓ gn selects the current word at |hello (380ms)

      ✓ gn selects the current word at h|ello (350ms)

      ✓ gn selects the current word at hel|lo (387ms)

      ✓ gn selects the current word at hell|o (319ms)

      ✓ gn selects the next word at hello| (395ms)

    can handle dgn

      ✓ dgn deletes the next match text (from first line) (144ms)

      ✓ dgn deletes the current word when cursor is at |hello (83ms)

      ✓ dgn deletes the current word when cursor is at h|ello (112ms)

      ✓ dgn deletes the current word when cursor is at hel|lo (67ms)

      ✓ dgn deletes the current word when cursor is at hell|o (104ms)

      ✓ dgn deletes the next word when cursor is at hello| (76ms)

    can handle cgn

      ✓ cgn deletes the next match text (from first line) (94ms)

      ✓ cgn deletes the current word when cursor is at |hello (109ms)

      ✓ cgn deletes the current word when cursor is at h|ello (98ms)

      ✓ cgn deletes the current word when cursor is at hel|lo (73ms)

      ✓ cgn deletes the current word when cursor is at hell|o (99ms)

      ✓ cgn deletes the next word when cursor is at hello| (72ms)

    can handle gN

      ✓ gN selects the previous match text (311ms)

      ✓ gN selects the current word at hell|o (300ms)

      ✓ gN selects the current word at hel|lo (278ms)

      ✓ gN selects the current word at h|ello (264ms)

      ✓ gN selects the current word at |hello (297ms)

      ✓ gN selects the previous word at | hello (244ms)

    can handle dgN

      ✓ dgN deletes the previous match text (from first line) (97ms)

      ✓ dgN deletes the current word when cursor is at hell|o (79ms)

      ✓ dgN deletes the current word when cursor is at hel|lo (107ms)

      ✓ dgN deletes the current word when cursor is at h|ello (94ms)

      ✓ dgN deletes the current word when cursor is at |hello (98ms)

      ✓ dgN deletes the previous word when cursor is at | hello (113ms)

    can handle cgN

      ✓ cgN deletes the previous match text (from first line) (99ms)

      ✓ cgN deletes the current word when cursor is at hell|o (128ms)

      ✓ cgN deletes the current word when cursor is at hel|lo (185ms)

      ✓ cgN deletes the current word when cursor is at h|ello (319ms)

      ✓ cgN deletes the current word when cursor is at |hello (116ms)

      ✓ cgN deletes the previous word when cursor is at | hello (102ms)



  Mode Replace

    ✓ Can activate with <insert> from Insert mode (49ms)

    ✓ Can activate with R from Normal mode (52ms)

    ✓ Can handle R (66ms)

    ✓ Can handle R past current line (68ms)

    ✓ Can handle R and exit Replace Mode (63ms)

    ✓ Can handle R across lines (85ms)

    ✓ Can handle R across lines and exit Replace Mode (106ms)

    ✓ Can handle R with {count} (113ms)

    ✓ Can handle backspace (126ms)

    ✓ Can handle backspace (121ms)

    ✓ Can handle backspace across lines (167ms)

    ✓ Can handle arrows (102ms)

    ✓ Can handle . (117ms)

    ✓ Can handle . across lines (159ms)



  Mode Visual

    ✓ can be activated

    ✓ Can handle w (191ms)

    ✓ Can handle wd (147ms)

    ✓ Can handle x (130ms)

    ✓ Can handle x across a selection (146ms)

    ✓ Can do vwd in middle of sentence (174ms)

    ✓ Can do vwd in middle of sentence (148ms)

    ✓ Can do vwd multiple times (205ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (137ms)

    ✓ Can handle H key (93ms)

    ✓ handles case where we delete over a newline (166ms)

    ✓ handles change operator (358ms)

    ✓ Can do vat on multiple matching tags (122ms)

    ✓ Can maintain selection on failure with vat on multiple matching tags (135ms)

    ✓ Can maintain selection on failure with repeat-prefixed vat on multiple matching tags (137ms)

    ✓ Repeat-prefixed vat does not bleed below (77ms)

    ✓ Failed vat does not expand or move selection, remains in visual mode (81ms)

    ✓ Can do vi) on a matching parenthesis (80ms)

    ✓ Can do vi) on multiple matching parens (75ms)

    ✓ Can do va) on a matching parenthesis (100ms)

    ✓ Can do va) on multiple matching parens (107ms)

    ✓ Failed va) does not expand or move selection, remains in visual mode (77ms)

    ✓ Repeat-prefixed va) does not bleed below (77ms)

    ✓ Can do va} on a matching bracket as first character (67ms)

    ✓ Can do va} on multiple matching brackets (113ms)

    ✓ Can do vi( on a matching bracket near first character (82ms)

    ✓ Can do vi{ on outer pair of nested braces (70ms)

    ✓ Can do vi{ on braces indented by 1 and preserve indent (98ms)

    ✓ Can do va] on multiple matching brackets (96ms)

    ✓ Can do repeat-prefixed vaf on multiple matching pairs of different types (271ms)

    ✓ Repeat-prefixed vaf does not bleed below (83ms)

    ✓ vaf only expands to enclosing pairs (105ms)

    ✓ Can use . to repeat indent in visual (78ms)

    ✓ Can do v_x to delete to first char (109ms)

    ✓ Can do vg_x to delete to last char with no EOL (91ms)

    ✓ Can do v3g_x to delete to last char with no EOL with count (73ms)

    ✓ Can do v$x to delete to last char including EOL (85ms)

    ✓ Can do gv to reselect previous selection (101ms)

    Vim's EOL handling is weird

      ✓ delete through eol (128ms)

      ✓ join 2 lines by deleting through eol (194ms)

      ✓ d$ doesn't delete whole line (107ms)

      ✓ vd$ does delete whole line (115ms)

      ✓ Paste over selection copies the selection (92ms)

      ✓ Paste over selection copies the selection linewise (112ms)

    Arrow keys work perfectly in Visual Mode

      ✓ Can handle <up> key (86ms)

      ✓ Can handle <down> key (52ms)

      ✓ Can handle <left> key (62ms)

      ✓ Can handle <right> key (79ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (73ms)

      ✓ Can handle 'vawd' on word with trailing spaces (92ms)

      ✓ Can handle 'vawd' on word with leading spaces (104ms)

      ✓ Can handle 'vawd' on word with numeric prefix (83ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (101ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (125ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (81ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (90ms)

      ✓ Can handle 'vaWd' on word with leading spaces (78ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (72ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (110ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (77ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (121ms)

      ✓ Can handle 'vaWd' on word with leading spaces (118ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (282ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (93ms)

    handles aw in visual mode

      ✓ Can handle 'vawd' on word with cursor inside spaces (93ms)

      ✓ Can handle 'vawd' on word with trailing spaces (67ms)

      ✓ Can handle 'vawd' on word with leading spaces (96ms)

      ✓ Can handle 'vawd' on word with numeric prefix (65ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines (104ms)

      ✓ Can handle 'vawd' on word with numeric prefix and across lines, containing words end with `.` (149ms)

    handles aW in visual mode

      ✓ Can handle 'vaWd' on big word with cursor inside spaces (75ms)

      ✓ Can handle 'vaWd' on word with trailing spaces (76ms)

      ✓ Can handle 'vaWd' on word with leading spaces (99ms)

      ✓ Can handle 'vaWd' on word with numeric prefix (79ms)

      ✓ Can handle 'vaWd' on word with numeric prefix and across lines (134ms)

      ✓ Can handle 'Y' in visual mode (69ms)

    handles as in visual mode

      ✓ Select sentence with trailing spaces in visual mode (79ms)

      ✓ Select sentence with leading spaces in visual mode (126ms)

      ✓ Select multiple sentences in visual mode (119ms)

    handles is in visual mode

      ✓ Select inner sentence with trailing spaces in visual mode (91ms)

      ✓ Select inner sentence with leading spaces in visual mode (171ms)

      ✓ Select spaces between sentences in visual mode (151ms)

    handles tag blocks in visual mode

      ✓ Can do vit on a matching tag (101ms)

      ✓ Count-prefixed vit alternates expanding selection between inner and outer tag brackets (112ms)

      ✓ Can do vat on a matching tag (87ms)

    handles replace in visual mode

      ✓ Can do a single line replace (90ms)

      ✓ Can do a multi line replace (91ms)

    D command will remove all selected lines

      ✓ D deletes all selected lines (85ms)

      ✓ D deletes the current line (100ms)

    handles indent blocks in visual mode

      ✓ Can do vai (121ms)

      ✓ Can do vii (90ms)

      ✓ Doesn't naively select the next line (103ms)

      ✓ Searches backwards if cursor line is empty (105ms)

      ✓ Can do vaI (114ms)

    visualstar

      ✓ Works with * (78ms)

      ✓ Works with # (68ms)

    search works in visual mode

      ✓ Works with / (93ms)

      ✓ Works with ? (113ms)

      ✓ Selects correct range (155ms)

    X will delete linewise

      ✓ normal selection (82ms)

      ✓ normal selection (84ms)

    C will delete linewise

      ✓ normal selection (94ms)

      ✓ normal selection (81ms)

    R will delete linewise

      ✓ normal selection (78ms)

      ✓ normal selection (74ms)

    Linewise Registers will be inserted properly

      ✓ downward selection (119ms)

      ✓ upward selection (125ms)

    Indent Tests using > on visual selections

      ✓ multiline indent top down selection (69ms)

      ✓ multiline indent bottom up selection (120ms)

      ✓ repeat multiline indent top down selection (117ms)

      ✓ repeat multiline indent bottom up selection (113ms)

    Outdent Tests using < on visual selections

      ✓ multiline outdent top down selection (113ms)

      ✓ multiline outdent bottom up selection (80ms)

      ✓ repeat multiline outdent top down selection (106ms)

      ✓ repeat multiline outdent bottom up selection (117ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (159ms)

    vi{ will go to end of second to last line

      ✓ select (74ms)

    Transition between visual mode

      ✓ vv will back to normal mode

      ✓ vV will transit to visual line mode

      ✓ v<C-v> will transit to visual block mode

      ✓ Vv will transit to visual (char) mode

      ✓ VV will back to normal mode

      ✓ V<C-v> will transit to visual block mode

      ✓ <C-v>v will transit to visual (char) mode

      ✓ <C-v>V will back to visual line mode

      ✓ <C-v><C-v> will back to normal mode

    replace text in characterwise visual-mode with characterwise register content

      ✓ gv selects the last pasted text (which is shorter than original) (801ms)

      ✓ gv selects the last pasted text (which is longer than original) (521ms)

      ✓ gv selects the last pasted text (multiline) (459ms)

    can handle gn

      ✓ gn selects the next match text (256ms)

      ✓ gn selects the current word at |hello (245ms)

      ✓ gn selects the current word at h|ello (237ms)

      ✓ gn selects the current word at hel|lo (283ms)

      ✓ gn selects the next word at hell|o (245ms)

      ✓ gn selects the next word at hello| (256ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (140ms)

      ✓ multiline insert from top down selection (84ms)

      ✓ skips blank lines (88ms)

    can append text with A

      ✓ multiline append from bottom up selection (72ms)

      ✓ multiline append from top down selection (99ms)

      ✓ skips blank lines (82ms)



  Mode Visual Block

    ✓ can be activated

    ✓ Can handle A forward select (96ms)

    ✓ Can handle A backwards select (127ms)

    ✓ Can handle I forward select (98ms)

    ✓ Can handle I backwards select (73ms)

    ✓ Can handle I with empty lines on first character (inserts on empty line) (84ms)

    ✓ Can handle I with empty lines on non-first character (does not insert on empty line) (123ms)

    ✓ Can handle c forward select (85ms)

    ✓ Can handle c backwards select (136ms)

    ✓ Can handle C (81ms)

    ✓ Can do a multi line replace (73ms)

    ✓ Can handle 'D' (85ms)

    ✓ Can handle 'gj' (107ms)

    ✓ Properly add to end of lines j then $ (66ms)

    ✓ Properly add to end of lines $ then j (78ms)

    ✓ o works in visual block mode (69ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (199ms)



  Mode Visual Line

    ✓ can be activated

    ✓ Can handle w (227ms)

    ✓ Can handle wd (174ms)

    ✓ Can handle x (135ms)

    ✓ Can handle U (128ms)

    ✓ Can handle x across a selection (134ms)

    ✓ Can do vwd in middle of sentence (163ms)

    ✓ Can do vwd in middle of sentence (161ms)

    ✓ Can do vwd multiple times (218ms)

    ✓ Can handle U across a selection (179ms)

    ✓ Can handle U across a selection in reverse order (295ms)

    ✓ handles case where we go from selecting on right side to selecting on left side (135ms)

    ✓ handles case where we delete over a newline (330ms)

    ✓ handles change operator (204ms)

    ✓ Vp updates register content (103ms)

    ✓ Vp does not append unnecessary newlines (first line) (78ms)

    ✓ Vp does not append unnecessary newlines (middle line) (107ms)

    ✓ Vp does not append unnecessary newlines (last line) (103ms)

    Vim's EOL handling is weird

      ✓ delete through eol (153ms)

      ✓ join 2 lines by deleting through eol (167ms)

      ✓ d$ doesn't delete whole line (150ms)

      ✓ vd$ does delete whole line (114ms)

    Arrow keys work perfectly in Visual Line Mode

      ✓ Can handle <up> key (89ms)

      ✓ Can handle <down> key (77ms)

    Can handle d/c correctly in Visual Line Mode

      ✓ Can handle d key (66ms)

      ✓ Can handle d key (100ms)

      ✓ Can handle d key (70ms)

      ✓ Can handle d key (87ms)

      ✓ can handle 'c' (64ms)

    handles replace in visual line mode

      ✓ Can do a single line replace (117ms)

      ✓ Can do a multi visual line replace (94ms)

      ✓ Can do a multi visual line replace from the bottom up (104ms)

    search works in visual line mode

      ✓ Works with / (100ms)

      ✓ Works with ? (117ms)

    Non-darwin <C-c> tests

      ✓ <C-c> copies and sets mode to normal (189ms)

    replace text in linewise visual-mode with linewise register content

      ✓ yyVp does not change the content but changes cursor position (75ms)

      ✓ linewise visual put works also in the end of document (132ms)

      ✓ gv selects the last pasted text (which is shorter than original) (552ms)

      ✓ gv selects the last pasted text (which is longer than original) (447ms)

      ✓ gv selects the last pasted text (multiline) (289ms)

    can prepend text with I

      ✓ multiline insert from bottom up selection (92ms)

      ✓ multiline insert from top down selection (96ms)

      ✓ skips blank lines (97ms)

    can append text with A

      ✓ multiline append from bottom up selection (92ms)

      ✓ multiline append from top down selection (81ms)

      ✓ skips blank lines (73ms)



  Mode Normal

    ✓ Can handle 'x' (55ms)

    ✓ Can handle 'Nx' (42ms)

    ✓ Can handle 'Nx' and paste (93ms)

    ✓ Can handle 'x' at end of line (113ms)

    ✓ Can handle 'Ns' (291ms)

    ✓ Can handle 'Ns' at end of line (94ms)

    ✓ Can handle '<Del>' (68ms)

    ✓ Can handle '<Del>' with counts, which removes the last character of the count (95ms)

    ✓ Can handle '<Del>' at end of line (202ms)

    ✓ Can handle 'cc' (68ms)

    ✓ Can handle 'Ncc' (74ms)

    ✓ Can handle 'yy' (71ms)

    ✓ Can handle 'D' (72ms)

    ✓ Can handle 'D' on empty lines (57ms)

    ✓ Can handle 'DD' (66ms)

    ✓ Can handle 'C' (50ms)

    ✓ Can handle 'NC' (65ms)

    ✓ Can handle 'r' (57ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle '<Count>r' (59ms)

    ✓ Can handle 'r' after 'dd' (90ms)

    ✓ Can handle 'J' once (50ms)

    ✓ Can handle 'J' twice (64ms)

    ✓ Can handle 'J' with empty last line (69ms)

    ✓ Can handle 'J's with multiple empty last lines (121ms)

    ✓ Can handle 'J' with leading white space on next line (101ms)

    ✓ Can handle 'J' with only white space on next line (63ms)

    ✓ Can handle 'J' with TWO indented lines (87ms)

    ✓ Can handle 'J' with ')' first character on next line (64ms)

    ✓ Can handle 'J' with a following delete (44ms)

    ✓ Can handle 'J' in Visual Line mode (79ms)

    ✓ Can handle 'gJ' once (56ms)

    ✓ Can handle 'gJ' once and ALL WHITESPACE IS ELIMINATED (69ms)

    ✓ Can handle '~' (53ms)

    ✓ Can handle 'g~{motion}' (55ms)

    ✓ Can handle '<BS>' in insert mode (53ms)

    ✓ Can handle undo with P (110ms)

    ✓ Can handle 'ge' in multiple lines case1 (98ms)

    ✓ Can handle 'ge' in multiple lines case2 (98ms)



  Dot Operator

    ✓ Can repeat '~' with <num> (58ms)

    ✓ Can repeat '~' with dot (56ms)

    ✓ Can repeat 'x' (78ms)

    ✓ Can repeat 'J' (55ms)

    ✓ Can handle dot with A (116ms)

    ✓ Can handle dot with I (119ms)

    ✓ Can repeat actions that require selections (109ms)



  Repeat content change

    ✓ Can repeat '<C-t>' (75ms)

    ✓ Can repeat insert change and '<C-t>' (83ms)

    ✓ Can repeat change by `<C-a>` (110ms)

    ✓ Only one arrow key can be repeated in Insert Mode (110ms)

    ✓ Cached content change will be cleared by arrow keys (106ms)



  Matching Bracket (%)

    ✓ before opening parenthesis (50ms)

    ✓ inside parenthesis (51ms)

    ✓ nested parenthesis beginning (54ms)

    ✓ nested parenthesis end (48ms)

    ✓ nested bracket and parenthesis beginning (68ms)

    ✓ nested bracket, parenthesis, braces beginning (45ms)

    ✓ nested bracket, parenthesis, braces end (71ms)


  Motions in Normal Mode

    ✓ Can handle [( (120ms)

    ✓ Can handle nested [( (74ms)

    ✓ Can handle <number>[( (57ms)

    ✓ Can handle [( and character under cursor exclusive (59ms)

    ✓ Can handle ]) (82ms)

    ✓ Can handle nested ]) (45ms)

    ✓ Can handle <number>]) (53ms)

    ✓ Can handle ]) and character under cursor exclusive (57ms)

    ✓ Can handle [{ (65ms)

    ✓ Can handle nested [{ (85ms)

    ✓ Can handle <number>[{ (50ms)

    ✓ Can handle [{ and character under cursor exclusive (47ms)

    ✓ Can handle ]} (68ms)

    ✓ Can handle nested ]} (56ms)

    ✓ Can handle <number>]} (57ms)

    ✓ Can handle ]} and character under cursor exclusive (66ms)

    ✓ Can handle 'ge' (68ms)

    ✓ Can handle 'gg' (98ms)

    ✓ Can handle 'gg' to first non blank char on random line (77ms)

    ✓ Can handle 'gg' to first non blank char on first line (67ms)

    ✓ Retain same column when moving up/down (87ms)

    ✓ Can handle <enter> (54ms)

    ✓ $ always keeps cursor on EOL (64ms)

    ✓ Can handle $ with a count (84ms)

    ✓ Can handle $ with a count at end of file (61ms)

    ✓ Can handle <end> with a count (63ms)

    ✓ Can handle <D-right> with a count (48ms)

    ✓ Can handle 'f' (77ms)

    ✓ Can handle 'f' twice (82ms)

    ✓ Can handle 'F' (63ms)

    ✓ Can handle 'F' twice (114ms)

    ✓ Can handle 't' (49ms)

    ✓ Can handle 't' twice (68ms)

    ✓ Can handle 'T' (80ms)

    ✓ Can handle 'T' twice (63ms)

    ✓ Can run a forward search (59ms)

    ✓ Can run a forward and find next search (62ms)

    ✓ Can run a reverse search (114ms)

    ✓ Can run a reverse and find next search (92ms)

    ✓ maintains column position correctly (55ms)

    ✓ maintains column position correctly with $ (48ms)

    ✓ Can handle G  (43ms)

    ✓ Can handle G with number prefix (66ms)

    ✓ Can handle G with number prefix (71ms)

    ✓ Can handle gg (117ms)

    ✓ Can handle gg with number prefix (62ms)

    ✓ Can handle 0

    ✓ Can handle 0 as part of a repeat (53ms)

    ✓ Can handle g* (59ms)

    ✓ Can handle g*n (62ms)

    ✓ Can handle * (70ms)

    ✓ Can handle ** (59ms)

    ✓ Can handle # on whitespace (74ms)

    ✓ Can handle # on EOL (69ms)

    ✓ Can handle g# (107ms)

    ✓ Can handle g#n (85ms)

    ✓ Can handle # (76ms)

    ✓ Can handle # already on the word (48ms)

    ✓ Can handle ## (93ms)

    ✓ Can handle | (68ms)

    ✓ Can handle <number> | (80ms)

    ✓ Can handle + (40ms)

    ✓ Can handle + indent (65ms)

    ✓ Can handle + with count prefix (42ms)

    ✓ Can handle - (63ms)

    ✓ Can handle - indent (55ms)

    ✓ Can handle - with count prefix (87ms)

    ✓ Can handle _ (42ms)

    ✓ Can handle _ with count prefix (48ms)

    ✓ Can handle g_ (77ms)

    ✓ Can handle g_ with count prefix (68ms)

    ✓ Can handle <up> key (90ms)

    ✓ Can handle <down> key (63ms)

    ✓ Can handle <left> key (62ms)

    ✓ Can handle <right> key (61ms)



  basic motion

    ✓ char right: should move one column right

    ✓ char right

    ✓ char left: should move cursor one column left

    ✓ char left: left-most column should stay at the same location

    ✓ line down: should move cursor one line down

    ✓ line down: bottom-most line should stay at the same location

    ✓ line begin

    ✓ line end

    ✓ document begin

    ✓ document end

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    line up

      ✓ should move cursor one line up

      ✓ top-most line should stay at the same location



  word motion

    ✓ line begin cursor on first non-blank character

    ✓ last line begin cursor on first non-blank character

    word right

      ✓ move to word right

      ✓ last word should move to next line

      ✓ last word should move to next line stops on empty line

      ✓ last word should move to next line skips whitespace only line

      ✓ last word on last line should go to end of document (special case!)

    word left

      ✓ move cursor word left across spaces

      ✓ move cursor word left within word

      ✓ first word should move to previous line, beginning of last word
      ✓ first word should move to previous line, stops on empty line
      ✓ first word should move to previous line, skips whitespace only line
    WORD right
      ✓ move to WORD right
      ✓ last WORD should move to next line
      ✓ last WORD should move to next line stops on empty line
      ✓ last WORD should move to next line skips whitespace only line
    WORD left
      ✓ move cursor WORD left across spaces
      ✓ move cursor WORD left within WORD
      ✓ first WORD should move to previous line, beginning of last WORD
      ✓ first WORD should move to previous line, stops on empty line
      ✓ first WORD should move to previous line, skips whitespace only line
    end of word right
      ✓ move to end of current word right
      ✓ move to end of next word right
      ✓ end of last word should move to next line
      ✓ end of last word should move to next line skips empty line
      ✓ end of last word should move to next line skips whitespace only line
    end of WORD right
      ✓ move to end of current WORD right
      ✓ move to end of next WORD right
      ✓ end of last WORD should move to next line
      ✓ end of last WORD should move to next line skips empty line
      ✓ end of last WORD should move to next line skips whitespace only line



  sentence motion

    sentence forward

      ✓ next concrete sentence

      ✓ next sentence that ends with paragraph ending

      ✓ next sentence when cursor is at the end of previous paragraph

      ✓ next sentence when paragraph contains a line of whilte spaces

    sentence backward

      ✓ current sentence begin

      ✓ sentence forward when cursor is at the beginning of the second sentence

      ✓ current sentence begin with no concrete sentense inside

      ✓ current sentence begin when it's not the same as current paragraph begin

      ✓ current sentence begin when previous line ends with a concrete sentence



  paragraph motion

    paragraph down

      ✓ move down normally

      ✓ move down longer paragraph

      ✓ move down starting inside empty line

      ✓ paragraph at end of document

    paragraph up

      ✓ move up short paragraph

      ✓ move up longer paragraph

      ✓ move up starting inside empty line



  motion line wrapping

    whichwrap enabled

      normal mode

        ✓ h wraps to previous line (50ms)

        ✓ l wraps to next line (64ms)

        ✓ <left> wraps to previous line (85ms)

        ✓ <right> wraps to next line (83ms)

      insert mode

        ✓ <left> wraps to previous line (99ms)

        ✓ <right> once goes to end of line (71ms)

        ✓ <right> twice wraps to next line (67ms)

    whichwrap disabled

      normal mode

        ✓ h does not wrap to previous line (43ms)

        ✓ l does not wrap to next line (57ms)

        ✓ <left> does not wrap to previous line (51ms)

        ✓ <right> does not wrap to next line (47ms)

      insert mode

        ✓ <left> does not wrap to previous line (49ms)

        ✓ <right> does not wrap to next line (127ms)



  Multicursor

    ✓ can add multiple cursors below (242ms)

    ✓ can add multiple cursors above (178ms)



  numeric string

    ✓ fails on non-string

    ✓ handles hex round trip

    ✓ handles decimal round trip

    ✓ handles octal trip



  comment operator

    ✓ gcc comments out current line (143ms)

    ✓ gcj comments in current and next line (224ms)

    ✓ block comment with motion (330ms)

    ✓ block comment in Visual Mode (257ms)


  format operator

    ✓ == formats current line (2039ms)

    ✓ =$ formats entire line (242ms)

    ✓ =j formats two lines (96ms)

    ✓ 3=k formats three lines (118ms)

    ✓ =gg formats to top of file (83ms)

    ✓ =G formats to bottom of file (127ms)

    ✓ =ip formats paragraph (132ms)

    ✓ format in visual mode (103ms)



  put operator

    ✓ basic put test (93ms)

    ✓ test yy end of line (73ms)

    ✓ test yy first line (64ms)

    ✓ test yy middle line (59ms)

    ✓ test yy with correct positon movement (78ms)

    ✓ test visual block single line yank p (93ms)

    ✓ test visual block single line yank P (92ms)

    ✓ test visual block single line delete p (82ms)

    ✓ test visual block single line delete P (69ms)



  shift operator

    ✓ basic shift left test (93ms)

    ✓ shift left goto end test (60ms)

    ✓ shift left goto line test (60ms)

    ✓ shift right goto end test (85ms)

    ✓ shift right goto line test (68ms)



  easymotion plugin

    ✓ Can handle s move (145ms)

    ✓ Can handle 2s move (228ms)

    ✓ Can handle f move (72ms)

    ✓ Can handle 2f move (359ms)

    ✓ Can handle F move (89ms)

    ✓ Can handle 2F move (109ms)

    ✓ Can handle t move (122ms)

    ✓ Can handle bd-t move (94ms)

    ✓ Can handle 2t move (111ms)

    ✓ Can handle bd-t2 move (132ms)

    ✓ Can handle T move (91ms)

    ✓ Can handle 2T move (88ms)

    ✓ Can handle w move (116ms)

    ✓ Can handle bd-w move (113ms)

    ✓ Can handle b move (110ms)

    ✓ Can handle e move (97ms)

    ✓ Can handle bd-e move (93ms)

    ✓ Can handle ge move (81ms)

    ✓ Can handle n-char move (125ms)

    ✓ Can handle j move (84ms)

    ✓ Can handle k move (85ms)

    ✓ Can handle bd-jk move (1) (106ms)

    ✓ Can handle bd-jk move (2) (98ms)

    ✓ Can handle lineforward move (1) (87ms)

    ✓ Can handle lineforward move (2) (70ms)

    ✓ Can handle linebackward move (1) (132ms)

    ✓ Can handle linebackward move (2) (84ms)



  Input method plugin

    ✓ use default im in insert mode

    ✓ use other im in insert mode


  sneak plugin

    ✓ Can handle s motion (83ms)

    ✓ Can handle S motion (100ms)

    ✓ Can handle <operator>z motion (82ms)

    ✓ Can handle <operator>Z motion (74ms)

    ✓ Can handle s; motion (86ms)

    ✓ Can handle s, motion (58ms)

    ✓ Can handle S; motion (55ms)

    ✓ Can handle S, motion (141ms)



  surround plugin

    ✓ 'ysiw)' surrounds word without space (150ms)

    ✓ 'ysiw(' surrounds word with space (183ms)

    ✓ 'ysw)' surrounds word without space (141ms)

    ✓ 'ysw(' surrounds word with space (415ms)

    ✓ 'ysaw)' surrounds word without space (151ms)

    ✓ 'ysaw(' surrounds word with space (135ms)

    ✓ 'ysiw(' surrounds word with space and ignores punctuation (97ms)

    ✓ 'ysiw<' surrounds word with tags (103ms)

    ✓ 'ysiw<' surrounds word with tags and attributes (126ms)

    ✓ 'cst<' surrounds word with tags that have a dot in them (111ms)

    ✓ 'yss)' surrounds entire line respecting whitespace (112ms)

    ✓ change surround (101ms)

    ✓ change surround with alias (95ms)

    ✓ change surround to tags (100ms)

    ✓ delete surround (85ms)

    ✓ delete surround with alias (129ms)

    ✓ delete surround with tags (142ms)

    ✓ change surround brackets at end of line (97ms)

    ✓ changing brackets with surround works again (76ms)

    ✓ change surround with tags that contain an attribute and preserve them (161ms)

    ✓ change surround with tags that contain an attribute and remove them (136ms)



  register

    ✓ Can copy to a register (112ms)

    ✓ Can use two registers together (125ms)

    ✓ Can use black hole register (73ms)

    ✓ System clipboard works with chinese characters (103ms)

    ✓ Yank stores text in Register '0' (322ms)

    ✓ Multiline yank (`[count]yy`) stores text in Register '0' (217ms)

    ✓ Multiline yank (`[count]Y`) stores text in Register '0' (205ms)

    ✓ Register '1'-'9' stores delete content (242ms)

    ✓ "A appends linewise text to "a (238ms)

    ✓ "A appends character wise text to "a (236ms)

    ✓ Can put and get to register

    clipboard

      ✓ Can access '*' (clipboard) register (66ms)

      ✓ Can access '+' (clipboard) register (62ms)



  Repeatable movements with f and t

    ✓ Can repeat f<character> (44ms)

    ✓ Can repeat reversed F<character> (38ms)

    ✓ Can repeat t<character> (43ms)

    ✓ Can repeat N times reversed t<character> (45ms)



  text editor

    ✓ insert 'Hello World'

    ✓ replace 'World' with 'Foo Bar'

    ✓ delete `Hello`

    ✓ delete the whole line

    ✓ try to read lines that don't exist





  1064 passing (4m)

  1 failing



  1) Configuration
       Can handle long key chords:

      Didn't enter correct mode.
      + expected - actual

      -INSERT
      +VISUAL
      
      at Suite.suite (test/configuration/configuration.test.ts:40:3)






Tests exited with code: 1
TravisBuddy Request Identifier: d07a2f10-23b2-11e9-b0c4-a3eb907e7b53

@jpoon
Copy link
Member Author

jpoon commented Jan 29, 2019

I ended up deleting this unit test that rebinded leader,f,e,s. I’m not sure how that rebounding worked initially as f, is an movement.

@xconverge
Copy link
Member

xconverge commented Jan 30, 2019

I ended up deleting this unit test that rebinded leader,f,e,s. I’m not sure how that rebounding worked initially as f, is an movement.

but it there was a remap for { { before: ['<leader>', 'f', 'e', 's'], after: ['v'], },
in the config of the test and the keys pressed for the test were <space>fes

@jpoon
Copy link
Member Author

jpoon commented Jan 30, 2019

Added the test back. I thought due to #1821, we couldn't have such keybindings, but was wrong (at least for normal mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants