Brief-Wishbone9091
Member
We need to daily access remote servers to read logs and vi editor is used a lot. I'll share few hacks that I've learnt on the way.
1) /string_to_search will search
2) n for next match.
3) N for previous match.
4) gg will put the cursor at the top
5) Shift+G will put the cursor back to the bottom.
That's all I know as of now and some grep.
1) /string_to_search will search
2) n for next match.
3) N for previous match.
4) gg will put the cursor at the top
5) Shift+G will put the cursor back to the bottom.
That's all I know as of now and some grep.