2 ms·
It's probably best to learn a bit of both, but specialize in one. Especially since common tools like `less` use vim bindings. Examples: * `less +23 file.txt` o
by pyre 16y ago
It's probably best to learn a bit of both, but specialize in one. Especially since common tools like `less` use vim bindings. Examples:
* `less +23 file.txt` opens the file in less at line 23
* Searching in less works just like vim:
/ -- starts a forward search
? -- starts a backward search
n -- cycle through matches forward
N -- cycle through matches backwards
* Some movement keys are shared:
gg -- go to the top of the file
G -- to go the bottom of the file
... etc ...
- DennisP 16y agoWow that's cool...what other tools do that sort of thing?