Commit Graph

180 Commits

Author SHA1 Message Date
Jason Poon
2c3ef8517d Merge branch 'master' of github.com:VSCodeVim/Vim 2015-12-29 21:46:30 -08:00
Jason Poon
5a081b18cf Rev version to 0.0.7 2015-12-29 21:46:17 -08:00
Jason Poon
e1f7879971 Merge pull request #113 from VSCodeVim/async-tests
Cleanup: return promise in tests, lock down versions in package.json
2015-12-29 21:42:45 -08:00
Jason Poon
7b61f8febe Lock down package.json versions 2015-12-29 21:35:03 -08:00
Jason Poon
d041fb8e05 Tests: return promise instead of explicitly calling done() 2015-12-29 13:46:05 -08:00
Jason Poon
dc00fa92e2 Merge pull request #112 from VSCodeVim/motion
Motion Fixes
2015-12-29 13:30:39 -08:00
Jason Poon
eebf8bcfb1 Motion
* Shared motion instance across all modes (fixes #111)
* Refactor old motion class into two: motion, position (which extends vscode.Position)
* Fixed persistance of desired column
* Fixes tracking of current position when clicking around document
2015-12-29 13:16:44 -08:00
Jason Poon
da0753f604 Merge pull request #109 from corymickelson/addedKeysAndSmallFixes
Fix character position persistence on up/down commands, add : "e", "0", and fix "^"
2015-12-27 23:40:44 -08:00
Cory Mickelson
cdd6893ec9 Add motions keys: "0", "e". Fix character position persistence on up/down movements. Fix "^" to move to first character of line, add "0" to move to beginning of current line 2015-12-27 14:56:26 -08:00
Jason Poon
b294158843 Update slackin link 2015-12-15 16:52:03 -08:00
Jason Poon
9bae9fb8f3 Lazy load motion in attempt to fix #93 2015-12-09 00:49:48 -08:00
snowz
12ae0ba102 Added de-DE (QWERTZ) Keyboard Layout 2015-12-06 14:19:22 +01:00
Jason Poon
5ca95e3c3d readme: update to display appyveyor badge for master branch only 2015-12-06 01:14:14 -08:00
Jason Poon
737d73615c v0.0.3
* clean up readme and contribution
2015-12-04 14:04:42 -08:00
Jason Poon
9dbd0bd1a5 Merge pull request #92 from VSCodeVim/promisify
Promisify
2015-12-04 13:49:01 -08:00
Jason Poon
0ad4f1089b tests: fixes #88 2015-12-04 13:41:19 -08:00
Jason Poon
f74e887d4d Update Mode abstract class to properly return promises when calling HandleActivation and HandleKeyEvent 2015-12-04 08:53:10 -08:00
Jason Poon
9a834918c5 Nit: minor readme/code cleanup 2015-12-03 15:24:24 -08:00
Jason Poon
d44467ea85 Merge pull request #91 from kimitake/fix-cursor-pos-after-entering-command-mode
Fix cursor position after entering command mode
2015-12-03 15:10:45 -08:00
kimitake
9c93b3a21d fix cursor position after entering command mode (again) 2015-12-03 15:06:51 -08:00
Jason Poon
c9eb896f39 Merge pull request #87 from VSCodeVim/refactor-motion
Refactor motion.
2015-12-03 14:18:42 -08:00
Jason Poon
d04b0d75aa Refactor motion.
Create a base motion class in which cursor and caret extend. The difference
between the two classes:

* Valid positioning for Caret = [0, EOL)
* Valid position for Cursor = [0, EOL]
* Whenever we do get a styling for cursor/caret, that logic
can be placed in their respective classes.

Motions were becoming cumbersome. With this refactor, motions are now
composable making repeatable actions super easy:

`new Cursor().left().left().left().up().down().move();

The UI updates on the `move()` command. Also fixes #89 in this refactor.
2015-12-03 12:01:51 -08:00
Jason Poon
d1be37c412 move setup stuff to contributing.md 2015-12-02 21:03:22 -08:00
Jason Poon
ab3f7144d4 Merge pull request #83 from markrendle/contributing
Added CONTRIBUTING doc
2015-12-02 13:25:36 -08:00
Jason Poon
9c01d76712 Merge pull request #68 from kimitake/fix-lineend
fix line end determination for a, A, $
2015-12-02 10:06:59 -08:00
Mark Rendle
a307c167df Added CONTRIBUTING.md 2015-12-02 20:03:50 +02:00
kimitake
7fa55b81c1 Add Caret class for normal mode's cursor
"right on right-most column should stay at the same location" is for Caret not Cursor
2015-12-02 09:05:25 -08:00
Guillermo López-Anglada
8b0cff545f Merge pull request #61 from VSCodeVim/keyboard
map keys from US keyboard to other layouts
2015-12-02 12:06:30 +01:00
guillermooo
158cc9460d map keys from US keyboard to other layouts 2015-12-02 11:25:52 +01:00
Jason Poon
13ff3bcac9 readme: set code syntax highlighting to bash 2015-12-02 02:18:16 -08:00
Jason Poon
9db9fa3bde Merge pull request #80 from VSCodeVim/update-readme
readme: update more detailed contributing info
2015-12-02 02:12:38 -08:00
Jason Poon
01c7ef7474 readme: update more detailed contributing info 2015-12-02 02:10:50 -08:00
Jason Poon
6b36f2b73e Merge pull request #71 from liushuping/cmd_g
Add commands support for 'gg' and 'G'
2015-12-02 01:57:22 -08:00
Shuping LIU
90879b7e77 Add commands support for 'gg': go to first line, on first non-blank character; 'G': go to last line, on first non-blank character 2015-12-02 17:35:08 +08:00
Jason Poon
4883816e67 Merge pull request #79 from benjaminRomano/master
Created tests for modeInsert
2015-12-01 23:37:56 -08:00
Benjamin Romano
0c7a002f28 Created tests for modeInsert
fixed linter errors

Fixed compile error due to uppercase in require statement
2015-12-02 01:23:12 -06:00
Jason Poon
b1fe475c82 Merge pull request #78 from VSCodeVim/trim-whitespace
gulp: add trim-whitespace task
2015-12-01 17:59:07 -08:00
Jason Poon
592ce43a5a gulp: add trim-whitespace task 2015-12-01 17:53:31 -08:00
Jason Poon
db66ce44dc refactor: use helper functions to make it easier what we are checking for 2015-12-01 17:38:29 -08:00
Jason Poon
af0f68644a Merge pull request #76 from adriaanp/update-word
implement correct w,b motion behaviour
2015-12-01 17:31:55 -08:00
Adriaan Putter
8b3f668fc8 implement correct w,b motions 2015-12-02 00:15:38 +02:00
Jason Poon
944bf602d7 Merge pull request #75 from VSCodeVim/tsd_github_token
Fix PR builds
2015-12-01 12:25:44 -08:00
Jason Poon
27f5297637 Merge pull request #74 from VSCodeVim/add-cursor-texteditor-tests
Add cursor and textEditor tests
2015-12-01 12:17:02 -08:00
Jason Poon
573d0fa09d Fixes #73 and #24. Making the personal token public in order to properly
build PRs.
2015-12-01 12:14:03 -08:00
Jason Poon
f7a27f3292 Add cursor and textEditor tests. Fixed a couple of bugs 2015-12-01 12:09:39 -08:00
Jason Poon
ada2dac1ea Merge pull request #66 from josephliccini/master
'$' and '^' for Moving to beginning and end of line
2015-12-01 01:02:19 -08:00
Joseph Liccini
eb6de1bd7b '$' and '^' for Moving to beginning and end of line 2015-11-30 23:59:35 -05:00
Jason Poon
46df0b6577 Merge pull request #65 from kimitake/support-x
support x command
2015-11-30 18:01:44 -08:00
kimitake
af95f5e8ac support x command 2015-11-30 15:54:18 -08:00
Jason Poon
88343c75ce Merge pull request #58 from kimitake/fix-cursor-class
BugFix: Cursor isLastLine and right calculating end of line incorrectly.
2015-11-30 14:23:18 -08:00