diff --git a/new-info.txt b/new-info.txt index aa4a33b..776f286 100644 --- a/new-info.txt +++ b/new-info.txt @@ -197,6 +197,17 @@ Commands: Clever tricks (12): + Doe, John => John Doe -- :%s/\([^,]*\), \(.*\)/\2 1/ + VISUAL SELECT -> :!sort -- will sort lines + K -- opens "man" program on the word + :%s/\s\+$// -- deletes white spaces in the end of lines + vim `grep -l frame_counter *.c -- open files with "frame_counter" var + use :next and :first to browse through the files + :grep error_string *.c -- open files with concrete variable. + use :cn(ext), :cp(rev), :cl(ist), :copen, :cfirst, :clast, :ccNUM goto + + Typing command-line commands quickly (20): + qwe Hints: There is lowercase and uppercase marks. Uppercase marks are global, they