Skip to main content
deleted 1 character in body
Source Link
Masquue
  • 181
  • 5

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation (IMHO, you'd better avoid F and T for backward search which do not include the characterscharacter under cursor, this places more burden on memory and mind).

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making obviously the argument of the command and even aiding quickly counting occurrences.

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation (IMHO, you'd better avoid F and T for backward search which do not include the characters under cursor, this places more burden on memory and mind).

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making obviously the argument of the command and even aiding quickly counting occurrences.

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation (IMHO, you'd better avoid F and T for backward search which do not include the character under cursor, this places more burden on memory and mind).

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making obviously the argument of the command and even aiding quickly counting occurrences.

added 158 characters in body
Source Link
Masquue
  • 181
  • 5

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (ff for inclusive, tt for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation (IMHO, you'd better avoid F and T for backward search which do not include the characters under cursor, this places more burden on memory and mind).

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making clearlyobviously the argument of the command and even aiding quickly counting occurrences.

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation.

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making clearly the argument of the command and even aiding quickly counting occurrences.

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation (IMHO, you'd better avoid F and T for backward search which do not include the characters under cursor, this places more burden on memory and mind).

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making obviously the argument of the command and even aiding quickly counting occurrences.

Source Link
Masquue
  • 181
  • 5

Not answering for this specific task, but I personally prefer df<char> and dt<char> or with c operator.

Once you are familiar with it, it deals with most cases more consistently by deleting from your cursor position to a specified character (f for inclusive, t for exclusive) at the cost of only one more keystroke than the optimal d^ and involving no complex mind calculation.

e.g. some of my often used commands: dt) df, cf etc. You only need to count characters or resort to Visual Mode (also remember using f or t to move cursor!) when there are multiple occurrences of the character, which seems to be a rare case for me. Also often we want to delete to a delimiter, such as , ; , which stands out clearly in the text, making clearly the argument of the command and even aiding quickly counting occurrences.