Hacker News new | ask | show | jobs
by kkoncevicius 470 days ago
Maybe one lesser known is changing to visual mode within operation. A few examples (^ marks the cursor):

    one two three
                ^
'db' would leave letter "e" behind. But 'dvb' would include the "e" as well.

Another example, say we want to delete from "two" to "five".

    one
    two
     ^
    three
    four
    five
    six
'd/five' would leave a "t" as well as "five", but 'dV/five' would delete all necessary lines. This helps targeting lines without using relative line numbers.