The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
3answers
43 views

How to Copy words highlighted after search directly into command line with shortcut?

Here is the situation, for example, I have several lines like this: foo test foo I searched "foo" with "/" and all the two "foo"s above are highlighted. And now I want to replace "foo" with ...
1
vote
2answers
47 views

vim : delete from cursor to _

in some case I have name of variables with a _ like hello_world. in vim, in normal mode, with dw, I can delete from cursor position to end of word. How I can delete from current cursor position to - ...
4
votes
2answers
521 views

Repeat last normal mode command, including moves, in Vim

In Vim, with ., I can repeat the last normal mode command; for example: dd. deletes a line twice. But, if I type 5j. the cursor does't move 10 lines down. How do I repeat the last normal mode ...
1
vote
1answer
102 views

Vim: Make f (t,F,T) continue on line breaks

I just found out about f and its siblings (t,F,T) and naturally I am intrigued (they seem slightly more efficient than using / - especially with commands like d). But they do not follow line breaks. ...
5
votes
3answers
8k views

Change screen resolution while in safe mode for normal mode

A screen of mine burnt out, and was replaced with a screen of lower resolution. It works in safe mode as that is in 800x600 resolution, but when I try to boot to normal mode, it fails. Is there a way ...
0
votes
2answers
822 views

Make VIM normal-mode cursor sit between characters instead of on them

I would really like it if the VIM cursor in normal mode could act like it does in insert mode: a line between two characters. So for example: - Typing vd would have no effect because nothing was ...
2
votes
1answer
948 views

Windows Vista hangs when network cable is plugged in

My sister-in-law has a Dell Inspiron 545MT with Windows Vista Home Premium installed on it. Since this morning, they have the following problem; Booting in Normal Mode with the network cable plugged ...
10
votes
4answers
3k views

How to join every second line in Vim?

I'd like to join a lot (~1000) of lines, but only every odd with the next one. By hand I could do Jj 500 times and have it done. However, how can I execute these two statements 500 times in one ...