Commit Graph

316 Commits

Author SHA1 Message Date
Risto McIntosh
f80afd6b8a
Fix key binding typo in README (#5183) 2020-09-15 14:54:25 -04:00
berknam
91ca71f860
Overhaul remapping logic (#4735)
This is a pretty massive change; see pull request #4735 for full details

Most notably:
- Support for operator-pending mode, including remaps and a half-cursor decoration
- Correct handling of ambiguous remaps with timeout
- Correct handling of recursive special case when the RHS starts with the LHS
- Correct handling of multi-key remaps in insert mode
- Failed movements that occur partway through a remap stop & discard the rest of the remap
- Implement `unmap` and `mapclear` in .vimrc

Refs #463, refs #4908
Fixes #1261, fixes #1398, fixes #1579, fixes #1821, fixes #1835
Fixes #1870, fixes #1883, fixes #2041, fixes #2234, fixes #2466
Fixes #2897, fixes #2955, fixes #2975, fixes #3082, fixes #3086
Fixes #3171, fixes #3373, fixes #3413, fixes #3742, fixes #3768
Fixes #3988, fixes #4057, fixes #4118, fixes #4236, fixes #4353
Fixes #4464, fixes #4530, fixes #4532, fixes #4563, fixes #4674
Fixes #4756, fixes #4883, fixes #4928, fixes #4991, fixes #5016
Fixes #5057, fixes #5067, fixes #5084, fixes #5125
2020-08-16 14:22:51 -04:00
berknam
3879f4374b
Change easymotion default decorations (#5108)
- Make easymotion default decorations have the same defaults as the Vim
plugin.
- Deprecate no longer needed configurations like
'easymotionMarkerMargin' and 'easymotionMarkerWidthPerChar'.
- Change 'easymotionMarkerFontWeight' default to 'bold'
- Add seperate color for each character of two-character markers,
default values are the same as the Vim plugin. (two different yellows)
- Add color for dimmed characters, default value is the same as the Vim
plugin. (grey)
- Add color for higlighting characters searched with search n-characters
command, default value is the same as the Vim
plugin. (green)
- Add changes to README file and update the default values.
- Change easymotion TextEditorDecorations to make them simpler to use
and understand. Remove all unnecessary parts.
- Fix the dimming zones that were including the markers as well.
- Fix the hack for two consecutive markers that wasn't checking if those
markers were on the same line.

Fixes #5092
Fixes #5022
Fixes #4252
Fixes #1746
2020-08-11 23:36:04 -04:00
Jason Fields
c588c2bb12 Remove references in README.md to deprecated settings 2020-07-26 14:56:16 -04:00
Ahmed Tarek
b95d038fe1
new dimming logic, updated docs (#4635)
The current easymotion decorations are kinda wonky, they are misaligned and little bit intrusive, also it deviates from the official easymotion. With this pr it behaves more like the official

Fixes #4610
Fixes #4524
Fixes #3899
Fixes #2938
2020-06-22 10:53:10 -04:00
Andre Thompson
c64bbeaf54
Fixed the workaround on line 713 so that it actually works (#4945)
The workaround for linux key changes & vsCode, which is displayed on line 713 ( "keyboard.dispatch": "keyCode"  ) had 'keycode' but it should be 'keyCode'. Using 'keycode' does not resolve the issue. The link 'known issue in VS Code' has the solution in it, and they also use keyCode. I've tested that keyCode resolves the issue still.
2020-06-14 17:14:28 -04:00
Joël
e6cf6296c1
Add information to enable key-repeating on Mac when using VSCodium IDE (#4847)
It is just a minor improvement in the README.md file to allow VSCodium user to enable key-repeating in their favorite extension :)
2020-05-13 13:30:49 -04:00
Alexandre Grison
eefae96460
Implement vim-textobj-entire (#4580)
This PR implements two text-objects from the vim-textobj-entire plugin

This Vim plugin adds two useful text-objects:

ae which represents the entire content of a buffer
ie which represents the entire content of a buffer without the leading and trailing spaces.
You can then use gUae to transform the whole text buffer content in uppercase, whereas normally you would have to use gggUG.

This text-object has the advantage that you can use it from anywhere your cursor is currently located, you don't have to be conscious of the cursor position.

Fixes #3379
2020-03-26 14:53:50 -04:00
Andrew Harvey
28d00283fe
add setxkbmap escape caps remapping not working to FAQ (#4620)
* add setxkbmap escape caps remapping not working to FAQ

* fix markdown formatting

* clarify wording
2020-03-15 08:33:59 -07:00
Jason Poon
fc0089af0c
readme: remove sneak from quick example (#4619)
* many people seem to copy the 'quick example' from the readme as
    their initial config. The problem with that quick example is that it
    enables 'sneak', which by defaults breaks the S and s commands (see
    issue #3274).

  * by removing that setting from the example, people should have a
    working config out of the box. If someone is interested in sneak,
    other sections of the readme still go into details.
2020-03-04 22:15:58 -08:00
Alex
25a39ffb3c Add documentation details about contributions page (#4497)
Small documentation change.
Change the expression "extension menu" to "extension view" to match
vscode documentation.
Adding a couple of details about how to get to this extension's contribution
page for people new to vscode.
2020-01-15 16:21:38 -05:00
Jason Fields
f87fa85dd7 Brush up README.md a bit more 2019-12-29 16:38:08 -05:00
Jason Fields
9bab33c75d Use "VS Code" instead of "VSCode" in README.md
I don't really like it, but that's how Microsoft styles it. Also reword a sentence about our quickpick commandline
2019-12-29 16:23:14 -05:00
Victor Sena Molero
8804d0aafe Add commas to statusBarColors JSON on README (#4406)
I've tried copying this around to my config file and realized it had no commas on the ends of lines. I'm adding them here. :)
2019-12-20 00:00:26 -05:00
Daniel Smith
3158194561 Read key remappings from .vimrc (#3908)
Read key remapping commands from $HOME/.vimrc, $HOME/_vimrc, or a
user-specified Vim configuration file. For each, build an IKeyRemapping
object and append it to the appropriate collection, _if_ doing so will
not override a remapping specified in the VS Code settings.

Partially addresses #463. This implementation borrows heavily from
Sheepolution/vimrc-to-json.

* Add `editVimrc` command

* Add .vimrc validator, correct usage of new config names

* Source .vimrc automatically after saving it
2019-11-09 23:16:46 -05:00
thisisrandy
9ca121d73f Add vim.statusBarColors for 5 remaining modes (#4185)
Note that this already works without the change, but the five modes
added in this commit aren't officially listed as options. The default
coloring for each appears to be the same as the standard VSCode
coloring, which happens to be #007ACC
2019-11-01 22:18:00 -07:00
xconverge
b60f63da0a Cleanup 2019-10-10 19:56:14 -07:00
xconverge
b0737b7d07 Run prettier 2019-10-10 19:52:05 -07:00
xconverge
d561332e8b Update documentation 2019-10-10 19:36:55 -07:00
Wolfgang Ziegler
4a8ac7287f Fix typos in README.md (#4123) 2019-10-02 12:49:26 -04:00
Jason Fields
ab3c62c2d1 Config improvement: Deprecate substituteGlobalFlag in favor of gdefault
Fixes #3594
2019-09-04 22:38:42 -04:00
Steven Guh
b7a67943c7 Make ReplaceWithRegister work in visual mode (#4016)
Fixes #4015
2019-08-29 23:35:02 -04:00
Justin Chadwell
639d7bda05 Fix typo in README.md (#4002)
In the README, a number of nifty tricks are referenced, however, the text incorrectly refers to these features as being Vim features. While `gd` and `gq` are standard, `af`, `gb` and `gh` are not standard vim features. What is probably intended is that these features are VSCode features adapted for VSCodeVim.
2019-08-28 02:37:44 -04:00
Keiran O'Leary
8aacdea2ee Add ReplaceWithRegister plugin (#3887)
An easy way to replace text with the contents of a register
2019-07-23 22:14:57 -07:00
Austin Bricker
d76f13a97e Fix broken links in README.md (#3842)
Fixes broken links regarding logging level settings. As far as
I can tell, these links have never been valid, and should direct
to the information regarding VSCodeVim's settings.
2019-06-21 23:25:59 -07:00
Karl Horky
7bd20befda Add note about unsupported motions (#3670)
* Add note about unsupported motions

* Remove extra line

* Remove extra whitespace
2019-04-29 21:44:39 -07:00
Jason Poon
3373e158e6 docs: update silent. closes #3703 2019-04-25 22:39:02 -07:00
khoitd1997
6307efbb3e docs: update slackin link (#3679)
Change to https for existing link and convert to heroku for azure ones
2019-04-14 21:49:20 -07:00
Karl Horky
723fdff82a Document display line movement best practices (#3623)
* Document display line moving best practices

To vertically move to wrapped lines when word wrap is on.

Ref: https://github.com/VSCodeVim/Vim/issues/2403#issuecomment-456365357
Ref: https://github.com/VSCodeVim/Vim/issues/2924#issuecomment-476121848

* Remove extra line

* Disable Prettier formatting on code block
2019-04-02 17:51:41 -07:00
Esa-Matti Suuronen
28d5c7423a Add yank highlighting 2019-03-16 22:39:43 -07:00
Fumiaki MATSUSHIMA
cf163a88ef Fix TOC (#3574)
The section was removed in 36d5e781d6
2019-03-10 18:00:38 -07:00
hehongbo
6feb247fde Mod:change sneak sneakUseIgnorecaseAndSmartcase default value explanation to 'false' 2019-03-01 11:05:57 +08:00
Yoriyasu Yano
32770f3493
Fix links in README 2019-02-27 12:15:00 -08:00
Jason Poon
f565e92650 fix: fixes searchhighlightcolor. uses editor.findMatchHighlightBackground for default. closes #3489 2019-02-24 00:26:08 -08:00
Jason Killian
d8564f90a6 Add CamelCaseMotion plugin (#3483)
* Add CamelCaseMotion Plugin

Fixes https://github.com/VSCodeVim/Vim/issues/1220

* update @node/types

* adjust tests to only load config once

* nest camelCaseMotion configuration

* fix merge error
2019-02-17 21:33:13 -08:00
Johannes Baiter
dd548c3242 Rename customDigraphs to digraphs, fix test for it 2019-02-01 11:22:47 +01:00
Johannes Baiter
a986f7de7b Fix style 2019-01-23 21:34:15 +01:00
Johannes Baiter
c8a1d3bdd0
Update README with digraph configuration 2019-01-23 21:14:51 +01:00
Jason Poon
8dc3d5ccab
Update README.md 2019-01-18 13:02:42 -08:00
xconverge
249e11cf2c Remove unnecessary changes to cleanup diff 2019-01-06 12:54:39 -08:00
xconverge
fbb59ea179 Minor fixes 2019-01-06 12:32:07 -08:00
Jason Poon
a9b8837e14 v1.0.0! 2019-01-05 01:25:29 -08:00
Jason Poon
50846ba97c docs: add vim.debug.suppress 2019-01-05 01:08:10 -08:00
Jason Poon
0a9778ece8 feat: change debug configurations to loggingLevelForConsole,
loggingLevelForAlert
2019-01-05 00:19:33 -08:00
Jason Poon
2390d8ef13 fix: simplify logic of winston transport 2019-01-01 22:11:25 -08:00
Jason Poon
e01299b843 feat: display vim errors as vscode user error windows 2019-01-01 02:59:03 -08:00
Jason Poon
36d5e781d6 docs: clean-up readme 2018-12-17 13:16:44 -08:00
xconverge
145a4338fd Change to use a promise and update README 2018-12-13 17:55:32 -08:00
Jason Yu
cca34382fa
fix style 2018-12-08 10:33:09 +00:00
Jason Yu
8649acba12
Added common example for key remapping for £ 2018-12-08 10:18:33 +00:00