File switching
ctrl-shift-s
Save all open files cmd-shift-o
open the directory cmd-\
to show or hide the tree ctrl-0
moves the focus to the directory tree
directory tree, use a, m, delete to add, modify, and delete cmd-t
or cmd-p
find files cmd-b
in switching between open files cmd-shift-b
only from the last search git commit after the new or modified files
navigation
(Equivalent to up and down) ctrl-p
the front row ctrl-n
after row of ctrl-f
a character before ctrl-b
the character
alt-B
, alt-left
Move to the beginning of the word alt-F
, alt-right
move to the end of the word
cmd-right
, ctrl-E
Move to the end of a line cmd-left
, ctrl-A
move to start line
cmd-up
Move to the beginning of the file cmd-down
is moved to the end of file
ctrl-g
To a specific line row: column at
cmd-r
Jump between methods
Tree operations
cmd-\
Or cmd-k cmd-b
display (hide) tree ctrl-0
switch focus to the directory tree (or press again Esc
to exit the directory tree) a
add a file d
to the current file as (duplicate) i
display (hide) version control file ignored alt-right
and alt-left
expanded (hide) all directories ctrl-al-]
and ctrl-al-[
above ctrl-[
, and ctrl-]
expand the (hidden) in the current directory ctrl-f
and ctrl-b
ibid. cmd-k h
, or cmd-k left
open a file in the left half of the view cmd-k j
or cmd-k down
the lower half view open the file cmd-k k
or cmd-k up
open the file in the first half view cmd-k l
or cmd-k right
open the file in the right view, ctrl-shift-C
copy the current absolute file path
Bookmark
cmd-F2
An increase in the Bank bookmark F2
to jump to the current file under a bookmark shift-F2
to jump to a bookmark on the current file ctrl-F2
lists all bookmarks in the current project
Select
Most navigation and consistent, but the plus shift
ctrl-shift-P
Select the first row ctrl-shift-N
selected to the next as ctrl-shift-B
before to select a character ctrl-shift-F
later to select a character alt-shift-B
, alt-shift-left
select a character to begin alt-shift-F
, alt-shift-right
select a character to the end ctrl-shift-E
, cmd-shift-right
choose the Bank to end ctrl-shift-A
, cmd-shift-left
select the Bank began to cmd-shift-up
select the file to start cmd-shift-down
selecting files to the end of the cmd-A
Select cmd-L
Choose line, continue to return to select the next line ctrl-shift-W
to select the current word
Edit and delete text
Basic Operations
ctrl-T
Switching back and forth so that the character cursor cmd-J
to the next line with the current line merger ctrl-cmd-up
, ctrl-cmd-down
so that the current line up or down cmd-shift-D
copy the current row to the next row cmd-K
, cmd-U
so that the current character capitalized cmd-K
, cmd-L
so that the current character lowercase
Delete and Cut
ctrl-shift-K
Delete the current line cmd-backspace
to delete the current row cmd-fn-backspace
Delete row to the end of the current ctrl-K
cut to the end of the current line alt-backspace
or alt-H
delete the current word to start alt-delete
or alt-D
delete to the end of the current word
Multi cursor and select multiple
cmd-click
Adding new cursor cmd-shift-L
to select a plurality of rows multiple rows to the cursor ctrl-shift-up
, ctrl-shift-down
to increase the (lower) row of the cursor cmd-D
to select the same document and the current at the next word ctrl-cmd-G
to select all documents in the same position of the current cursor word
Jump brackets
ctrl-m
Between the respective brackets, the jump between the html tag like ctrl-cmd-m
between brackets (tag) selected text alt-cmd-.
to close the current XML / HTML tag
Encoding
ctrl-shift-U
Encoding option to call up the switching
Find and Replace
cmd-F
Find in buffer in cmd-shift-f
look throughout the project
code segment
alt-shift-S
See currently available snippet
In the
~/.atom
directorysnippets.cson
to store your custom snippets file
Autocomplete
ctrl-space
Prompt completion information
fold
alt-cmd-[
Folding alt-cmd-]
Expand alt-cmd-shift-{
Collapse All alt-cmd-shift-}
Expand All cmd-k cmd-N
number N of hierarchy level targeting folded
File syntax highlighting
ctrl-shift-L
Select the text type
Writing carried out using the Atom
ctrl-shift-M
Markdown preview
available snippet
b, legal, img, l, i, code, t, table
git operation
cmd-alt-Z
checkout HEAD version of the cmd-shift-B
pop-up list of untracked files and modified alt-g down
alt-g up
in the modification of the Jump alt-G D
pop-diff list of alt-G O
open files on github alt-G G
open project addresses on github alt-G B
open files blame on github alt-G H
open the file history on github alt-G I
open issues on github alt-G R
open branches in comparison github alt-G C
a copy of the current file's URL on gihub
Recommend some useful plug-ins
- Theme
atom-material-ui good to see the explosion
atom-material-syntax - Beautify
atom-beautify a key code beautification
file-icons to icon file plus good-looking
atom-minimap to facilitate the appearance of thumbnail scrolling map - git
atomatigit visualization operation git - Code hints
emmet this need not have introduced it
Atom-ternjs js code hints very powerful, highly customizable
docblockr jsdoc js to add comments
autoclose-html closing html tag
color-picker color picker necessary plug-in
pigments color display plug-in will install
terminal-panel write commands directly in the atom inside a
SVG-preview SVG preview - Easy to handle
advanced-open-file quickly open, switch file
These, and welcome to pull more useful plug-ins!
------------------------------------
Author: futantan
Article from: https://github.com/futantan/atom