Top "Vi" questions

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

Keyboard-only column block selection in GVim Win32, or why does Ctrl-Q not emulate Ctrl-V when mswin.vim is included?

I want to be able to select columnar blocks using only the keyboard when I use GVim on Windows, but …

windows windows-xp vi vim
Open last closed file in a new tab in Vim

I know I can open the last closed (:q) file in Vim by using :e#. This will open the file …

linux vim vi macvim
Why the dot (.) command is so useful in VIM?

I use VIM pretty regularly now but I never use the dot (.) command to repeat the previous action. I keep …

vim vi
How to compute the number of times word appeared in a file or in some range

Sometimes I want to see how many times a certain function is called in a file or a code block. …

vim vi text-processing
What is a way to read man pages in vim without using temporary files

I want to be able to read man pages in vim. For some reason, it seems that vim isn't able …

linux unix vim vi manpage
What's the point of viEmu plugin for Visual Studio?

This may sound a bit provocative but it actually is a real question. Feel free to edit if you don't …

visual-studio vim vi viemu
Using normal-mode motions in command-line mode in Vim

Is modal editing possible in command-line mode? Some examples: After writing !ls ~/foo/bar I want to db to delete …

vim vi
copy a line/multiple-lines from vi editor to cmd line

Is there a shortcut key to copy a line from vi editor and then paste it into a terminal. Currently …

linux ubuntu vim vi konsole
Omit 'Pattern not found' error message in Vim script

I added a function in my .vimrc that's just few search and replace commands. However if one of the patterns …

vim vi
How can I run ctags in a large code base?

Assuming I have a code directory structure as follows: /top /second /core a.pl b.pl c.pl /common d.…

linux vim cygwin vi ctags