We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parents02a9fcd +eae868b commitbb5f676Copy full SHA for bb5f676
README.md
@@ -33,6 +33,27 @@ View man pages in vim. Grep for the man pages.
33
works nicely with C header files often found in section 2 and 3 man pages i.e.
34
`<sys/socket.h>`)
35
36
+#####Using from the shell
37
+
38
+You can use vim-man from the shell (instead of standard`man` program) using
39
+the following script:
40
41
+ #! /bin/sh
42
+ vim -c "Man $1 $2" -c 'silent only'
43
44
+Save it in`/usr/bin/` as a file named`viman`, give it execution
45
+permission with:
46
47
+$ chmod +x /usr/bin/viman
48
49
+Then from your shell you can read a DOC with:
50
51
+$ viman doc
52
53
+Or you can use the alias`alias man=viman` so you can do (as usual):
54
55
+$ man doc
56
57
#####Searching/grepping man pages
58
59
Also see[About Mangrep](#about-mangrep)