Skip to content

Commit

Permalink
Merge branch 'master' into relative-command-ranges
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge authored Oct 9, 2018
2 parents e1bc34a + 0b16120 commit 991696b
Show file tree
Hide file tree
Showing 29 changed files with 2,048 additions and 1,462 deletions.
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ enhancement-labels=kind/enhancement,kind/feature
exclude-labels=status/by-design,status/duplicate,kind/question,kind/discussion
since-tag=v0.15.7
base=build/CHANGELOG.base.md
cache-file=/usr/local/src/your-app/.cache/github_changelog_generator
cache-file=/usr/local/src/your-app/.cache/github_changelog_generator
81 changes: 77 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,84 @@
# Change Log

## [v0.16.5](https://github.com/vscodevim/vim/tree/v0.16.5) (2018-09-21)
## [v0.16.9](https://github.com/vscodevim/vim/tree/v0.16.9) (2018-10-08)

[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.4...v0.16.5)
[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.8...v0.16.9)

**Enhancements:**
**Fixed Bugs:**

- Unexpected behavior with easymotion and `.` as repeat command [\#2310](https://github.com/VSCodeVim/Vim/issues/2310)

**Closed issues:**

- Repeating command \(`.`\) after doing vim-easymotion find character command doesn't work. [\#3111](https://github.com/VSCodeVim/Vim/issues/3111)
- Incrementing / Decrementing numbers doesn't work when it's after a minus sign and a word [\#3057](https://github.com/VSCodeVim/Vim/issues/3057)

**Merged pull requests:**

- support "edit" command [\#3114](https://github.com/VSCodeVim/Vim/pull/3114) ([m59peacemaker](https://github.com/m59peacemaker))
- Minor C-a C-x fix [\#3113](https://github.com/VSCodeVim/Vim/pull/3113) ([xconverge](https://github.com/xconverge))
- Allow dot to repeat after doing any EasyMotion move [\#3112](https://github.com/VSCodeVim/Vim/pull/3112) ([xconverge](https://github.com/xconverge))

## [v0.16.8](https://github.com/vscodevim/vim/tree/v0.16.8) (2018-10-06)

[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.7...v0.16.8)

**Closed issues:**

- \<C -c\> stopped working this morning [\#3110](https://github.com/VSCodeVim/Vim/issues/3110)
- version 0.16.6 cause \<tab\> key insert string for unknown reason [\#3096](https://github.com/VSCodeVim/Vim/issues/3096)
- yank in visual mode doesn't update register 0 [\#3065](https://github.com/VSCodeVim/Vim/issues/3065)
- Paste the yanked text with "0p does no work [\#2554](https://github.com/VSCodeVim/Vim/issues/2554)
- Surround: Keep HTML attributes when changing tags [\#1938](https://github.com/VSCodeVim/Vim/issues/1938)

**Merged pull requests:**

- Fix issues with keybindings when changing to an editor in different mode [\#3108](https://github.com/VSCodeVim/Vim/pull/3108) ([shawnaxsom](https://github.com/shawnaxsom))
- README cleanup [\#3107](https://github.com/VSCodeVim/Vim/pull/3107) ([xconverge](https://github.com/xconverge))
- Update readme based on new feature for surround with attributes [\#3106](https://github.com/VSCodeVim/Vim/pull/3106) ([xconverge](https://github.com/xconverge))
- fixes \#1938 Allow to retain attributes when using surround [\#3105](https://github.com/VSCodeVim/Vim/pull/3105) ([xconverge](https://github.com/xconverge))
- Multiline yank writes to 0 register; fixes \#1214 [\#3087](https://github.com/VSCodeVim/Vim/pull/3087) ([JKillian](https://github.com/JKillian))

- the jump list is wrong [\#1688](https://github.com/VSCodeVim/Vim/issues/1688)
## [v0.16.7](https://github.com/vscodevim/vim/tree/v0.16.7) (2018-10-06)

[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.6...v0.16.7)

**Merged pull requests:**

- Update dependency @types/sinon to v5.0.4 [\#3104](https://github.com/VSCodeVim/Vim/pull/3104) ([renovate-bot](https://github.com/renovate-bot))
- Cleanup gt count command [\#3097](https://github.com/VSCodeVim/Vim/pull/3097) ([xconverge](https://github.com/xconverge))
- Update dependency @types/sinon to v5.0.3 [\#3093](https://github.com/VSCodeVim/Vim/pull/3093) ([renovate-bot](https://github.com/renovate-bot))
- Update dependency @types/node to v9.6.34 [\#3092](https://github.com/VSCodeVim/Vim/pull/3092) ([renovate-bot](https://github.com/renovate-bot))
- Update dependency sinon to v6.3.5 [\#3091](https://github.com/VSCodeVim/Vim/pull/3091) ([renovate-bot](https://github.com/renovate-bot))
- Remappings not applying with operators that enter insert mode [\#3090](https://github.com/VSCodeVim/Vim/pull/3090) ([shawnaxsom](https://github.com/shawnaxsom))
- v0.16.6 [\#3085](https://github.com/VSCodeVim/Vim/pull/3085) ([jpoon](https://github.com/jpoon))
- Add support for grid layout [\#2697](https://github.com/VSCodeVim/Vim/pull/2697) ([rodcloutier](https://github.com/rodcloutier))

## [v0.16.6](https://github.com/vscodevim/vim/tree/v0.16.6) (2018-10-02)

[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.5...v0.16.6)

**Fixed Bugs:**

- Confirm-Replace works incorrectly with global substitute for certain types of replace patterns [\#2950](https://github.com/VSCodeVim/Vim/issues/2950)
- Remapping `d` to always delete to black-hole [\#2672](https://github.com/VSCodeVim/Vim/issues/2672)

**Closed issues:**

- Visual Block Mode when not using Ctrl keys [\#3042](https://github.com/VSCodeVim/Vim/issues/3042)
- Investigate reducing startup activation time [\#2947](https://github.com/VSCodeVim/Vim/issues/2947)

**Merged pull requests:**

- Feature/fix black hole operator mappings [\#3081](https://github.com/VSCodeVim/Vim/pull/3081) ([shawnaxsom](https://github.com/shawnaxsom))
- Feature/insert mode optimizations [\#3078](https://github.com/VSCodeVim/Vim/pull/3078) ([shawnaxsom](https://github.com/shawnaxsom))
- Update dependency typescript to v3.1.1 [\#3077](https://github.com/VSCodeVim/Vim/pull/3077) ([renovate-bot](https://github.com/renovate-bot))
- Update dependency @types/node to v9.6.32 [\#3066](https://github.com/VSCodeVim/Vim/pull/3066) ([renovate-bot](https://github.com/renovate-bot))
- Fix substitute with gc flag [\#3055](https://github.com/VSCodeVim/Vim/pull/3055) ([tomotg](https://github.com/tomotg))

## [v0.16.5](https://github.com/vscodevim/vim/tree/v0.16.5) (2018-09-21)

[Full Changelog](https://github.com/vscodevim/vim/compare/v0.16.4...v0.16.5)

**Fixed Bugs:**

Expand All @@ -17,6 +89,7 @@
**Closed issues:**

- C-o, C-i strange jumping behavior. [\#3047](https://github.com/VSCodeVim/Vim/issues/3047)
- Support vscode's color copy [\#3038](https://github.com/VSCodeVim/Vim/issues/3038)
- Possible for `:new` to a open a new editor in the current group without splitting? [\#2911](https://github.com/VSCodeVim/Vim/issues/2911)
- Support for ' ' \(Jump to previous cursor position\) [\#2031](https://github.com/VSCodeVim/Vim/issues/2031)

Expand Down
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
<p align="center"><strong>Vim emulation for Visual Studio Code</strong></p>

[![http://aka.ms/vscodevim](https://vsmarketplacebadge.apphb.com/version/vscodevim.vim.svg)](http://aka.ms/vscodevim)
[![](https://vsmarketplacebadge.apphb.com/installs-short/vscodevim.vim.svg)](https://marketplace.visualstudio.com/items?itemName=vscodevim.vim)
[![https://travis-ci.org/VSCodeVim/Vim](https://travis-ci.org/VSCodeVim/Vim.svg?branch=master)](https://travis-ci.org/VSCodeVim/Vim)
[![https://vscodevim-slackin.azurewebsites.net](https://img.shields.io/badge/vscodevim-slack-blue.svg?logo=slack)](https://vscodevim-slackin.azurewebsites.net)

VSCodeVim is a Vim emulator for [Visual Studio Code](https://code.visualstudio.com/).

- 🚚 For a full list of supported Vim features, please refer to our [roadmap](ROADMAP.md).
- 📃 Our [change log](CHANGELOG.md) outlines the breaking/major/minor updates between releases.
- ❓ If you need to ask any questions, join us on [Slack](https://vscodevim-slackin.azurewebsites.net)
- :octocat: Report missing features/bugs on [GitHub](https://github.com/VSCodeVim/Vim/issues).
- Report missing features/bugs on [GitHub](https://github.com/VSCodeVim/Vim/issues).

<details>
<summary><strong>Table of Contents</strong> (click to expand)</summary>
Expand Down Expand Up @@ -61,7 +63,7 @@ We also recommend increasing Key Repeat and Delay Until Repeat settings in _Syst

### Windows Setup

Like real vim, VSCodeVim will take over your control keys. This behaviour can be adjusted with the [`useCtrlKeys`](#vimusectrlkeys) and [`handleKeys`](#vimhandlekeys) settings.
Like real vim, VSCodeVim will take over your control keys. This behaviour can be adjusted with the [`useCtrlKeys`](#vscodevim-settings) and [`handleKeys`](#vscodevim-settings) settings.

### Linux Setup

Expand Down Expand Up @@ -439,7 +441,7 @@ You can customize the appearance of easymotion markers (the boxes with letters)

Based on [surround.vim](https://github.com/tpope/vim-surround), the plugin is used to work with surrounding characters like parenthesis, brackets, quotes, and XML tags.

`t` or `<` as `<desired char>` or `<existing char>` will do tags and enter tag entry mode.
`t` or `<` as `<desired char>` or `<existing char>` will do tags and enter tag entry mode. Using `<CR>` instead of `>` to finish changing a tag will preserve any existing attributes.

Surround is enabled by default, but can be disabled by setting `"vim.surround": false`.

Expand Down Expand Up @@ -576,7 +578,7 @@ Vim has a lot of nifty tricks and we try to preserve some of them:
### None of the native Visual Studio Code `ctrl` (e.g. `ctrl+f`, `ctrl+v`) commands work
Set the [`useCtrlKeys` setting](#vimusectrlkeys) to `false`.
Set the [`useCtrlKeys` setting](#vscodevim-settings) to `false`.
### Moving `j`/`k` over folds opens up the folds
Expand Down
5 changes: 5 additions & 0 deletions extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ export async function activate(context: vscode.ExtensionContext) {
if (vscode.window.activeTextEditor !== undefined) {
const mh: ModeHandler = await getAndUpdateModeHandler();

await mh.updateVimModeForKeybindings(mh.vimState.currentMode);

await mh.updateView(mh.vimState, { drawSelection: false, revealRange: false });

globalState.jumpTracker.handleFileJump(
Expand Down Expand Up @@ -298,6 +300,9 @@ export async function activate(context: vscode.ExtensionContext) {
mh.updateView(mh.vimState, { drawSelection: false, revealRange: false });
}

// Initialize the search history
globalState.loadSearchHistory();

// This is called last because getAndUpdateModeHandler() will change cursor
toggleExtension(configuration.disableExt, compositionState);
}
Expand Down
Loading

0 comments on commit 991696b

Please sign in to comment.