Ask Your Question
1

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

asked 2022-04-29 08:23:24 -0500

KhazAkar's avatar

updated 2022-05-05 09:24:25 -0500

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-04-29 10:46:44 -0500

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="]")

edit flag offensive delete link more

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2022-04-29 08:23:24 -0500

Seen: 163 times

Last updated: May 02