I am trying to switch to Github’s new editor Atom. Here is a note about things I found useful for me.
Packages
To see all packages installed, run apm list
in your terminal. I used the following packages so far:
atom-material-syntax
# great syntax highlightingatom-material-ui
# great user interfaceautocomplete-bibtex
# autocomplete citationsautocomplete-paths
# autocomplete path of filesfile-icons
# show file icons in the tree viewgit-time-machine
# compare git filesink
# for julia languagejulia-client
#language-julia
#language-latex
#language-markdown
#markdown-preview-plus
# render math equationsmarkdown-writer
# make writing in markdown easierminimap
# show minimap of your fileminimap-find-and-replace
# show finded items in minimappen-paper-coffee-syntax
#project-manager
#terminal-panel
# run terminal within Atomtypewriter
#vim-mode
# I like the vim mode of moving cursorwordcount
#Zen
# distraction free
To install all of them: apm install atom-material-syntax atom-material-ui autocomplete-bibtex autocomplete-paths file-icons git-time-machine ink julia-client language-julia language-latex language-markdown language-r markdown-preview-plus markdown-writer minimap minimap-find-and-replace pen-paper-coffee-syntax project-manager terminal-panel typewriter vim-mode wordcount Zen
Shortcuts
Multi-cursor
I also like the multi-cursor feature from sublime text, which I feel is a must for me. Shortcuts within Atom:
ctrl-D
if you select a world, then you hitctrl-D
and Atom will select next same word for you. Then you can either type directly (which will replace the old word) or use left or right arrow to append things.ctrl-leftclick
you can use this to select locations for multi-cursor wherever you want.shift-alt-down
orshift-alt-up
to put multi-cursor at multiple lines. Or you can select multiple lines first, thenselection -- split into lines
(in Mac, you can usecmd-shift-L
, sadly, for windows and linux so far, no similar shortcut for this [in sublime, we can usectrl-shift-L
].).
These pretty much cover most of usage of multi-cursor, but I still missing shift-rightclick_and_drag
feature from sublime text.
Spell check
To enable spell check for Latex files, go to setting and find the spell-check package, add text.tex.latex
in the grammer filed.
Common used
shift + f11
: full screen, distration free from the Zen package.ctrl + \
: toggle tree view.ctrl + /
: toggle comment.ctrl + shift + up/down
: move line up/down.
update soon