Sublime Forum

How to change key bindings for selecting columns

#1

Hello,

By default the column selection feature uses Ctrl+Alt+Up/Down as its key bindings under Linux.

sublimetext.com/docs/2/column_selection.html

However, these key bindings conflict with my desktop environment. Is there a way that I can change them? I have already looked all over the “Key bindings” config file, but I simply cannot find an entry for column select. Any help would be greatly appreciated.

0 Likes

#2

You may want to search for key combination, not for what you think it is called :

	{ "keys": "ctrl+alt+up"], "command": "select_lines", "args": {"forward": false} },
	{ "keys": "ctrl+alt+down"], "command": "select_lines", "args": {"forward": true} },

I assume you are searching inside of default keybindings.

0 Likes

#3

Why the hostility? Instead of assuming that I used a stupid method to search for the bindings, you could have asked. You have no reason to assume that I searched by trying to guess the name of the command. As it turns out, you are wrong. I did search for “ctrl+alt+up” and “ctrl+alt+down” and those entries are simply not present in my default key bindings file.

Anyway, thanks for giving me the config lines. I can now do column select from the keyboard.

Daniel.

0 Likes

#4

Mmm, i think you read it wrong. I didn’t tried to be hostile or smart ass or whatever. Just trying to help.

You didn’t found the shortcut because on linux seems to be a little different:

{ "keys": "alt+shift+up"], "command": "select_lines", "args": {"forward": false} }, { "keys": "alt+shift+down"], "command": "select_lines", "args": {"forward": true} },

0 Likes