Skip to content

Instantly share code, notes, and snippets.

@PedroBern
Created March 24, 2019 14:52
Show Gist options
  • Save PedroBern/2310d59bcaede3d596d0b16c0384bb4e to your computer and use it in GitHub Desktop.
Save PedroBern/2310d59bcaede3d596d0b16c0384bb4e to your computer and use it in GitHub Desktop.
My atom keymap for mac
# Your keymap
#
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
#
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
#
# Here's an example taken from Atom's built-in keymap:
#
# 'atom-text-editor':
# 'enter': 'editor:newline'
#
# 'atom-workspace':
# 'ctrl-shift-p': 'core:move-up'
# 'ctrl-p': 'core:move-down'
#
# You can find more inforation about keymaps in these guides:
# * http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
# * http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
#
# If you're having trouble with your keybindings not working, try the
# Keybinding Resolver: `Cmd+.` on macOS and `Ctrl+.` on other platforms. See the
# Debugging Guide for more information:
# * http://flight-manual.atom.io/hacking-atom/sections/debugging/#check-the-keybindings
#[sdsdsdsdds
#sdsdsdsdds
#]
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it in the
# Atom Flight Manual:
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#configuring-with-cson
'atom-text-editor':
'ctrl-shift-cmd-b':"bookmarks:toggle-bookmark"
'ctrl-shift-cmd-n':"bookmarks:jump-to-next-bookmark"
'ctrl-shift-cmd-p':"bookmarks:jump-to-previous-bookmark"
'ctrl-shift-cmd-l':"bookmarks:view-all"
'f1':"bracket-matcher:go-to-matching-bracket"
'f2':"bracket-matcher:select-inside-brackets"
'f3':"wrap-in-tag:wrap"
'f4':"editor:toggle-line-comments"
'f5':"editor:move-line-down"
'f6':"editor:move-line-up"
'f8':"find-and-replace:select-all"
'f7':"find-and-replace:select-undo"
'f9':"find-and-replace:select-next"
'F10':"editor:delete-line"
'atom-workspace':
'ctrl-shift-cmd-m': 'markdown-mindmap:toggle'
# Key bindings for multi-cursor-plus
'ctrl-alt-cmd-c': 'multi-cursor-plus:mark'
'ctrl-alt-cmd-up': 'multi-cursor-plus:move-up'
'ctrl-alt-cmd-down': 'multi-cursor-plus:move-down'
'ctrl-alt-cmd-left': 'multi-cursor-plus:move-left'
'ctrl-alt-cmd-right': 'multi-cursor-plus:move-right'
# jsx comment
'cmd-f4': 'jsx-comment:toggleComment'
# git tab
'alt-cmd-j': 'github:toggle-git-tab'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment