1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 21:26:44 +02:00

cheat.sh editors features list

This commit is contained in:
Igor Chubin
2018-08-05 19:55:43 +02:00
committed by GitHub
parent 75c8878956
commit bd7d36cfe2
+16 -1
View File
@@ -407,7 +407,9 @@ because you know what happens when you do.
## Editors integration
You can use *cheat.sh* directly from the editor (*Vim*, *Emacs* and *Visual Studio Code* are currently supported).
You can use *cheat.sh* directly from the editor
(*Emacs*, *Sublime*, *Vim*, and *Visual Studio Code* are currently supported;
not all features are supported by all plugins though; see below).
Instead of opening your browser, googling, browsing Stack Overflow
and eventually copying the code snippets you need into the clipboard
and later pasting them into the editor,
@@ -430,6 +432,19 @@ If you use some static analysis plugin such as *syntastic* (for Vim), you can us
its warning and error messages as cheat.sh queries: place the cursor on the problem line
and press `<leader>KE`: explanation for the warning will be opened in a new buffer.
Features supported by cheat.sh plugins for different editors:
|Feature |Emacs|Sublime|Vim|VSCode|
|-------------------|-----|-------|---|------|
|Command queries |✓ |✓ |✓ |✓ |
|Queries from buffer| | |✓ |✓ |
|Toggle comments | | |✓ | |
|Prev/next answer | | |✓ | |
|Multiple answers | |✓ | | |
|Warnings as queries| | |✓ | |
|Session id | | |✓ | |
|-------------------|-----|-------|---|------|
### Vim
* [cheat.sh-vim](https://github.com/dbeniamine/cheat.sh-vim) — Vim support