Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text Hotkey/Keybinding for Multiple Cursors on Mac OS X

https://www.sublimetext.com/docs/2/multiple_selection_with_the_keyboard.html

http://www.wdtutorials.com/2013/06/23/sublime-text-keyboard-shortcuts-cheat-sheet-win-os-x-and-linux#.U4SkQ5RdW8E

Both of those sites suggest that Ctrl + Shift + Up/Down will add another cursor. But my Mac OS X seems to have some behavior already set to that. It zooms all of the windows out or in depending on whether I use up or down.

Does anyone know a) how to disable this OS X functionality? or b) how to change the key binding for this in Sublime's "Default (OSX).sublime-keymap -User" file?

Happy trails! -Pete

like image 663
peoplespete Avatar asked May 27 '14 14:05

peoplespete


People also ask

How do you make multiple cursors on a Mac?

CMD + OPTION + SHIFT + ⬇ / ⬆ works for me on Mac with version 1.15. 1. You can also use page up/down to go faster! I installed Smart Multi-cursor extension with some advanced features, with shortcut Cmd + Alt + (Up / Down) to create the multi-cursor.

How do you select multiple lines in sublime text on a Mac?

Splitting the Selection into Lines Select a block of lines, and then split it into many selections, one per line, using: Windows/Linux: Ctrl+Shift+L. Mac: ⇧+⌘+L.

What is Ctrl D in sublime?

Ctrl + D in SublimeText is "Quick Add Next." This appears to be equivalent to Ctrl + B in Brackets, which is "Add next match to Selection" on the Find menu.

How do I type multiple lines in Sublime Text?

To select multiple regions using the keyboard, select a block of text, then press Ctrl+Shift+L to split it into one selection per line. When you're done with using multiple selections, just press Ctrl+K to trim all but the first.


1 Answers

I figured it out after reading this: https://discussions.apple.com/thread/3331893?tstart=0

Basically, I just had to disable "Mission Control" and "Application Windows" in System Preferences >> Keyboard >> Shortcuts.

Keyboard Shortcut preferences

like image 104
peoplespete Avatar answered Sep 21 '22 15:09

peoplespete