Atom
Sub pages
Shortcuts
Command Palette
Cmd+Shift+P
Then input the command, e.g. “about”, will jump to the About page of Atom.
Fuzzy Finder
Cmd+T/Ctrl+P
Then input the filename, e.g. “atom.md”, will open this file.
config
config example: https://github.com/xx7y7xx/env/blob/master/.atom/config.cson
“Remove Trailing Whitespace” should not be on by default
https://github.com/atom/whitespace/issues/10#issuecomment-85183781
"*":
whitespace:
removeTrailingWhitespace: false
install in ubuntu 16.04
sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom
http proxy
Convert Shadowsocks into an HTTP proxy
Polipo is a option. (But Polipo is no longer maintained)
Privoxy is another option.
Follow the instructions here: privoxy
search exclude
Config
https://github.com/xx7y7xx/env/blob/master/.atom/config.cson
vim ~/.atom/config.cson
"*":
core:
ignoredNames: [
".git"
".hg"
".svn"
".DS_Store"
"._*"
"Thumbs.db"
"desktop.ini"
"node_modules"
"dist"
"coverage"
".happypack"
".nuxt"
]
Atom, Preferences, Core, Core Settings, Ignored Names:
Search in Projects
Search debug(
in project xxd3vin.github.io
, and ignore node_modules
dir.
search keyword
debug(
filter
xxd3vin.github.io, !node_modules
Ref: https://github.com/atom/find-and-replace/issues/149#issuecomment-36959881
Exclude some file type
Search in the src/api
dir, and exclude the test files.
src/api,!*.test.js
eslint
https://github.com/AtomLinter/linter-eslint
vue
To lint *.vue
file, just to enable the “Lint HTML Files” option in linter-eslint
configuration.
And install eslint-plugin-html
npm i eslint-plugin-html -D
Add this plugin to .eslintrc
{
plugins: ["html"];
}
plugins
To: Atom plugins
keyboard shortcuts for macOS
https://gist.github.com/chrissimpkins/5bf5686bae86b8129bee
⌃-m
- Go to Matching Bracket⌘-F2
- Toggle Bookmark