Commit Graph

64 Commits

Author SHA1 Message Date
Machiste Quintana
e932e3db05 Merge branch 'master' into mq-move-selected-columns 2016-03-28 22:16:31 -07:00
natalieogle
420a8d8692 Add activatePreviousRecentlyUsedItem to pane model and add specs. 2016-02-27 20:45:02 -08:00
natalieogle
553b3f3300 Change name of function that moves the active item to the top of the item stack. 2016-02-27 20:45:02 -08:00
natalieogle
69a6b9e5c5 Add keymap for 'ctrl-tab ^ctrl' in order to move item to top of stack when lifting ctrl. 2016-02-27 20:45:01 -08:00
natalieogle
3641cc0296 Remove redundant MRU function. 2016-02-27 20:45:01 -08:00
natalieogle
7a6c8f53a4 Add activateMostRecentlyUsedItem to pane model. 2016-02-27 20:45:00 -08:00
Aaron Contreras
500afb0f20 Improve split API, add new commands and rewrite existing ones
Allow empty splits, as well as moving (instead of copying) active item
2016-02-02 00:50:10 +01:00
Max Brunsfeld
4988f6be11 Remove application:run-all-specs command 2015-10-07 15:25:05 -05:00
Kevin Sawicki
388d716028 pane:enlarge/shrink -> pane:increase-size/decrease-size 2015-08-13 06:54:51 -07:00
liuxiong332
ccccc9657c add keymaps for pane:shrink and pane:enlarge commands. 2015-08-13 06:54:51 -07:00
Nathan Sobo
8698f2285d Bind ctrl-up/down to just move up or down by default
This prevents insertion of weird characters when ctrl-up/down are
pressed.
2015-07-28 11:09:34 -06:00
Nathan Sobo
83bddaf34e Merge branch 'master' into add-subword-cursors-4
Conflicts:
	spec/text-editor-spec.coffee
2015-06-30 15:43:33 -05:00
Machiste Quintana
1f023d1d2c Implement editor:move-selection-left 2015-06-18 07:14:41 -04:00
Kevin Sawicki
a49f635fc0 Remove application:open-dev keybindings 2015-04-07 13:10:01 -07:00
Kevin Sawicki
d41296b121 Swap open-dev and add-project-folder keybindings 2015-04-07 13:02:11 -07:00
Kevin Sawicki
ceaa869426 Add application:add-project-folder keybinding 2015-04-07 12:33:41 -07:00
Darrell Sandstrom
c8b4129b31 Add keymaps 2015-03-01 17:27:54 -08:00
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