47 Commits

Author SHA1 Message Date
Nathan Sobo
95ec0d8162 Replaces usages of .mini selector with [mini] 2014-11-13 16:04:57 -08:00
Agent Antelope
f86dc6b0a6 Revert change to cmd-shift-backspace 2014-11-12 17:09:42 +00:00
Agent Antelope
87be5af1ec Make cmd-delete delete to end of line.
This also affects cmd-shift-backspace.

The expected behaviour of cmd-delete is that it deletes to end of line,
with cmd acting as a modifier to delete/shift-backspace.
2014-11-12 13:41:32 +00:00
Ben Ogle
1247e40e88 Add tab-moving key bindings for mac 2014-11-10 13:31:12 -08:00
Nathan Sobo
1eb3d8bf99 Use ‘atom-text-editor’ custom tag name for TextEditorElement 2014-10-09 07:39:14 -07:00
Nathan Sobo
8941b97ed2 Use ‘atom-workspace’ custom tag name for WorkspaceElement 2014-10-09 07:39:14 -07:00
Kevin Sawicki
481653ff60 🍎 Insert newline with alt-enter and shift-enter
Closes #3588
2014-09-22 10:26:24 -07:00
Nathan Sobo
7a0a808af1 Change ctrl-a binding to editor:move-to-first-character-of-line
Considering that the entire Atom core team has ctrl-a bound to move to
the first character and it's also the the default behavior of Sublime,
this seems like a more sensible and useful default option even though
it deviates from text editing norms on OS X.
2014-08-19 12:14:16 -06:00
Kevin Sawicki
1bba631ab7 Remove num- keybindings 2014-08-12 14:51:53 -07:00
Kevin Sawicki
6cb5af0bfc Map ctrl-pageup/down to pane:show-next/previous-item
Closes #2724
2014-06-24 08:44:26 -07:00
Justin Bradford
2b2b65ec82 Add command to select text using page up/down keys 2014-06-20 13:08:48 -07:00
Ben Ogle
5259a1ced4 Add missing shift-backspace and shift-delete bindings 2014-05-31 16:15:36 -07:00
Kevin Sawicki
b936e126da Upgrade to atom-keymap 0.26
This added support for custom number pad keybindings so num-enter
is now mapped to the editor:newline command and the core:confirm
command.
2014-05-29 11:46:58 -07:00
Kirill Nikitin
111b5d1fbe 💄 Deprecate backspaceToBeginningOf{Word,Line}
Rename functions `backspaceToBeginningOfWord` to `deleteToBeginningOfWord` and
`backspaceToBeginningOfLine to `deleteToBeginningOfLine`.
Rename commands `editor:backspace-to-beginning-of-word` to
`delete-to-beginning-of-word` and `editor:backspace-to-beginning-of-line` to
`editor:delete-to-beginning-of-line`.

Fix #1791
2014-05-12 02:50:20 +04:00
Corey Johnson
b8db56a77b Merge pull request #2113 from MitchelSBlake/patch-1
Add more sublime parity keybindings
2014-05-09 11:25:46 -07:00
Kirill Nikitin
87e723e33b 🐧 Fix #2103, #2100 Update platform bindings for linux/win. 2014-05-09 17:57:55 +04:00
Scott Blake
3d68bdf126 Add more sublime parity keybindings 2014-05-08 22:57:32 -04:00
Kevin Sawicki
db327b92f3 🐧 Use alt-shift-up/down for cursors 2014-04-07 11:41:08 -07:00
Kevin Sawicki
9c6a3c3d03 Move editor:transpose to darwin keymap
ctrl-t should be the fuzzy finder on linux.
2014-04-02 14:05:39 -07:00
Kevin Sawicki
de3d424f51 Map cmd-shift-backspace to editor:backspace-to-beginning-of-line
Closes #1752
2014-03-12 18:16:52 -07:00
Nathan Sobo
20a0c27111 Rename duplicate-line to duplicate-lines (but retain deprecated method)
Might as well make the name accurate while it's early.
2014-03-06 14:36:25 -07:00
Nathan Sobo
aa04589dd2 Rename Editor::joinLine to ::joinLines
It acts on multiple lines, and in a quick survey of the literature I see
Sublime docs referring to it as "join lines" as well.
2014-02-27 16:16:01 -08:00
Kevin Sawicki
211d222291 Remove auto-indent conflict with increase zoom 2014-02-11 15:40:12 -08:00
Kevin Sawicki
dda412d5ec Add window:reset-font-size command 2014-02-11 15:40:12 -08:00
Kevin Sawicki
d7fabc5a58 Map cmd-_ to window:decrease-font-size
Makes it consistent with increase-font-size having two keybindings
2014-02-11 15:40:12 -08:00
Jason Rudolph
8c75f425e7 Add keymaps for moving directionally between panes
- Add keymaps for the new commands. Since the new commands are all about
  moving in a specific direction between panes, use the up, down, left,
  and right keys in the keymaps.
- Change the keymaps for the existing commands (since the new commands
  for moving left and right are now using the old keymaps for moving
  to the previous and next pane respectively). Use "p" instead of "left"
  in the keymap for focusing the *p*revious pane. Use "n" instead of
  "right" in the keymap for focusing the *n*ext pane.
2014-01-26 17:42:28 -05:00
probablycorey
1142da1848 Use body instead of workspace so keymaps work inside spec window 2014-01-21 16:48:56 -08:00
probablycorey
e53ed10169 Only allow one platform specific keybinding file. 2014-01-21 16:34:52 -08:00
probablycorey
ec558f9a9b Update keymap files 2014-01-21 16:13:45 -08:00
Kevin Sawicki
27f0d11039 Map cmd-l to editor:select-line 2014-01-08 15:48:52 -08:00
Kevin Sawicki
0fd8b6be8d Pluralize selection in event name 2014-01-08 15:45:09 -08:00
Kevin Sawicki
8e51a7f6d6 Bind cmd-shift-l to split selectin into lines 2014-01-08 15:44:34 -08:00
Corey Johnson
fe3e71cbd7 Merge pull request #1350 from atom/cj-keybinding-fixes
keybinding fixes
2013-12-31 08:50:22 -08:00
probablycorey
c37b884007 Add moveCursorToEnd/BeginningOfBufferLine
Fixes #1123
2013-12-31 08:21:35 -08:00
probablycorey
97aed1f680 ctrl-a moves the cursor to the beginning of the line on OS X
Keybinding now matches default OS behavior
2013-12-30 14:00:38 -08:00
probablycorey
8e970b64b8 Change window:reload keybinding to ctrl-alt-cmd-l
Fixes #1157
2013-12-30 10:45:01 -08:00
Jason Rudolph
470ce7bd22 Use default OS X keyboard shortcut to hide other apps 2013-12-27 08:24:46 -05:00
probablycorey
a8f7c5201b Add more keystrokes to .native-key-bindings 2013-11-27 14:20:45 -08:00
Matt Colyer
dfa870f514 Merge branch 'master' into meta-to-command
Conflicts:
	keymaps/win32.cson
2013-11-20 10:19:12 -08:00
Matt Colyer
ccafda6f7f Keep .platform-<platform> rather than .workspace-<platform> 2013-11-19 17:03:16 -08:00
Matt Colyer
33538a5ed7 Use .workspace rather than body for keybindings 2013-11-19 16:57:10 -08:00
Matt Colyer
ce098e587f Reduce specificity of platform keybindings 2013-11-19 16:46:46 -08:00
Matt Colyer
3d7de21d6c Replicate command keybindings on windows 2013-11-19 15:53:43 -08:00
Matt Colyer
55e90f8ae1 Use cmd instead of command 2013-11-19 15:29:37 -08:00
Matt Colyer
1e4504e7f3 Use command instead of meta 2013-11-19 15:16:55 -08:00
Matt Colyer
b0b458b1f6 Review remaining global bindings 2013-11-19 13:53:10 -08:00
Matt Colyer
33891b51f2 Split keybindings by platform 2013-11-14 11:20:40 -08:00