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

help.txt: added new options description: c, C, Q; added reference to /:vim

This commit is contained in:
Igor Chubin
2018-05-06 17:33:01 +00:00
parent 5b49deabc0
commit 1c04a08a4a
+13 -3
View File
@@ -12,10 +12,15 @@ Options:
T text only, no ANSI sequences
style=STYLE color style
c do not comment text, do not shift code (QUERY+ only)
C do not comment text, shift code (QUERY+ only)
Q code only, don't show text (QUERY+ only)
Options can be combined together in this way:
curl cheat.sh/for?qT&style=bw
curl 'cheat.sh/for?qT&style=bw'
(when using & in shell, don't forget to specify the quotes or escape & with \)
Special pages:
@@ -28,8 +33,15 @@ Special pages:
Tab completion:
$ mkdir -p ~/.bash.d/
$ curl cheat.sh/:bash_completion > ~/.bash.d/cheat.sh
$ . ~/.bash.d/cheat.sh
$ echo '. ~/.bash.d/cheat.sh' >> ~/.bashrc
Editor integration:
:emacs see the page for the Emacs configuration
:vim see the page for the Vim configuration
Search:
@@ -64,5 +76,3 @@ Support programming languages:
rust
python
php