emacsチートシート
随時更新
Tide
TypeScriptの定義ジャンプとかしてくれるやつ
GitHub - ananthakumaran/tide: Tide - TypeScript Interactive Development Environment for Emacs
Commands
Keyboard shortcuts | Description |
---|---|
M-. | Jump to the definition of the symbol at point. With a prefix arg, Jump to the type definition. |
M-, | Return to your pre-jump position. |
M-x tide-restart-server Restart tsserver. This would come in handy after you edit tsconfig.json or checkout a different branch.
M-x tide-documentation-at-point Show documentation for the symbol at point.
M-x tide-references List all references to the symbol at point in a buffer. References can be navigated using n and p. Press enter to open the file.
M-x tide-project-errors List all errors in the project. Errors can be navigated using n and p. Press enter to open the file.
M-x tide-rename-symbol Rename all occurrences of the symbol at point.
M-x tide-format Format the current region or buffer.
M-x tide-fix Apply code fix for the error at point.
importjs
C-c i importjsd起動(二回)
https://joppot.info/2017/04/14/3796
flycheck
C-M-N flycheck next error
C-M-P flycheck previous error
Neo Tree
=== Shortcut (Only in Neotree Buffer) ===
n
next line ,p
previous line。SPC
orRET
orTAB
Open current item if it is a file. Fold/Unfold current item if it is a directory.g
RefreshA
Maximize/Minimize the NeoTree WindowH
Toggle display hidden filesC-c C-n
Create a file or create a directory if filename ends with a ‘/’C-c C-d
Delete a file or a directory.C-c C-r
Rename a file or a directory.C-c C-c
Change the root directory.C-c C-p
Copy a file or a directory.
=== Commands(Global) ===
neotree-dir
show NeoTree window and specify a directory as its rootneotree-show
orneotree
show NeoTree window using current directory as its rootneotree-hide
Hide NeoTree windowneotree-toggle
toggle/hide NeoTree windowneotree-find
show NeoTree window and use the file of current buffer as its root
=== Command(Only in NeoTree Buffer) ===
neotree-enter
Open File / Unfold Directoryneotree-refresh
Refreshneotree-stretch-toggle
Maximize / Minimizeneotree-change-root
Switch Root Directoryneotree-hidden-file-toggle
Toggle hidden filesneotree-rename-node
Rename a Nodeneotree-delete-node
Delete a Nodeneotree-create-node
Create a file or a directory (if filename ends with ‘/’)