Commit Graph

73 Commits

Author SHA1 Message Date
Max Brunsfeld
ab9fc642c1 Move syntax-aware-selection key bindings to base keymap 2018-10-24 10:36:58 -07:00
Benjamin Gray
1fc0f0d683
Merge pull request #16342 from davidrsfalcao/master
'cmd--': As default for 'window:decrease-font-size' on MacOs
2018-07-26 09:34:13 +10:00
Max Brunsfeld
a8e457df61 Tweak syntax selection key bindings 2017-12-27 12:37:50 -08:00
David Falcão
5c4e13840d change darwin's keymap 2017-12-07 19:16:41 +00:00
Max Brunsfeld
203c38ca45 Add select-{larger,smaller}-syntax-node commands 2017-11-30 15:17:14 -08:00
Nathan Sobo
fd85c1bb5a Add Paste without reformatting command
It is bound to cmd-shift-V on macOS and ctrl-shift-V on Windows and
Linux. It is also available in the edit menu.
2017-10-23 17:14:41 -06:00
Long Nhat Nguyen
7a65769d8c Replace upperCase with shift-lowerCase 2016-10-17 15:52:50 +00:00
Long Nhat Nguyen
3ebef80c6f Replace upperCase with shift-lowerCase 2016-10-17 13:26:15 +00:00
Damien Guard
bb3320e553
Move emacs alt-*/editor bindings to darwin to avoid menu conflicts on Win/Linux. Addresses some of #4057 2016-10-05 17:38:49 -07:00
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