Top "Vi" questions

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

Change File Encoding to utf-8 via vim in a script

i just got knocked down after our server has been updated from Debian 4 to 5. We switched to UTF-8 environment and …

file encoding utf-8 vi character-encoding
Vim yanking range of lines

I'm a C# developer who has just recently decided to expand my knowledge of the tools available to me. The …

vim editor range vi yank
vim backspace leaves ^?

In Vim, when I hit the backspace key in the insert mode, it leaves ^? character and does not delete the …

vim vi backspace keymapping
How to copy from current position to the end of line in vi

I use gvim in windows. How to copy text from current position to the end of line in vi and …

vim vi
Linux vi arrow keys broken in insert mode

My arrow keys don't work in vi in insert mode at home, they just each insert a newline and a …

linux vim vi
How can I insert text in the middle of the line to multiple lines in Vim?

Say I have ten lines and I want to prepend text to some word that occurs in those lines? It …

vim vi
What is the best way to force yourself to master vi?

A good while ago, I read an article by the creator of viemu, clearing up a lot of the misconceptions …

vim editor text-editor vi
How do you open a file from within Vim?

I know how to open a file in Vim from a terminal (vim fileName). What I can't figure out is …

vim vi
Hide all (not)matching lines in Vim

Is it possible to show/hide all matching lines in vi or Vim? Not highlight but just show only those …

vim vi
Copy from Putty/Vim visual mode to windows clipboard

I currently have a vim session open in Putty, and I've selected everything in the file via visual mode. Normally …

vim vi putty