Top "Vim" questions

Vim is a free and open-source modal text editor available for most major platforms.

"Find next" in Vim

To search forward in Vim for cake, I'd type /cake, but the cursor jumps to the first match when I …

vim editing
Replace tabs with spaces in vim

I would like to convert tab to spaces in gVim. I added the following line to my _vimrc: set tabstop=2 …

vim vi
What does ^M character mean in Vim?

I keep getting ^M character in my vimrc and it breaks my configuration.

unix vim
How to get the list of all installed color schemes in Vim?

Is there a way to get a list of all installed color schemes in Vim? That would make very easy …

list vim color-scheme
How do I do redo (i.e. "undo undo") in Vim?

In Vim, I did too much undo. How do I undo this (that is, redo)?

vim undo redo
What is Vim recording and how can it be disabled?

I keep seeing the recording message at the bottom of my gVim 7.2 window. What is it and how do I …

vim
How can I quickly delete a line in VIM starting at the cursor position?

I want to be able to delete the remainder of the line I'm on starting at the cursor's position in …

vim
How do I run a terminal inside of Vim?

I am used to Emacs, but I am trying out Vim to see which one I like better. One thing …

vim
See line breaks and carriage returns in editor

Does anyone know of a text editor on Linux that allows me to see line breaks and carriage returns? Does …

vim newline text-editor line-breaks carriage-return
How do I fix the indentation of an entire file in Vi?

In Vim, what is the command to correct the indentation of all the lines? Often times I'll copy and paste …

vim vi indentation