Series: Awesome Tips about Atom
Packages for Everyday’s Productivity
- Fuzzy Finder
- Select Preserve Last Search in the package’s settings
- AutoSave
- Select “enabled” in the package’s settings
- Tree View
- Cmd+\ to toggle tree view.
- Command Palette
- Select
Preserve Last Search
- Tune settings
- Enable Auto Reveal: link tree view with editor
- Enable Hide Ignored Names, Hide VSS Ignored Files
cmd-\
to open/close the tree view,ctrl-0
to focus it- a, shift-a, m, or delete to add, move or delete files and folders
- up/down arrow keys to preview files
- need reload the window
- toggle focus between the tree view and the editor panes by pressing Ctrl+0
- Select
- Sort Lines
- Whitespace
- uncheck “Ensure Single Trailing Newline” option
- project-manager
- open-recent
- fuzzy-finder
- highlight-selected
- Hyperlink Hyperclick: Cmd+click to open link
- Need also install Hyperlink
- Delete Whitelines: Option+Shift+D
- Maximize active pane
- cmd-shift-enter to mix/max current pane
- used together with preview package.
- last-cursor-position
- alt– to previous cursor position
- alt-_ to undo previous travel
More Productivity Packages
- zentabs
- Keep your opened tabs below a maximum limit, closing the oldest one first.
- Temp tabs:
- The temp tab will kind of conflict with zentabs: we don’t want to close unsaved tabs, but they are also counted, if we have too many unsaved tabs, then after a while, only unsaved tabs will be left open.
- One approach is to use only a few (<2) temp unsaved tabs, put temp content into tmep files like tmp.txt etc.
- Reason: (1) project find(Command+Shift+F) will not search for temp tabs; (2) temp tabs would get lost when Atom crashes (like open a big file accidentally).
- keybinding-cheatsheet
- Ctrl+Option+/: quickly find keybindings
- Jumpy: shortcut-shift + enter
- pinned-tabs: pin tabs to save context
- bracket-matcher
- ctrl-m to jump to the bracket matching the one adjacent to the cursor
- ctrl-cmd-m to select all the text inside the current brackets
Packages for Writing
- Spell Check: Cmd+Shift+:
- Change Case
- change-case:kebab/upperFirst/snake/constant
- Shortcut from command palette:
UF
- Find all command by typing
cc, CC or 'Change Case'
- title-case
- solve the issue in
change-case:title
- Shortcut: type
etc[Editor: Title Case]
in command palette
- solve the issue in
- Document Outline
- Shortcut: Ctrl-Cmd-T
- Uncheck “Show by default” in its settings
- Only use h4 or above for markdown
- linter-write-good
Packages for Writing - Markdown
- Markdown Writer
- Execute command Markdown Writer: Create Default keymaps to add the recommended Keymaps.
- snippet: b(bold), i, p(bullet point: -), l(link), code, t(todo), img
ctrl-alt-[1-5] toggle among H1 to H5. cmd-’ code cmd-b bold cmd-i italic cmd-h strike throughshift-cmd-" ’‘’code block’’’ - unordered list (shift-cmd-U) 0. ordered list (shift-cmd-O) - Markdown Table Editor
- Hit tab to move to the next cell
- Snippet: table
- markdown-preview-enhanced
- Ctrl+Shift+M: toggle preview
- Support: Scroll sync, automatically show and switch preview of markdown being edited
- Support Code chunk, Presentation
- Copy (part of) html content from the preview panel directly
- Diagrams
- Support PlantUML, mermaid, flow charts, sequence diagrams
- Turn off “Open preview pane automatically when opening a markdown file” as it will steal Tree View focus.
Use Pandoc Parser
- markdown-preview-plus
- Ctrl+Shift+M: toggle preview
- Copy html: convert markdown to html and copy the output to clipboard
- Enable “Preview Position Synchronization behavior”
- support pandoc syntax
- atom-csv-markdown
Awesome Tips about Markdown
Packages for Developers
- set-syntax
- compare-files: “Compare Files: Compare”
- atom-beautify
- brew install uncrustify
- Beautify javascript, java, json etc
- Git-Plus
- Add All Commit And Push
- Useful for blog repo etc.
- escape-utils: encode/decode URLs, Base64 or escape HTML entites
More Developers Packages
- atom-runner: run javascript, python, go, bash etc directly in atom
- atom-ternjs: JavaScript code intelligence
- linter link
- vim-mode-plus
- Settings: Start in insert mode
- hit escape to close autocomplete popup
'atom-text-editor.vim-mode-plus.insert-mode.autocomplete-active': 'escape': 'autocomplete-plus:cancel'
<!-- Open Atom -> Keymap and add: --> 'atom-text-editor.vim-mode-plus.insert-mode': 'cmd ^cmd ^ctrl': 'vim-mode-plus:activate-normal-mode'
- emmet-simplified
- Not emmet which defines a lot of default keys and conflict with atom.
- language-protobuf
Packages for Web Developers
- pigments: Renders CSS colors in every file
Other Packages
- Advanced Open File
- Cmd-Alt-O: used to get the directory path we want move a file to
- language-log: Log syntax highlighting and filtering
- dictionary: shortcut-Ctrl+Cmd+K
- Sublime Style Column Selection
- Atom Package Sync - Synchronize between computers using Google account