Top "Vim" questions

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

How to duplicate a whole line in Vim?

How do I duplicate a whole line in Vim in a similar way to Ctrl+D in IntelliJ IDEA/ Resharper …

eclipse vim editor keyboard-shortcuts vi
Make Vim show ALL white spaces as a character

I can't find a way to make Vim show all white spaces as a character. All I found was about …

vim whitespace vi hidden-characters
How to make vim paste from (and copy to) system's clipboard?

Unlike other editors, vim stores copied text in its own clipboard. So, it's very hard for me to copy some …

vim editor clipboard
Move cursor to end of file in vim

When I want the cursor to go to the end of the file (i.e. the end of the last …

vim
How to effectively work with multiple files in Vim

I've started using Vim to develop Perl scripts and am starting to find it very powerful. One thing I like …

vim vi
Where is my .vimrc file?

I have been using Vim, and I would really like to save my settings. The problem I am having is …

vim
Convert DOS line endings to Linux line endings in Vim

If I open files I created in Windows, the lines all end with ^M. How do I delete these characters …

linux vim file editor dos2unix
How to copy to clipboard in Vim?

Is it possible to copy to clipboard directly from Vim? yy only copies stuff to Vim's internal buffer. I want …

vim clipboard
Vim clear last search highlighting

After doing a search in Vim, I get all the occurrences highlighted. How can I disable that? I now do …

vim full-text-search highlight
How to do case insensitive search in Vim

I'd like to search for an upper case word, for example COPYRIGHT in a file. I tried performing a search …

search vim case-insensitive