First time here? Check out the FAQ!
1

Selection Mode->Cancel and Source->Enclose->Enclose with [] keybinding overlap

Hi, I've just came up with this issue in Vi/Vim Keyboard personality. "Selection Mode -> Cancel" and "Source->Enclose->Enclose with []" have the same keybinding, Ctrl+[. How can I change it without re-writting Vi/Vim Personality to fix that?

KhazAkar's avatar
124
KhazAkar
asked 2022-04-29 08:23:24 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2022-05-05 09:24:25 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Ctrl-[ is not the binding for enclose with [] in vi mode. You can add a binding for it via the User Interface > Keyboard page of the Preferences dialog; add an entry to the Custom Key Bindings list with the command: enclose(start="[", end="]")

Wingware Support's avatar
4.1k
Wingware Support
answered 2022-04-29 10:46:44 -0500
edit flag offensive 0 remove flag delete link

Comments

I will make some screenshots or small video to show that Ctrl-[ is in fact overlapped when in vi keyboard personality and send it to support@wingware.com. Is that okay? :)

KhazAkar's avatar KhazAkar (2022-04-29 11:02:24 -0500) edit

Are you seeing the binding in the menus? Or, does pressing Ctrl-[ enclose text in [ ]? You can always email us at support@wingware.com

Wingware Support's avatar Wingware Support (2022-04-29 11:06:49 -0500) edit

I can see the binding in menus, plus having enclosure working is hit or miss, because sometimes it cancels the selection, and sometimes encloses it with [], which also have small bug, maybe relates to vi personality, that if you have something like np.array(1,2,3,5,4) And you select numbers, from left to right, it encloses it like this: np.array([1,2,3,5,4)] Instead of np.array([1,2,3,5,4]) I will send screenshot shortly that it is "clashing" in vi keyboard personality selected.

KhazAkar's avatar KhazAkar (2022-04-29 11:31:38 -0500) edit
add a comment 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