Chenming Zhang
Chenming Zhang

Reputation: 2566

Delete tab at the beginning of the line in navigation mode

Once under naviation mode, when the prompt is moved to the beginning of a line (for example, by a) that is started with a tab, the prompt will be located immediated after the tab. to delete that tab, one has to step in to insert mode (by i) then delete the tab (by backspace).

I am wondering how to delete the tab without changing modes?

Upvotes: 0

Views: 516

Answers (2)

Chenming Zhang
Chenming Zhang

Reputation: 2566

got the solution. at the navigation mode, using command:

0dl

or even simpler

0x

Upvotes: 1

romainl
romainl

Reputation: 196546

In normal mode, you don't need to move the cursor to remove a leading tab, just use <<.

Upvotes: 0

Related Questions