Commit Graph

496 Commits

Author SHA1 Message Date
xconverge
03c8800f9f fixes #1320 2017-02-22 20:26:22 -08:00
Nicolas Antor
3cbdd3b6ff Fixed #1308 and added Tests 2017-02-22 13:12:34 +09:00
Jason Yan
d75a007873 Fix lint issue. (#1316) 2017-02-20 16:40:58 -08:00
Nicolas Antor
a942f37194 Added FeatureRequest #1307. Based on #1305. Added Tests. 2017-02-16 17:24:20 +09:00
Nicolas Antor
a2aa065a58 Added FeatureRequest #1305. Added Tests for new Feature C in Visual Mode 2017-02-16 16:59:46 +09:00
Nicolas Antor
10a952b41c Fixed #1304. Substitute seems to depend on it, therefor only make the change if in visual mode 2017-02-16 16:40:06 +09:00
Grant Mathews
8a521bcec9 Merge branch 'master' into FixCOnLineBeginning#1302 2017-02-15 19:04:53 +07:00
Nicolas Antor
5ee3fe352e Fix #1302. Change c action to check if this is a selection ending at the beginning of a line 2017-02-15 18:01:18 +09:00
Nicolas Antor
47dfca69d1 Added 2 tests to ensure future correctness of this action 2017-02-14 13:56:04 +09:00
Grant Mathews
3eada0f883 Merge pull request #1277 from rhys-vdw/exact-search
Support exact and inexact current word search
2017-02-07 21:05:41 +07:00
Rhys van der Waerden
20d0bdf721 Test and fix current word search commands
Add tests for `g*` and `g#` by themselves and in combination with `n` (to step to next command).

Previously the `#` and `*` commands (and, by virtue of having been copied, the `g#` and `g*` commands introduced in a previous commit) would immediately search and filter any matches that were not full word matches.

ie. they would skip matches "hello" when searching for "he".

This would work fine for `*` or `#` directly, but subsequent uses of `n` or `N` would match incorrectly since the word bounds were not included in the search state.
2017-02-08 00:23:33 +11:00
Ryan Breen
794ad41ddb delete matching brackets when the opening bracket is deleted 2017-02-03 11:09:33 -05:00
Vikram Thyagarajan
ac871462d1 Implements Global state (#1179)
* Made GlobalState hold search and . action values

* Adds a test to check . action across editors

* Added util helper that waits for tab changes

* Added all global search history tests

* Fixed global search tests, removed timeout, sleeps

* Moved searchState and searchStateIndex to global

* Tab change recalculates search ranges

* Global . test to await tab change not timeouts

* Moved getters, setters to globalState + cleanup

* Fixed waitForTabChange case of synchronous tab change
2016-12-20 16:20:29 -05:00
Platzer
2265586add Fixed "d" and "D" in multicursor mode (#1029)
* Fixed missing multicursor param for Reg.Put

* added construct param for multi-cur. index

* Added test for 'D' single- and multicursor

* revert changes in ActionJoin!
2016-12-18 15:08:23 -08:00
Sean Kelly
cb9a693104 Select inner vi( fix (#1175)
* fixes #1165

* fix indenting in test
2016-12-18 14:52:30 -08:00
Sean Kelly
3dd4643cd2 fixes #1136 (#1139) 2016-12-15 15:29:17 -08:00
Sean Kelly
2c81aa4f7c Reselect visual implemented (gv) (#1141)
* fixes #986

* update roadmap for gv
2016-12-08 23:36:47 -08:00
johnfn
cc471c8325 Refactor out getInstance() 2016-12-04 15:03:45 -05:00
johnfn
2a5bcff8e1 Fix #1030. 2016-12-03 22:39:48 -05:00
Grant Mathews
69e3b18c99 Merge pull request #1071 from xconverge/support-for-ctrl-o
fixes #1065
2016-11-22 18:29:23 -05:00
xconverge
eabd442ed2 added test for <c-o> 2016-11-22 14:39:58 -08:00
xconverge
6f94d6c9fa fixes #1023 2016-11-20 15:35:49 -08:00
Sean Kelly
060c2dd12f Visual block fixes to cursor position and tests (#1044)
* fixes #1003

* fixes #1043
2016-11-17 00:46:30 -08:00
rebornix
77ac42ff81 fix joining lines in Visual Line mode 2016-11-02 15:14:20 -07:00
rebornix
f2140b7840 fix #1016 2016-11-01 14:14:40 -07:00
xconverge
d0c35920f7 fix broken test 2016-10-31 14:17:58 -07:00
xconverge
eb7fcba824 also fix visual select around parenthesis 2016-10-31 14:17:58 -07:00
xconverge
19d6a64722 fixes #1013 2016-10-31 14:17:58 -07:00
Platzer
eae04d8653 Numbered, upper case and multicursor register (#974)
* Added basic numbered register for yank&delete
fixes #500

* Added test and fixed RegisterContent Typo

* added appending with normal- and multicursor

* Added tests for appending in normal mode

* Added @jpoon remarks from PR #918

* fixed error when reuse numbered registers

* correct spelling mistake in comments

* fix wrong appending from normal to multic register
2016-10-27 23:51:27 -07:00
xconverge
1300362cf8 fixes #998 2016-10-27 09:40:01 -07:00
xconverge
a0a69ee7e3 fixes #638 2016-10-26 13:35:36 -07:00
xconverge
0f9c4927a4 Run all tests 2016-10-25 20:50:12 -07:00
xconverge
2614dbf339 Add test for visual line replace from the bottom up 2016-10-25 19:57:34 -07:00
xconverge
278662c48b accidental bad merge 2016-10-25 17:03:10 -07:00
xconverge
79dcdb9cb8 Merge branch 'master' into add-tests
# Conflicts:
#	test/mode/modeNormal.test.ts
2016-10-25 17:01:23 -07:00
Sean Kelly
4539dfaf21 Fix issue where EOL was replaced.
Fix test for visual line with typo
Pull request feedback incorporated.
2016-10-25 16:03:51 -07:00
xconverge
69d665b0ef bad merge by accident 2016-10-24 22:09:53 -07:00
xconverge
c9e5de4e2b Merge branch 'master' into r-visual-block 2016-10-24 22:07:59 -07:00
xconverge
e3098f9c87 Visual and visual line replace are now extremely fast. Previously while iterating over every character, it was very slow. 2016-10-24 22:00:09 -07:00
pengzhenqing
3814252b49 remove leading spaces when <Esc>... is pressed #685 2016-10-24 21:59:07 -07:00
Peng Lyu
e605ed3dfe fix #982 (#984) 2016-10-24 20:36:17 -07:00
rebornix
fa373ba3ed fix #689 2016-10-24 14:40:39 -07:00
Peng Lyu
41c803cf59 fix #693 (#964) 2016-10-21 14:16:55 -07:00
Koya Fukushi
56b0cba96e Add a command is D in visual block mode. (#957)
* Add a command is `D` in visual block mode.

* add a test
2016-10-21 12:31:37 -07:00
Peng Lyu
c58f7af293 fix #922 (#960) 2016-10-20 17:51:13 -07:00
rebornix
f983049b07 fix #921 2016-10-19 14:30:51 -07:00
rebornix
89ad07f6a7 fix #937 2016-10-18 21:14:25 -07:00
rebornix
da8c437339 stop macro once motions fail 2016-10-18 16:17:44 -07:00
rebornix
999269538f abort when a motion fails 2016-10-18 16:17:44 -07:00
rebornix
cc8168b2d9 Code formart 2016-10-18 16:17:44 -07:00
rebornix
b86f293895 support to run last invoked macro 2016-10-18 16:17:44 -07:00
rebornix
b711737e90 support repeating Macro 2016-10-18 16:17:44 -07:00
rebornix
5e3db760d7 test all test cases 2016-10-18 16:17:44 -07:00
rebornix
9c009ab34f Append command to existing macro 2016-10-18 16:17:44 -07:00
rebornix
0f59db9305 add test cases for Macro from Practical Vim 2016-10-18 16:17:44 -07:00
rebornix
7fcd0195d8 fix a test case issue for indentation 2016-10-18 15:58:37 -07:00
rebornix
4590e1880e indentation doesn't ruin vim modes 2016-10-18 15:58:37 -07:00
rebornix
45acc57ddc make sure we update cursor position internally correctly 2016-10-18 15:58:37 -07:00
rebornix
a3ea6a9e8c add several more cases 2016-10-17 22:30:31 -07:00
xconverge
2c973ca15e Minor cleanup 2016-10-12 22:15:29 -07:00
xconverge
bde1cfadbc fix matching movements throwing exception when they fail 2016-10-12 22:14:20 -07:00
xconverge
7b11523069 Add some tests 2016-10-12 20:11:41 -07:00
rebornix
ad50ef2db1 remove unused interface 2016-10-09 22:01:43 -07:00
rebornix
b9a2e90040 Insert Previous Changed Text 2016-10-09 20:53:07 -07:00
Grant Mathews
7a2908ffa7 Merge pull request #835 from VSCodeVim/use-new-transformation-style-in-delete-paste
[WIP] Use new transformation style in delete and paste
2016-10-07 15:59:59 -07:00
Sean Kelly
b193c22324 fixes #784 (#814)
* fixes #784

* Cleaned up implementation of fix slightly
2016-10-05 12:44:27 -07:00
johnfn
c9ec770b5e Fix Y. 2016-10-03 22:55:12 -07:00
johnfn
2430e3f645 Merge branch 'master' into multi-cursor-mode-simple
Conflicts:
	src/register/register.ts
2016-09-30 15:12:09 -07:00
Martin Leech
1aaf3fb771 Fix bug joining lines with whitespace only line 2 (#799)
Fixes #557, #797
2016-09-26 15:18:09 -07:00
Ben Chauvette
9a6b359500 Support "+ system clipboard register (#780) (#782)
* Support "+ system clipboard register

* Add isClipboardRegister? to IRegisterContent

* Make IRegisterContent.isClipboardRegister required
2016-09-21 02:01:59 -07:00
johnfn
7f278d13a4 Move replace mode to new text transformation style. 2016-09-19 18:25:21 -07:00
johnfn
16c5da06b6 Merge branch 'master' into multi-cursor-mode
Conflicts:
	src/actions/actions.ts
	src/mode/modeHandler.ts
	src/register/register.ts
	src/util.ts
2016-09-15 16:19:07 -07:00
Grant Mathews
002e6821fa Merge pull request #770 from jgoz/743-fix-delete-crlf
Fix delete line with CRLF (#743)
2016-09-15 15:38:47 -07:00
johnfn
227882d492 Fix a bunch more tests. 2016-09-15 13:42:00 -07:00
Grant Mathews
c16a57c551 Merge pull request #736 from dominic31/read-command
Read command
2016-09-14 23:10:17 -07:00
rebornix
98a538e67c fix #772 2016-09-14 15:50:18 -07:00
johnfn
779ad9de38 Fix o/O 2016-09-14 15:19:22 -07:00
John Gozde
82bfb60527 Handle CRLF in delete action (#743) 2016-09-14 09:22:41 -06:00
John Gozde
574e805d2d Remove duplicate test (#700) 2016-09-14 09:22:27 -06:00
Dominic Gee
0faed06c94 Merged with master 2016-09-13 22:26:17 +02:00
Dominic Gee
77e3d1ffee Made unit test slightly more complex 2016-09-13 21:41:48 +02:00
johnfn
55ac6154c7 Fix & speed up a lot of tests. 2016-09-12 19:55:29 -07:00
rebornix
26e358e24b add numeric prefix support for replace mode 2016-09-12 12:42:00 -07:00
rebornix
abb0a6ed13 add count support for 'r' 2016-09-12 10:48:54 -07:00
Peng Lyu
1b69c8bb96 Substitute marks (#744)
* add synonym for '<,'>

* support Marks in substitute

* support ; and update roadmap
2016-09-11 15:25:02 -07:00
Dominic Gee
7b3b822da2 Fixed test so that it passes on Windows 2016-09-09 21:31:49 +02:00
Dominic Gee
3d908d2752 Added support for read command 2016-09-08 22:11:56 +02:00
Sean Kelly
8fd5d01901 added visual block tests (#722) 2016-09-06 11:28:03 -07:00
Jason Poon
9efc43a5e9 Fix #716. Remapper options should be case-insensitive (#721) 2016-09-06 11:26:15 -07:00
xconverge
2f938d04a0 fixes #696 2016-09-05 12:21:35 -07:00
Sean Kelly
e7796d91e6 fix #690 and other toggle case issues (#698)
* fix #690 and other toggle case issues

* fixing tslint error

* removed duplicate code for toggle case operator
2016-09-05 10:40:09 -07:00
amin roosta
69ff80c3f6 Implement ; and , (#674)
* Implement ; and ,

* Trying to fix travis ci agent (which does not handle clipboard tests well)

* fix tslint errors

* cleanup

* more cleanup

* even more cleanup

* and more cleanup
2016-09-03 10:38:49 -07:00
Jason Poon
259ce18bcb fix_#_*_command (#702) 2016-09-02 16:12:17 -07:00
Pine Wu
a67130db49 Handle Ns to fix #684
Use native canBePrefixedWithCount
2016-09-01 09:16:25 -07:00
Jason Poon
73f4f6ee22 Use angle bracket notation replacing ctrl+* => <C-*>, backspace => <BS>, etc. Closes #64 (#683) 2016-08-31 21:09:50 -07:00
Platzer
05c7e6788a Fix bug #613 ":wq command dows not work" (#630)
* Fix bug #613

* fixed bug when closing untitled file

* make WriteCommand.Execute a async
needed to fs.accessSync to return the saving promise

* make use of Write- and QuitCommand

* fs.access - error not handled correctly

* make 'w', 'q' and 'wq' async

* created writequit test

* extract polling for vscode into function

* removed unused imports
2016-08-28 12:43:52 -07:00
Sean Kelly
7a3ef2803e fix #510 (#659)
* fix #510

* Added globals file with isTesting variable that is true while running tests.

* Updated globals file to not pollute the namespace
2016-08-28 12:20:32 -07:00
Aiden Scandella
de982aceb1 Allow regex in / search (#627)
* Allow regex in / search

* Handle invalid regexen

* Update constructor

* Escape backslash

* Also support backwards search
2016-08-28 12:20:03 -07:00
Sean Kelly
a45b2b6d39 fix #654 (#656) 2016-08-25 22:34:05 -07:00
Sean Kelly
318d802889 fix #501 some more to include 'k' (#635) 2016-08-21 22:21:37 -07:00
Sean Kelly
61312b742f fix #501 (#632)
* fix #501

* fixing whitespace from failed checks
2016-08-20 12:41:20 -07:00
Aiden Scandella
3a3d09be57 Respect indentation on cc and S (#629)
* Respect indentation on cc and C

This uses a new `autoindent` setting (default true) to determine whether
a line replacement should cut to the beginning of the line, or the first
non-whitespace char.

* Undo test hax
2016-08-20 12:39:22 -07:00
Aiden Scandella
d9cba8bbe6 Implement cit and cat tag movements (#619) 2016-08-18 02:02:27 -07:00
rebornix
c5d67ba813 add test cases for newly introduced text objec motions 2016-08-17 07:08:03 -07:00
rebornix
c6a77da8a4 support case toggling 2016-08-17 01:57:12 -07:00
rebornix
82a81b5f19 fix #609 2016-08-16 10:58:55 -07:00
akasakas
60fb2f5cab Add support Y in visual mode (#597)
* Add support Y in visual mode

* Create YankOperator in Visual Mode
2016-08-12 22:17:56 -07:00
rebornix
8e75efeb52 fix test regression for indentation adjustment 2016-08-12 21:28:05 +08:00
rebornix
c2271520fa fix tabsize, expand spaces and iskeyword overridden issues 2016-08-12 21:28:05 +08:00
rebornix
b56c100446 Sentence selection 2016-08-12 13:36:03 +08:00
akasakas
342495602e fix C or cc kill the empty line (#591)
* fix C or cc kill the empty line

* modify bugfix C or cc kill the empty line

* add test case for C or cc
2016-08-11 13:03:41 -07:00
Grant Mathews
23be73dc69 Merge pull request #579 from xconverge/fix-backwards-tilAndFind
Fix for issue #571
2016-08-08 15:50:57 -07:00
Grant Mathews
f5885a6d75 Merge pull request #580 from rebornix/ReplaceMode
Replace mode
2016-08-08 10:51:23 -07:00
rebornix
f1f7c587bb test cases for Replace and repeat 2016-08-08 17:08:20 +08:00
rebornix
8042b93a3c update tests 2016-08-08 16:28:04 +08:00
rebornix
d790dbd1f9 Substitute with no range 2016-08-08 15:20:19 +08:00
xconverge
7dff7174b1 Fix for issue #571 2016-08-07 21:53:48 -07:00
Glib Smaga
7b3eff970b Add support for S (#546)
* Add support for S

* Fix roadmap. Allow count for S. Nuke whole line.
2016-08-04 00:28:56 -07:00
Peng Lyu
b7ec91225b Fix test regression (#560) 2016-08-03 11:14:13 -07:00
johnfn
4506898456 Fix mark bug. 2016-08-03 00:01:26 -07:00
johnfn
e5499335c3 DRY up extension.ts and standardize on key names
Those arrays in extension.ts have been a thorn in my side, I tell you.
2016-08-02 23:27:23 -07:00
Thomas Boyt
9e38fd869b Fix incorrect cursor location after deleting linebreak (fixes #550) (#551) 2016-08-02 22:33:14 -07:00
amin roosta
17449064dd Support "{char} registers and clipboard access via "* register. (#543)
* add register '*'

* add copy-paste to access system clipboard

* read and write to clipboard when register * is accessed

* unit tests for registers

* support alphanameric registers & update roadmap

* trying to fix ci build

* Fix gulp:tslint errors

* use new test style in register.test.ts
2016-08-02 02:37:38 -07:00
Pine
dfac7894f6 Make <delete> repeatable in Normal Mode. Fix #394 (#514)
* Make <delete> repeatable in Normal Mode. Fix #394

* Only implement <delete> for Normal Mode

* Correctly handle N<delete>, which should be a no-op
2016-07-29 10:19:52 -07:00
johnfn
a969ec5296 Add Y. 2016-07-29 00:37:28 -07:00
Aiden Scandella
00f094af7c Implement increment and decrement operators (#515)
* Implement increment and decrement operators

This adds support for single or numeric-prefix control+x and control+a.

* Add numeric string helper

* Unit tests for numericString

* Handle octal

* Integration test for octal

* Guard control-a behind flag

* Use a better algorithm

* Extract IterateWords to Position

* Use destructuring

* Handle negatives

* Flag it up

* Re-add the hacks, even hackier this time

* Remove outdated comment
2016-07-25 23:30:22 -07:00
Aiden Scandella
cc59ae0f94 Omit first word in hash backwards search (#506)
* Omit first word in hash backwards search

* Add comments
2016-07-25 09:42:40 -06:00
Aiden Scandella
0c18fa5be4 Implement quoted text objects (#483)
Fixes #471, #287
2016-07-24 19:00:25 -06:00
johnfn
00712c1ba7 Make some code explicit, and fix failed flag. 2016-07-24 18:49:36 -06:00
Peng Lyu
6c255011bc Word in visual mode (#385)
* refactor and minor fix aw

* Fix leading spaces of aw

* Fix numeric aw

* Add aW big word selection

* aw, aW visual mode test

* Refactor execActionForOperator for aw

* aw, aW Normal mode test

* fix whitespace and update roadmap status

* iw and iW

* When select chars in reverse order, {i/a}{w/W} works differently.

* iw, iW test cases.

* Refactor

* Fix null check for union type.
2016-07-23 00:33:55 -06:00
Aiden Scandella
507741c9fd Fix % movement when not on opening character (#490)
Vim's behavior is to move to the closing match, if available. Prior to
this commit, we were moving to the opening char.

Fixes #480
2016-07-20 23:17:44 -07:00
Aiden Scandella
4a0f804f66 Fix regressions in text objects (#473) 2016-07-19 03:09:53 -06:00
Aiden Scandella
bd7569e139 Implement square-bracket text object (#467)
* Implement square-bracket text object

* Moar tests
2016-07-19 03:06:45 -06:00
Aiden Scandella
7a5e2731dd Fix handling of opener for nested text objects (#472)
Prior to this commit, we would naively search for the previous e.g. "{"
character when you wanted to "ci{".

However, if you were inside two levels of nesting:

  one {
    two {}
    // cursor here
  }

Then the backwards search would take you to the wrong place.

Switching to the same logic for forward searching, we now handle this
case properly.
2016-07-18 17:16:36 -07:00
Grant Mathews
593573a59e Add support for failed motions (#466)
* Add failed motions.

* Add failure state to inside-delimiter motions.
2016-07-16 19:55:52 -07:00
Aiden Scandella
f152ee1e02 Add test-specific tslint (#464)
* Add test-specific tslint

Fixes #379

* Enable newTestOnly as proof-of-concept
2016-07-16 18:09:52 -07:00
Aiden Scandella
910666d1b8 Implement additional text object commands (#450)
* Implement additional text object commands

This allows for e.g. 'ci(', 'ca"', 'di<' commands.

* Remove quote matching for now
2016-07-16 10:48:28 -07:00
Peng Lyu
9c1ec4b32d Convert 4 space tab to 2 space tab. (#460)
* Convert 4 space tab to 2 space tab.

* Add tab config to workspace settings.
2016-07-16 10:02:31 -07:00
Aiden Scandella
aa8f6051a8 Add support for ctrl+w in insert mode (#453)
* Add support for ctrl+w in insert mode

This deletes backwards, and is for some reason one of my most commonly
used keyboard shortcuts.

* Update manifests
2016-07-15 21:37:34 -07:00
Russell Kennington
db168e3de1 Fix #426 (#445)
* Fix #426
2016-07-15 00:59:08 -07:00
Jason Poon
5a2bce3e39 Remove custom keyboard mapping (fixes #432). Fix duplicate definition errors 2016-07-14 12:38:42 -07:00
rebornix
0f61884dd9 Read TextEditor options from active editor 2016-07-14 21:49:39 +08:00
johnfn
e2b3dbd681 Fix E with operator 2016-07-13 23:23:40 -07:00
johnfn
3bd49846ee Merge branch 'master' of github.com:VSCodeVim/Vim 2016-07-13 12:35:50 -07:00
johnfn
b5cc1e14de Make G a linewise motion. 2016-07-13 12:35:27 -07:00
Grant Mathews
1a8533c804 Merge pull request #412 from rebornix/PWithIndent
[p, [p, gp and gP
2016-07-13 12:19:07 -07:00
johnfn
95f760d19b Fix backspace in repeat command 2016-07-13 03:23:16 -07:00
johnfn
e45b9b591f Add p/P in Visual/Visual Line mode. 2016-07-13 03:11:33 -07:00
johnfn
e18cbf6adc Add s command in visual mode. 2016-07-13 02:48:14 -07:00
johnfn
8b76cf8a68 Check in custom typings; fix for...of loops. 2016-07-12 11:12:23 -07:00
Grant Mathews
ce60c0294e Merge pull request #431 from VSCodeVim/typescript-two-dot-oh
Use TypeScript 2.0 and use strictNullChecks.
2016-07-12 00:46:24 -07:00
johnfn
1463209024 Use TypeScript 2.0 and use strictNullChecks. 2016-07-12 00:44:55 -07:00
rebornix
4aa1c55298 Fix#369. dw eats EOF. 2016-07-12 10:25:36 +08:00
Peng Lyu
5587de0dea Fix #397. (#413) 2016-07-08 11:14:38 -07:00
rebornix
6a9f912291 [p, ]p, gp, gP and test cases.
Fix #403.
2016-07-08 19:22:09 +08:00
Grant Mathews
fd33d3bf40 Merge pull request #376 from rebornix/SearchNReplace
Substitute
2016-07-08 00:45:24 -07:00
rebornix
90328034e5 Fix #407. 2016-07-08 15:40:29 +08:00
Grant Mathews
aed8f047ec Merge pull request #388 from rebornix/UseCorrectAPI4FileOpen
Use correct API for file open.
2016-07-06 21:12:54 -07:00
rebornix
20ede50d7a Add nextWord for scanner and test cases. 2016-07-06 12:50:51 +08:00
rebornix
7309d77501 workbench.files.action.closeAllFiles is deprecated. 2016-07-05 21:15:15 +08:00
rebornix
b60b8813a7 Fix whitespaces and tslint 2016-07-05 15:35:51 +08:00
rebornix
c3c720397f Basic test for substitute. 2016-07-05 15:31:21 +08:00
rebornix
54593067f3 add basic test cases for substitute args parsing. 2016-07-05 15:31:21 +08:00
johnfn
5c8d7381a8 Fix tslint 2016-07-03 19:48:04 -04:00
rebornix
fd4ff50751 add visual mode tests for arrows 2016-07-01 13:44:13 +08:00
rebornix
7cab862e3f Normal Test for arrows 2016-07-01 11:00:22 +08:00
johnfn
caddbad61f Fix some problems with tslint and Travis. 2016-06-30 13:11:04 -04:00
johnfn
8d2b389b77 Merge branch 'master' into history
Conflicts:
	package.json
	test/mode/modeNormal.test.ts
2016-06-30 03:42:32 -04:00
rebornix
9d5e153c54 Test Cases for unclosed curly brackets 2016-06-29 13:05:26 +08:00
rebornix
b8ff83bb1c Test Cases for unclosed round brackets 2016-06-29 12:10:59 +08:00
johnfn
f2021dc563 Fix a bug with running tests. 2016-06-28 22:19:12 -04:00
johnfn
bbf89ee165 Minor cleanup 2016-06-28 19:47:08 -04:00
johnfn
cc10d252da More cursor position wrangling 2016-06-28 15:16:57 -04:00
johnfn
24869821e9 Track cursor position correctly. 2016-06-28 14:26:36 -04:00
johnfn
4650f86bc9 Fix a few bugs 2016-06-28 14:10:55 -04:00
Grant Mathews
2f9d66abb9 Merge pull request #366 from rebornix/C
Support `C`
2016-06-28 00:58:05 -04:00
rebornix
af2f05cc76 Numeric 2016-06-28 12:48:40 +08:00
johnfn
8312673f8e Add u operator, fix U operator behavior. 2016-06-27 13:02:46 -04:00
Grant Mathews
0cf7d1892b Merge pull request #365 from rebornix/CC
Add Ncc support and revise cc behavior
2016-06-27 12:45:07 -04:00
rebornix
92f11f3138 Align documentation with code change. 2016-06-27 18:40:01 +08:00
rebornix
8c8037841f Add Ncc support and revise cc behavior 2016-06-27 17:43:29 +08:00
rebornix
5f4d58da26 Make tslint happy 2016-06-27 16:01:24 +08:00
rebornix
33e28c4c33 Fix N sentences 2016-06-27 15:29:20 +08:00
rebornix
3adbcb7801 Sentence Backward. 2016-06-27 15:09:54 +08:00
rebornix
494a135703 Fix false positive with Sentence Forward. 2016-06-27 15:09:47 +08:00
rebornix
3a6b4a5797 Next Sentence 2016-06-27 14:06:42 +08:00
johnfn
c555b1d59e Add space motion. 2016-06-25 18:52:15 -07:00
johnfn
995ab90220 Add gJ. 2016-06-24 02:16:57 -07:00
johnfn
aad9bc13ee Merge branch 'master' of github.com:VSCodeVim/Vim 2016-06-24 01:49:44 -07:00
johnfn
238587c653 Fix I, add gI.
I'm learning all these new things about Vim!
2016-06-24 01:49:00 -07:00
rebornix
433ba199a5 Implement <count>yy 2016-06-24 16:36:00 +08:00
Grant Mathews
e0e401f954 Merge pull request #350 from rebornix/AlignTextEditorOpts
Align TextEditorOptions between test code and workspace
2016-06-24 01:13:36 -07:00
rebornix
1eccc091f8 Fix uppercase linter issue 2016-06-24 15:58:52 +08:00
rebornix
f8f01e8acb Align TextEditorOptions between test code and workspace 2016-06-24 15:54:50 +08:00
johnfn
c1ffec9921 Implement <count>dd. 2016-06-24 00:50:37 -07:00
Grant Mathews
1050e4bac4 Merge pull request #349 from VSCodeVim/rebornix
Uppercase support
2016-06-23 23:19:31 -07:00
johnfn
bb0cf9c35e Add +, - and _. 2016-06-23 03:04:00 -07:00
johnfn
d8b61e3e86 Add |. 2016-06-23 02:47:42 -07:00
johnfn
ef053681ae Fix backspace in insert mode 2016-06-23 02:32:18 -07:00
johnfn
f496992d0a Make a bunch of repeatable commands/actions. 2016-06-22 02:21:37 -07:00