

- #CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS HOW TO#
- #CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS UPDATE#
- #CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS WINDOWS#
#CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS UPDATE#
You need to update the rules section of ~/.config/karabiner/karabiner.json with the JSON array from code below. I accomplished this using Karabiner Elements.

_KeyToKey_ FROMKEYCODE_END, Ke圜ode::CURSOR_RIGHT, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_HOME, Ke圜ode::CURSOR_LEFT, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_END, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, Ke圜ode::CURSOR_DOWN, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_END, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND, Ke圜ode::CURSOR_DOWN, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_HOME, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_CONTROL, Ke圜ode::CURSOR_UP, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_HOME, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_COMMAND, Ke圜ode::CURSOR_UP, ModifierFlag::COMMAND_L _KeyToKey_ FROMKEYCODE_END, Ke圜ode::E, ModifierFlag::CONTROL_L _KeyToKey_ FROMKEYCODE_HOME, Ke圜ode::A, ModifierFlag::CONTROL_L _KeyToKey_ FROMKEYCODE_HOME, Ke圜ode::HOME _KeyToKey_ FROMKEYCODE_END, Ke圜ode::END, ModifierFlag::SHIFT_L _KeyToKey_ FROMKEYCODE_HOME, Ke圜ode::HOME, ModifierFlag::SHIFT_L You could remap home and end by creating ~/Library/KeyBindings/ and saving a property list like this as DefaultKeyBinding.dict: ⌥ ← and ⌥ → move backwards/forward by words, and all of these are compatible with holding Shift to select during the corresponding moves. ⌥ ↑ and ⌥ ↓ or ⌃ A and ⌃ E move to the beginning or end of unwrapped lines (or paragraphs). The default shortcuts for moving to beginning or end of (wrapped) lines are ⌘ ← and ⌘ →.

#CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS HOW TO#
The following screenshot shows how to save a macro using this option.Most of my computing time is spent in Linux (with occasional time in Windows). You can save a recorded macro using the option Tools → Save Macro. The dialog to enter key binding will assign the correct and desired key binding as per your keyboard layout. For example, key binding Cmd+\ in US keyboard layout will be shown as Ctrl+Shift+Alt+Cmd+7 when layout is changed to German. (Code > Preferences > Keyboard Shortcuts on macOS) Most importantly, you can see keybindings according to your keyboard layout. Note that this shortcut plays the last recorded macro in Sublime. You can open this editor by going to the menu under File > Preferences > Keyboard Shortcuts.
#CODE FOR DELETE KEY MAC SUBLIME TEXT KEYBINDINGS WINDOWS#
You can use the shortcut key Ctrl+Shift+Q on Windows and Cmd+Shift+Q for Mac, to play a macro recorded by the user in Sublime Text. Once the macro has started recording, you can see the following message in Sublime Text editor − Playing a Macro

Use the record option in Tools → Record Macro. Use the shortcut key Ctrl+Q for recording a macro in Windows and Cmd+Q in Mac. Recording a macro defines the procedure to keep a set of commands needed for the given file. sublime-micro and are considered to be very helpful. Macro files are JSON files with an extension called. You can use macros whenever you need to perform an operation which includes same steps. Macros are the basic automation facility that includes a sequence of commands.
