in reply to Re: <blocThe classical <TAB> issue
in thread The classical TAB issue

Assuming your cursor is on the code, and not on the indent, using the 'x' method to remove a tab takes you two key strokes: 0x, or ^X.

Hrm? A simple x has always worked for me, but then I also use vim with its nearly-modeless settings whenever I can get away with it. (I probably should have specified this above). Admittedly, removing any sizeable block of indentation can be done faster with a search-and-replace on those lines anyway.

Sure, in this simple example it will.

And that's exactly what I was trying to show: a simple example where any sane value of tab settings will work. There are probably more cases where they won't work than everyone on this site could list.

----
: () { :|:& };:

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: The classical <TAB> issue
by Abigail-II (Bishop) on Apr 06, 2004 at 18:36 UTC
    Hrm? A simple x has always worked for me
    In any vi I've encountered the past 20 years, 'x' deletes the character under the cursor. So, if your cursor is on code, you first need to move the cursor to the indent. Hence '0x' to move the cursor to the first column, and delete that character, or '^X', which moves the cursor to the first non-white space character on the line, and then deletes the character before it.

    Abigail