Shawn Axsom
4b735bafd3
Fix issues with keybindings when changing to an editor in different mode
...
This resulted in keybindings not working until changing modes again, including seeing <Tab> inserted as text in insert mode, if vscode thought we were in normal mode still.
2018-10-06 07:40:47 -04:00
Captain Caius
24412f6eef
fix (simpler) - cursor whenever changing editors - closes #2688
2018-10-05 17:05:38 +03:00
Shawn Axsom
55d1f03a96
Fixed Jump Tracker jumps when jumping from a file that auto closes
2018-09-11 21:12:40 -04:00
Shawn Axsom
e5b6ef6c0e
Refactored JumpTracker, mostly moving logic from actions into JumpTracker itself
2018-09-09 20:32:31 -04:00
Shawn Axsom
955bcd22c6
Code cleanup
2018-09-05 20:17:00 -04:00
Shawn Axsom
8b3786ba5b
Revert throwing error on unhandedRejection
2018-09-05 09:52:51 -04:00
Shawn Axsom
70385c5e9f
Use less verbose Jump factory method whenever possible
2018-09-05 09:52:51 -04:00
Shawn Axsom
8e584ab739
jumpTracker can handle line inserts
2018-09-05 09:52:51 -04:00
Shawn Axsom
5e4c260b18
jumpTracker can handle deleted lines. Also refactored jumpTracker tests.
2018-09-05 09:52:51 -04:00
Shawn Axsom
cd934efc4d
Extract to file and rename jumpTracker
2018-09-05 09:52:51 -04:00
Shawn Axsom
2c6f4f0f01
Keep track of editor window, so we can jump back to files not on disk
2018-09-05 09:52:51 -04:00
Shawn Axsom
d9ea568279
Better tracking of jumps between files. Mark what is considered a jump.
2018-09-05 09:52:51 -04:00
Shawn Axsom
94a39084c1
Jumping between files is basically working with cmd+O
2018-09-05 09:52:51 -04:00
Jason Poon
c452a68287
feat: lazy load neovim
2018-08-13 18:54:17 -07:00
xconverge
47fe944008
Revert "Merge pull request #2900 from xconverge/fix-context-calls-for-performance"
...
This reverts commit 79e6aadfbc
, reversing
changes made to 7a16ea9e5e
.
2018-07-29 18:22:31 -07:00
xconverge
4d3fa34329
Revert "Merge pull request #2880 from VSCodeVim/revert-2861-minor-performance-improvement"
...
This reverts commit d12e5d781b
, reversing
changes made to b1bed18668
.
2018-07-26 20:38:30 -07:00
Sean Kelly
b87d73622b
Revert "Cache mode so that calls to setContext is minimized"
2018-07-23 22:50:05 -07:00
xconverge
1362f53e68
Cache mode so that calls to setContext is minimized
2018-07-19 19:15:05 -07:00
xconverge
5f45822856
Fix quickpick commandline
2018-07-06 10:46:39 -07:00
xconverge
d45e866643
Allow for quickpick commandline usage
2018-06-26 19:13:38 -07:00
xconverge
29e90def42
Start to move commandline to status bar
2018-06-20 19:13:39 -07:00
Jason Poon
9bb761c3c5
fix: handle when commandLineHistory is empty. refactor to make things not static
2018-06-16 03:07:33 -07:00
Jason Poon
bdfc9c5891
Merge branch 'master' into revert-cursor-toggle
2018-06-15 11:12:28 -07:00
Jason Poon
d6ef72b857
fix: use explicit configuration for logginglevel
2018-06-15 10:59:48 -07:00
Jason Poon
006e1f5b33
Merge branch 'master' into revert-cursor-toggle
2018-06-15 00:01:00 -07:00
Jason Poon
b13cb21238
feat: add class/fn name to log msgs
2018-06-10 01:47:07 -07:00
Jason Poon
6fa46cbf0b
refactor: clean-up util functions. add logging
2018-06-10 01:47:07 -07:00
Jason Poon
c4cd9a3f7f
refactor: move util.ts into util folder. separate clipboard/messages to own files. don't export default
2018-06-10 01:47:07 -07:00
Jason Poon
3b2631ed46
feat: use winston/winston-console-for-electron for logging
2018-06-10 01:47:07 -07:00
Jason Poon
85a606df4b
fix: revert our workaround cursor toggle as this has been fixed in vscode
2018-06-08 13:23:50 -07:00
xconverge
287acf41a3
Update prettier
2018-06-06 18:54:12 -07:00
KamikazeZirou
32312a1e9e
Merge branch 'master' into add-q-cron-command
2018-05-10 21:16:21 +09:00
Jason Poon
5b925ec869
feat: log to outputChannel ( #2623 )
...
* fix: ensure we don't create a new modehandler
* feat: add logger. refactor console.log to use logger
* fix: show error message if copy fails. closes #2614
* refactor: move logger until util folder. print to console too
* fix: restore travis script just so we can get travisbuddy working
2018-05-09 10:23:28 -07:00
KamikazeZirou
a59b00aae4
update: Change the location of history file.
2018-05-09 22:15:28 +09:00
KamikazeZirou
97495056b3
feat: add "q:" command
2018-05-07 01:18:10 +09:00
Horace He
6e169a16e8
Changed function from async to non-async
2018-04-20 11:25:05 -04:00
Horace He
75373ee9ca
ran prettier
2018-04-18 19:33:29 -04:00
Horace He
ca85f4fb83
Fixed repro given in #2545
2018-04-18 19:12:32 -04:00
Jason Poon
8e73cab8a9
fix: clean-up neovim processes. closes #2038
2018-02-22 07:20:38 -08:00
Jason Poon
9c7b8e6e73
refactor: allow 'configuration' class to be mocked in tests
2018-01-31 15:36:10 -08:00
Jason Poon
3749394f25
export Configuration. rename all imports to use lower-case singleton
2018-01-31 15:36:10 -08:00
Jason Poon
799d7ef9d3
fix: closes #730 . setcontext when switching active text editors ( #2320 )
...
* fix: closes #730 . setcontext when switching active text editors
* refactor: move setContext of overrideCopy and overrideCtrlC when the configs can change
2018-01-22 22:02:58 -08:00
Jason Poon
c050066205
refactor: move modehandlermap to own class
2018-01-12 18:43:27 -08:00
Jason Poon
b1a8bbb582
fix: status bar not updating following toggle
2018-01-12 02:38:10 -08:00
Jason Poon
5573973ca3
fix: no need to change cursor if there is no active editor. closes #2273
2018-01-10 12:23:55 -08:00
Jason Poon
50eb9285d6
fix: fixes circular dependency between notation and configuration. closes #2275
2018-01-10 11:41:56 -08:00
Jason Poon
475cf37463
refactor: rename anglebracketnotation to notation. handle normalization of <leader> key
2018-01-05 16:14:09 -08:00
Jason Poon
2ba2042a7c
refactor: move loading of bound keys from package.json to configuration class
2018-01-05 16:14:09 -08:00
Jason Poon
7f369e25d6
refactor: move notation under configuration/
2018-01-05 16:14:09 -08:00
Jason Poon
515d7bf122
refactor: normalize keys when loading configuration
2018-01-05 16:14:09 -08:00
Jason Poon
1cd6a1c866
fix: closes #2262.fixes regression with goto line.
2018-01-05 00:22:37 -08:00
Jason Poon
4598309dda
rename vim.all to include-all which seems more appropriate
2017-12-28 22:33:20 +11:00
Jason Poon
cdc5834bfb
refactor(command-line): oop-ify commandline. fix bug when save details not being shown on status bar after a :w
2017-12-28 22:33:20 +11:00
Jason Poon
ff2b3a5876
refactor(mode-handler): stop passing mode handler everywhere
2017-12-28 22:33:20 +11:00
Jason Poon
8f9b8620a6
refactor(vim-state): remove dependency on modehandler
2017-12-28 22:33:20 +11:00
Jason Poon
18841c8c5b
refactor(remapper): adding remappings class to abstract all remappings
2017-12-28 22:33:20 +11:00
Jason Poon
2922b3ff7b
refactor(status-bar): move out of mode handler
2017-12-28 22:33:20 +11:00
Jason Poon
886f149a2d
move handler to configuration
2017-12-13 11:36:31 +11:00
Jason Poon
352cbda275
refactor remapper to use configuration
2017-12-13 11:36:31 +11:00
Jason Poon
1f20072098
sort and remove unused imports
2017-12-13 11:36:31 +11:00
Jason Poon
1e30095763
moar clean-up
2017-12-13 11:36:31 +11:00
Jason Poon
4178379f3a
refactor(neovim-msg): remove neovim message
2017-11-12 14:06:59 -05:00
Jason Poon
2059ba86f5
fix(prettier)
2017-11-12 14:06:24 -05:00
Jason Poon
72067735ce
refactor(configuration): simplify usercursor handling
2017-11-12 14:06:24 -05:00
Jason Poon
221e90d611
refactor(editorIdentity): Move EditorIdentity to its own file
2017-11-12 14:04:53 -05:00
Tim West
9936d8db39
Fixes #2113 : Start in Disabled mode configuration. ( #2115 )
...
* Fixes #2113 : Start in Disabled mode configuration.
* Updated disableExtension configuration, removed Globals.active.
* Updated README per configuration changes.
* Disabled mode tweaks, including modification of config value.
* Fix extension config access & overwrite
In order to properly access and overwrite the extension configuration
values, the name of the private field needed to match the value found in
the configuration file, while the getter & setter were given a different
name. Also, to properly use the vscode.WorkspaceConfiguration.update()
API, ConfigurationTarget.Global had to be specified. The value true
could've also been used, but the enum is more explicit.
2017-11-12 14:04:28 -05:00
Jason Poon
9b7c7333ed
refactor taskqueue
2017-10-13 11:54:40 -07:00
xconverge
45112c85be
Dispose modehandler if NO documents match the modehandler document anymore
2017-10-07 16:33:43 -07:00
Horace He
3284bbd6d3
Fixed whitespace at beginning of line
2017-06-30 14:11:03 -07:00
Horace He
1e51dbbd5b
Fixed lint issues
2017-06-30 14:11:03 -07:00
Horace He
edd08c0f46
Formattted everything with prettier
2017-06-30 14:11:03 -07:00
Horace He
dbceeb4f46
changed it to be slightly more hacky
2017-06-21 21:37:30 -07:00
Horace He
cbeece5916
Fixed the issue
2017-06-21 21:37:30 -07:00
Horace He
2c86eb962b
Tried to fix neovim message issue
2017-06-20 19:48:49 -07:00
Horace He
aa8d9549ac
Fixed regression that previous fix would have caused
2017-06-10 19:22:46 -07:00
Horace He
e8db0e790b
Fixes #1814
2017-06-10 15:09:42 -07:00
Horace He
1957aeab7b
Added better error handling when neovim can't connect
2017-05-26 02:16:34 -04:00
Horace He
1a92c3f293
Fixed neovim toast notification setting
2017-05-24 00:03:40 -04:00
Horace He
48c88a1eaa
Added proper configuring of extensions
2017-05-24 00:03:21 -04:00
Horace He
385ec817e4
Added enabling/disabling of neovim
2017-05-24 00:02:34 -04:00
Horace He
bc4e5bcdb7
replaced all instances of new ModeHandler() with getAndUpdateModeHandler()?
2017-05-24 00:01:13 -04:00
Horace He
75c173b3b5
Refactored neovim code
2017-05-24 00:01:13 -04:00
rebornix
ba7a28b6a8
Remove unused var.
2017-05-04 15:03:47 -07:00
rebornix
710444fb8e
Group common code.
2017-05-04 15:03:47 -07:00
rebornix
78dca3b41c
Move easymotion out and use one file to reference all files.
2017-05-04 15:03:47 -07:00
rebornix
436b391845
Move operator and base stuff out of actions.ts
2017-05-04 15:03:47 -07:00
rebornix
112fd58424
motion and insert commands.
2017-05-04 15:03:47 -07:00
rebornix
a1a7b54197
Move textobjects and surround out of actions.
2017-05-04 15:03:47 -07:00
Horace He
f35ac4148d
No reason to change what\'s not broken
2017-05-02 16:21:15 -04:00
Horace He
8d78be0d1a
Fixes #1503
2017-05-02 16:15:15 -04:00
Peng Lyu
fe2a5c59e6
navigate between view
2017-05-01 17:48:23 -07:00
rebornix
5499fd9c8c
Update status bar
2017-05-01 11:02:13 -07:00
rebornix
7dd4756897
Revert cursor style for all visible editors.
2017-05-01 11:02:13 -07:00
rebornix
6486749282
Toggle Vim
2017-05-01 11:02:13 -07:00
rebornix
dadacb7c91
Allow users to use VSCode keybinding
2017-04-27 11:26:10 -07:00
xconverge
f735c0e58e
Merge branch 'master' into use-users-cursor-style
2017-03-25 09:42:47 -07:00
xconverge
09f623477f
Minor cleanup on handleKey config options to ensure clean list of bound keys
2017-03-25 09:20:12 -07:00
xconverge
d1ad68ad7d
clean up duplicated code, created an array of all bound keys in configuration for reference
2017-03-24 23:11:09 -07:00
xconverge
0b86d084d2
move handle keys context changing to configuration so that it is updated when you update config without needing to restart
2017-03-24 22:42:12 -07:00
xconverge
e2667d5b7d
initial implementation of allowing user to selectively disable some key combinations with a config option
2017-03-24 20:46:56 -07:00