Top "Vi" questions

vi is a family of text mode-oriented text editors.

Navigate to next conflict with vimdiff

In vimdiff you can use [c and ]c to go to the previous or next change, but when doing three-way …

vim vi merge-conflict-resolution vimdiff
Yank lines from one file in vi ( not vim ) to another?

I'm used to VIM and usually I split screen with and open another file, yank the text into the second …

copy vi paste
Vim - yank into search register

Is there any easy/quick way to "yank" into vim's "last search" register ("/)? From the vim documentation, it appears that …

vim editor vi
Vim "show my last command" command?

Is there a command which shows what was the last command in normal mode? Suppose I accidently hit random key …

vim vi
How to paste over without overwriting register

Does anyone know of a way to paste over a visually selected area without having the selection placed in the …

vim vi
How to display the current process tree of a bash session?

I would like to create a bash alias that gives me the process tree from the current bash session I …

bash process vi ps
Vi/Vim restore opened files

I was wondering if this common IDE feature is available. Suppose I open many files using Vim, using vsplit and …

vi vim
Sort numerically in VI editor

Possible Duplicate: How to sort numeric and literal columns in Vim I have to sort the below lines based on …

vim text-editor vi
vi: Line too long

When I use vi to analyze log files, it sometimes is stuck with the error: 'Line too long'. I can …

linux unix vi hp-ux
How to split text into multiple lines based on a pattern using Vim?

Suppose you have this text: name1 = "John"; age1 = 41; name2 = "Jane"; age2 = 32; name3 = "Mike"; age3 = 36; ... and you want to split each …

vim newline vi line-breaks substitution