Parcourir la source

most: add page (#1722)

Thomas Barusseau il y a 7 ans
Parent
commit
02f9bd592a
1 fichiers modifiés avec 35 ajouts et 0 suppressions
  1. 35 0
      pages/common/most.md

+ 35 - 0
pages/common/most.md

@@ -0,0 +1,35 @@
+# most
+
+> Open one or several files for interactive reading, allowing scrolling and search.
+
+- Open a file:
+
+`most {{path/to/file}}`
+
+- Open several files:
+
+`most {{path/to/file1}} {{path/to/file2}}`
+
+- Open a file at the first occurrence of "string":
+
+`most {{file}} +/{{string}}`
+
+- Move through opened files:
+
+`:O n`
+
+- Jump to the 100th line:
+
+`{{100}}j`
+
+- Edit current file:
+
+`e`
+
+- Split the current window in half:
+
+`<CTRL-x> o`
+
+- Exit:
+
+`Q`