base.cson 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. 'atom-text-editor':
  2. # Platform Bindings
  3. 'home': 'editor:move-to-first-character-of-line'
  4. 'end': 'editor:move-to-end-of-screen-line'
  5. 'shift-home': 'editor:select-to-first-character-of-line'
  6. 'shift-end': 'editor:select-to-end-of-line'
  7. 'atom-text-editor:not([mini])':
  8. # Pulsar Specific
  9. 'ctrl-shift-c': 'editor:copy-path'
  10. 'alt-up': 'editor:select-larger-syntax-node'
  11. 'alt-down': 'editor:select-smaller-syntax-node'
  12. # Sublime Parity
  13. 'tab': 'editor:indent'
  14. 'enter': 'editor:newline'
  15. 'shift-tab': 'editor:outdent-selected-rows'
  16. 'ctrl-shift-k': 'editor:delete-line'
  17. '.select-list atom-text-editor[mini]':
  18. 'enter': 'core:confirm'
  19. '.tool-panel.panel-left, .tool-panel.panel-right':
  20. 'escape': 'tool-panel:unfocus'
  21. 'atom-text-editor !important, atom-text-editor[mini] !important':
  22. 'escape': 'editor:consolidate-selections'
  23. # Allow standard input fields to work correctly
  24. 'body .native-key-bindings':
  25. 'tab': 'core:focus-next'
  26. 'shift-tab': 'core:focus-previous'
  27. 'enter': 'native!'
  28. 'backspace': 'native!'
  29. 'shift-backspace': 'native!'
  30. 'delete': 'native!'
  31. 'up': 'native!'
  32. 'down': 'native!'
  33. 'shift-up': 'native!'
  34. 'shift-down': 'native!'
  35. 'alt-up': 'native!'
  36. 'alt-down': 'native!'
  37. 'alt-shift-up': 'native!'
  38. 'alt-shift-down': 'native!'
  39. 'cmd-up': 'native!'
  40. 'cmd-down': 'native!'
  41. 'cmd-shift-up': 'native!'
  42. 'cmd-shift-down': 'native!'
  43. 'ctrl-up': 'native!'
  44. 'ctrl-down': 'native!'
  45. 'ctrl-shift-up': 'native!'
  46. 'ctrl-shift-down': 'native!'
  47. 'left': 'native!'
  48. 'right': 'native!'
  49. 'shift-left': 'native!'
  50. 'shift-right': 'native!'
  51. 'alt-left': 'native!'
  52. 'alt-right': 'native!'
  53. 'alt-shift-left': 'native!'
  54. 'alt-shift-right': 'native!'
  55. 'cmd-left': 'native!'
  56. 'cmd-right': 'native!'
  57. 'cmd-shift-left': 'native!'
  58. 'cmd-shift-right': 'native!'
  59. 'ctrl-left': 'native!'
  60. 'ctrl-right': 'native!'
  61. 'ctrl-shift-left': 'native!'
  62. 'ctrl-shift-right': 'native!'
  63. 'ctrl-b': 'native!'
  64. 'ctrl-f': 'native!'
  65. 'ctrl-shift-f': 'native!'
  66. 'ctrl-shift-b': 'native!'
  67. 'ctrl-h': 'native!'
  68. 'ctrl-d': 'native!'