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

Add support for CTRL-A and CTRL-X #530

Closed
kalebpederson opened this issue May 13, 2011 · 6 comments
Closed

Add support for CTRL-A and CTRL-X #530

kalebpederson opened this issue May 13, 2011 · 6 comments
Milestone

Comments

@kalebpederson
Copy link

See :help ^A and :help ^X.

Often when creating or asserting test data or working with arrays I'll want to be able to copy a line and then change the index by one which I do with one of the above commands.

@jaredpar
Copy link
Collaborator

Will do.

The only issue though is that CTRL-A and CTRL-X are select all and cut respectively. Cut int particular is hard coded into a lot of Visual Studio users brains to be cut. Remapping CTRL-X by default will probably confuse a lot of users.

I'll probably have to add 2 modes of key binding in VsVim in order to avoid this

  1. Windows guy who likes Vim
  2. I like Vim, give me Vim.

@kalebpederson
Copy link
Author

I think it's perfectly reasonable to have a Windows-friendly set of defaults like gvim does (even though I can't stand them after having used Vim in the Unix world for 10+ years).

I just stumbled across issue #241 today (as I was about to file a bug report on blockwise visual mode and didn't know about CTRL-Q) and this feels like the same issue.

@jaredpar
Copy link
Collaborator

Yeah it's pretty much the same issue.

@jaredpar
Copy link
Collaborator

Added. Will push later on tonight.

Note: As discussed these keys aren't enabled by default. They have to be manually converted in the key bindings dialog.

@kalebpederson
Copy link
Author

Wonderful. Thanks for your continual work on VsVim. It's great!!!!!

@nadya-p
Copy link

nadya-p commented Feb 6, 2019

For the sake of documentation: in order to enable ctrl+a and ctrl+x shortcuts, go to VS's shortcut settings, and remove current usages of "ctrl+a" and "ctrl+x". Now VsVim will handle those shortcuts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants