Operating Systems > Linux and UNIX

Vim

(1/4) > >>

TheQuirk:
Vim only lets me delete the current line my crusor is in. That's incredibly annoying. I also can't just press the "left" key until the crusor moves to the above line -- it just gets stuck on the left. Help!

Until I figure out how to fix it / someone tells me how to, I'll be using Emacs. It really isn't that bad, but I still prefer Vim..

voidmain:
Huh? There are zillions of ways to delete. "dw" delete's word, "4dw" deletes 4 words, "dd" deletes line, "5dd" deletes 5 lines, "d$" deletes to end of line, "d^" deletes to beginning of line, "dG" deletes to the end of file, "d/someword" deletes everything from your cursor position to the word someword, etc, etc, etc, etc.

Press 'j' to move down a line, 'k' to move up a line, 'h' to move left a char, 'l' to move right a char, "4j" to move down 4 lines. Press "<CTRL>+b" to move back a page, "<CTRL>+f" to move forward a page. Press "1G" to move to the beginning of the file, "G" to move to end of file, etc, etc, etc, etc..

"/someword" find the next occurance of "someword", etc.

[ September 22, 2002: Message edited by: void main ]

TheQuirk:
no, you don't understand. The delete command works, but it never goes above the line the crusor is loated in. If I press the left arrow key, it will only go up to the first charecter of the line the crusor is in.

voidmain:
The move left key is not supposed to move the cursor to the line above it when you move left, that's what the move cursor up key is for.

And I guess I still don't understand your issue with delete. Could you give me a step by step example of how you want it to work but can't seem to?  Besides the one about the move cursor left not moving up because it's not supposed to.

TheQuirk:
lets say  I have four letters..

A
BCD[crusor]

if I press the backspace key four times, it will only go three spaces becuse that's where the line begins.

Navigation

[0] Message Index

[#] Next page

Go to full version