Top "Vim" questions

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

How do I change tab size in Vim?

Every time I add a selector in CSS and I press Enter to define the properties it ends up like …

vim tabs
What are the benefits of learning Vim?

As a programmer I spend a lot of hours at the keyboard and I've been doing it for the last 12 …

vim editor
How can I change a file's encoding with vim?

I'm used to using vim to modify a file's line endings: $ file file file: ASCII text, with CRLF line terminators $ …

vim unicode
How to use vim in the terminal?

How does one setup and start using vim in the terminal on OS X? I want to start writing my …

macos vim terminal
Why does using from __future__ import print_function breaks Python2-style print?

I am new at programming with python, and I am trying to print out with a separator and end but …

python python-2.7 loops vim python-import
Jump to function definition in vim

How can I jump to to a function definition using vim? For example with Visual Assist, I can type Alt+…

function vim
How do I close a single buffer (out of many) in Vim?

I open several files in Vim by, for example, running vim a/*.php which opens 23 files. I then make my …

vim buffer
How to set default vim colorscheme

The latest upgrade of Ubuntu made my vim colorscheme unusable. I know how to set it manually (:colo evening, for …

vim color-scheme
How do I switch between command and insert mode in Vim?

I just started using Vim as an IDE. I was using it as a test editor for a while now, …

vim insert command
What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim?

What is the difference between the remap, noremap, nnoremap and vnoremap mapping commands in Vim?

vim mapping command