First time here? Check out the FAQ!
1

Can't append text in block selection in Vim mode.
 

Hi, When I try to add text in multiple places at once using block selection, when using Vim keyboard personality, It does not allow for such action. It works in Wing Keyboard personality tho. Is there a way to enable this behavior?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
KhazAkar's avatar
124
KhazAkar
asked 2 years ago

Comments

see more comments

1 Answer

1

In vi mode you can use Ctrl-V to enter visual block mode (or use the Edit > Selection Mode > Rectangle menu item), then Shift-I to enter insert mode (lower case i does not work, in order to follow to what vi does), then type what you want to enter, and finally press Esc twice to return to browse mode. Once you escape out of visual block mode then the typed text is replicated to the other lines. This matches how vi behaves, at least in my tests just now, and seems to match descriptions of this functionality in vim.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Wingware Support's avatar
4.2k
Wingware Support
answered 2 years ago
link

Comments

Okay, I've just tested that and indeed it worked, thanks a lot, I was not thinking fully as full vim user when using keyboard personality with Wing IDE, now I think it's needed to think that's just vim. :)

KhazAkar's avatar KhazAkar (2 years ago)

Our goal is to support what vim users have in their "finger memory". A lot of that is covered, but of course not everything. We're always open to reports of anywhere we're missing vim behavior or getting it wrong.

Wingware Support's avatar Wingware Support (2 years ago)

Thanks again :) You're truly amazing :)

KhazAkar's avatar KhazAkar (2 years ago)
see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)