├── .gitignore ├── .travis.yml ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── Jenkinsfile ├── LICENSE.txt ├── Makefile ├── README.md ├── package.json ├── quickref.md ├── src ├── Utils.ts ├── VSCodeEditor.ts ├── VSCodeEditorKeyBindings.ts ├── VimStyle.ts ├── action │ ├── AbstractInsertTextAction.ts │ ├── CallEditorCommandAction.ts │ ├── DeleteYankChangeAction.ts │ ├── DeleteYankChangeHighlightedLineAction.ts │ ├── DeleteYankChangeHighlightedTextAction.ts │ ├── ExpandHighlightedLineAction.ts │ ├── ExpandHighlightedTextAction.ts │ ├── GoAction.ts │ ├── InsertTextAction.ts │ ├── JoinHighlightedLinesAction.ts │ ├── JoinLinesAction.ts │ ├── MoveLineAction.ts │ ├── OpenNewLineAndAppendTextAction.ts │ ├── PutRegisterAction.ts │ ├── RepeatLastChangeAction.ts │ ├── ReplaceCharacterAction.ts │ ├── ReplaceCharacterOfSelecetdTextAction.ts │ ├── StartVisualLineModeAction.ts │ └── StartVisualModeAction.ts ├── core │ ├── CommandFactory.ts │ ├── ExMode.ts │ ├── KeyBindings.ts │ └── Register.ts ├── ex │ └── Map.ts ├── extension.ts ├── mode │ └── InsertMode.ts └── motion │ ├── AbstractMotion.ts │ ├── BrancketMotion.ts │ ├── ChangeWordMotion.ts │ ├── DeleteEndOfWordMotion.ts │ ├── DeleteWordMotion.ts │ ├── DownMotion.ts │ ├── FindCharacterMotion.ts │ ├── FirstCharacterInLineMotion.ts │ ├── FirstCharacterMotion.ts │ ├── LastCharacterInLineMotion.ts │ ├── MoveWordMotion.ts │ ├── ParagraphMotion.ts │ ├── RightMotion.ts │ ├── WordMotion.ts │ ├── textObjectSelection │ ├── AbstractTextObjectSelection.ts │ ├── Brancket.ts │ └── Quotation.ts │ └── wordMorionStateModel │ ├── Makefile │ ├── changeWord.plantuml │ ├── changeWord.png │ ├── deleteEndOfWord.plantuml │ ├── deleteEndOfWord.png │ ├── deleteWord.plantuml │ ├── deleteWord.png │ ├── moveWord.plantuml │ └── moveWord.png ├── test ├── .gitignore ├── NeoVimTest.test.ts ├── OriginalVimTest.test.ts ├── VirtualEditor.test.ts ├── VirtualEditor.ts └── vim │ ├── ChangingText.ts │ ├── CopyAndMovingTextTests.ts │ ├── DeletingTextTests.ts │ ├── InsertModeTests.ts │ ├── LeftRightMotions.ts │ ├── RepeatTests.ts │ ├── TextObjectMotions.ts │ ├── TextObjects.ts │ ├── UpDownMotions.ts │ └── VimTests.ts ├── testcontainer ├── centos7 │ └── Dockerfile └── ubuntu1604 │ └── Dockerfile ├── tsconfig.json ├── tslint.json ├── tutorial ├── tutorial1.gif ├── tutorial1.txt ├── tutorial2.gif ├── tutorial2.txt ├── tutorial3.gif └── tutorial3.txt ├── typings └── vscode-vim.d.ts └── vim.png /.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | node_modules 3 | *.vsix -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/Jenkinsfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/package.json -------------------------------------------------------------------------------- /quickref.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/quickref.md -------------------------------------------------------------------------------- /src/Utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/Utils.ts -------------------------------------------------------------------------------- /src/VSCodeEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/VSCodeEditor.ts -------------------------------------------------------------------------------- /src/VSCodeEditorKeyBindings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/VSCodeEditorKeyBindings.ts -------------------------------------------------------------------------------- /src/VimStyle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/VimStyle.ts -------------------------------------------------------------------------------- /src/action/AbstractInsertTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/AbstractInsertTextAction.ts -------------------------------------------------------------------------------- /src/action/CallEditorCommandAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/CallEditorCommandAction.ts -------------------------------------------------------------------------------- /src/action/DeleteYankChangeAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/DeleteYankChangeAction.ts -------------------------------------------------------------------------------- /src/action/DeleteYankChangeHighlightedLineAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/DeleteYankChangeHighlightedLineAction.ts -------------------------------------------------------------------------------- /src/action/DeleteYankChangeHighlightedTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/DeleteYankChangeHighlightedTextAction.ts -------------------------------------------------------------------------------- /src/action/ExpandHighlightedLineAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/ExpandHighlightedLineAction.ts -------------------------------------------------------------------------------- /src/action/ExpandHighlightedTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/ExpandHighlightedTextAction.ts -------------------------------------------------------------------------------- /src/action/GoAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/GoAction.ts -------------------------------------------------------------------------------- /src/action/InsertTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/InsertTextAction.ts -------------------------------------------------------------------------------- /src/action/JoinHighlightedLinesAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/JoinHighlightedLinesAction.ts -------------------------------------------------------------------------------- /src/action/JoinLinesAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/JoinLinesAction.ts -------------------------------------------------------------------------------- /src/action/MoveLineAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/MoveLineAction.ts -------------------------------------------------------------------------------- /src/action/OpenNewLineAndAppendTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/OpenNewLineAndAppendTextAction.ts -------------------------------------------------------------------------------- /src/action/PutRegisterAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/PutRegisterAction.ts -------------------------------------------------------------------------------- /src/action/RepeatLastChangeAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/RepeatLastChangeAction.ts -------------------------------------------------------------------------------- /src/action/ReplaceCharacterAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/ReplaceCharacterAction.ts -------------------------------------------------------------------------------- /src/action/ReplaceCharacterOfSelecetdTextAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/ReplaceCharacterOfSelecetdTextAction.ts -------------------------------------------------------------------------------- /src/action/StartVisualLineModeAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/StartVisualLineModeAction.ts -------------------------------------------------------------------------------- /src/action/StartVisualModeAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/action/StartVisualModeAction.ts -------------------------------------------------------------------------------- /src/core/CommandFactory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/core/CommandFactory.ts -------------------------------------------------------------------------------- /src/core/ExMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/core/ExMode.ts -------------------------------------------------------------------------------- /src/core/KeyBindings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/core/KeyBindings.ts -------------------------------------------------------------------------------- /src/core/Register.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/core/Register.ts -------------------------------------------------------------------------------- /src/ex/Map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/ex/Map.ts -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/extension.ts -------------------------------------------------------------------------------- /src/mode/InsertMode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/mode/InsertMode.ts -------------------------------------------------------------------------------- /src/motion/AbstractMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/AbstractMotion.ts -------------------------------------------------------------------------------- /src/motion/BrancketMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/BrancketMotion.ts -------------------------------------------------------------------------------- /src/motion/ChangeWordMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/ChangeWordMotion.ts -------------------------------------------------------------------------------- /src/motion/DeleteEndOfWordMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/DeleteEndOfWordMotion.ts -------------------------------------------------------------------------------- /src/motion/DeleteWordMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/DeleteWordMotion.ts -------------------------------------------------------------------------------- /src/motion/DownMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/DownMotion.ts -------------------------------------------------------------------------------- /src/motion/FindCharacterMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/FindCharacterMotion.ts -------------------------------------------------------------------------------- /src/motion/FirstCharacterInLineMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/FirstCharacterInLineMotion.ts -------------------------------------------------------------------------------- /src/motion/FirstCharacterMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/FirstCharacterMotion.ts -------------------------------------------------------------------------------- /src/motion/LastCharacterInLineMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/LastCharacterInLineMotion.ts -------------------------------------------------------------------------------- /src/motion/MoveWordMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/MoveWordMotion.ts -------------------------------------------------------------------------------- /src/motion/ParagraphMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/ParagraphMotion.ts -------------------------------------------------------------------------------- /src/motion/RightMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/RightMotion.ts -------------------------------------------------------------------------------- /src/motion/WordMotion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/WordMotion.ts -------------------------------------------------------------------------------- /src/motion/textObjectSelection/AbstractTextObjectSelection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/textObjectSelection/AbstractTextObjectSelection.ts -------------------------------------------------------------------------------- /src/motion/textObjectSelection/Brancket.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/textObjectSelection/Brancket.ts -------------------------------------------------------------------------------- /src/motion/textObjectSelection/Quotation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/textObjectSelection/Quotation.ts -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/Makefile -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/changeWord.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/changeWord.plantuml -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/changeWord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/changeWord.png -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/deleteEndOfWord.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/deleteEndOfWord.plantuml -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/deleteEndOfWord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/deleteEndOfWord.png -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/deleteWord.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/deleteWord.plantuml -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/deleteWord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/deleteWord.png -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/moveWord.plantuml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/moveWord.plantuml -------------------------------------------------------------------------------- /src/motion/wordMorionStateModel/moveWord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/src/motion/wordMorionStateModel/moveWord.png -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | .viminfo 2 | -------------------------------------------------------------------------------- /test/NeoVimTest.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/NeoVimTest.test.ts -------------------------------------------------------------------------------- /test/OriginalVimTest.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/OriginalVimTest.test.ts -------------------------------------------------------------------------------- /test/VirtualEditor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/VirtualEditor.test.ts -------------------------------------------------------------------------------- /test/VirtualEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/VirtualEditor.ts -------------------------------------------------------------------------------- /test/vim/ChangingText.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/ChangingText.ts -------------------------------------------------------------------------------- /test/vim/CopyAndMovingTextTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/CopyAndMovingTextTests.ts -------------------------------------------------------------------------------- /test/vim/DeletingTextTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/DeletingTextTests.ts -------------------------------------------------------------------------------- /test/vim/InsertModeTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/InsertModeTests.ts -------------------------------------------------------------------------------- /test/vim/LeftRightMotions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/LeftRightMotions.ts -------------------------------------------------------------------------------- /test/vim/RepeatTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/RepeatTests.ts -------------------------------------------------------------------------------- /test/vim/TextObjectMotions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/TextObjectMotions.ts -------------------------------------------------------------------------------- /test/vim/TextObjects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/TextObjects.ts -------------------------------------------------------------------------------- /test/vim/UpDownMotions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/UpDownMotions.ts -------------------------------------------------------------------------------- /test/vim/VimTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/test/vim/VimTests.ts -------------------------------------------------------------------------------- /testcontainer/centos7/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/testcontainer/centos7/Dockerfile -------------------------------------------------------------------------------- /testcontainer/ubuntu1604/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/testcontainer/ubuntu1604/Dockerfile -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tslint.json -------------------------------------------------------------------------------- /tutorial/tutorial1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial1.gif -------------------------------------------------------------------------------- /tutorial/tutorial1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial1.txt -------------------------------------------------------------------------------- /tutorial/tutorial2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial2.gif -------------------------------------------------------------------------------- /tutorial/tutorial2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial2.txt -------------------------------------------------------------------------------- /tutorial/tutorial3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial3.gif -------------------------------------------------------------------------------- /tutorial/tutorial3.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/tutorial/tutorial3.txt -------------------------------------------------------------------------------- /typings/vscode-vim.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/typings/vscode-vim.d.ts -------------------------------------------------------------------------------- /vim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/74th/vscode-vim/HEAD/vim.png --------------------------------------------------------------------------------