|
|
|
|
|
by gknoy
4343 days ago
|
|
I realize that you're joking, but... vim is a better less than less is, in almost all cases, for viewing code, because you get syntax highlighting. I'm not a vim user, but I use it to replace less because syntax highlighting is the bee's knees: (you may need to change `vim74` to whatever it is on your system.) alias less='/usr/share/vim/vim74/macros/less.sh'
You can then do things like: less Makefile +400
which pairs very nicely with `grep -n`. |
|