Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Surround aliases not working as targets #2769

Closed
vogler opened this issue Jun 25, 2018 · 1 comment
Closed

Surround aliases not working as targets #2769

vogler opened this issue Jun 25, 2018 · 1 comment
Labels

Comments

@vogler
Copy link

vogler commented Jun 25, 2018

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug

What happened:
ds( and ds) work on foo (bar) baz, but dsb does not. It seems like aliases only work for replacements (and not targets): cs(B works while csbB does not.

Also, the aliases should correspond to closing brackets instead of opening ones:
"The targets b, B, r, and a are aliases for ), }, ], and >"
https://github.com/tpope/vim-surround/blob/master/doc/surround.txt#L99

Environment:

  • Extension (VsCodeVim) version: 0.13.1
  • VSCode version: Code 1.24.1 (24f6262, 2018-06-13T17:41:50.128Z)
  • OS version: Darwin x64 17.7.0
@xconverge
Copy link
Member

This was an easy one, should be in the next release, and thanks for the link to the documentation, it made my job easier!

@jpoon jpoon added the kind/bug label Jul 15, 2018
marsevern pushed a commit to marsevern/Vim that referenced this issue Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants