Home
Best Of
Java
QnA
Learn
About
Search with AI
Vim questions & answers
Vim - Why does this pattern 'a.\{-}p\@!' not match?
Vim - How can I use '/' within a pattern, without escaping it?
Vim - How can I operate on a search match?
Vim - How do I delete all the trailing white space characters?
Vim - How do I replace all the occurrences of multiple consecutive space
Vim - How do I reduce a range of empty lines into one line only?
Vim - How do I delete all blank lines in a file? How do I remove all the
Vim - How do I yank text from one position to another position within a
Vim - When I yank some text into a register, how do I append the text to
Vim - How do I yank a complete sentence that spans over more than one line?
Vim - How do I yank all the lines containing a pattern into a buffer?
Vim - How do I add a line before each line with "pattern" in it?
Vim - How do I execute a command on all the lines containing a pattern?
Vim - Can I copy the character above the cursor to the current cursor
Vim - How do I insert the name of the current file into the current buffer?
Vim - How do I insert the contents of a Vim register into the current
Vim - How do I move the cursor past the end of line and insert some
Vim - How to replace the word under the cursor?
Vim - I have some numbers in a file. How do I increment or decrement the
Vim - How do I reuse the last used search pattern in a ":substitute"
Vim - How do I change the case of a string using the ":substitute"
Vim - How do I enter characters that are not present in the keyboard?
Vim - In insert mode, when I press the backspace key, it erases only the
Vim - I have a file which has lines longer than 72 characters terminated
Vim - How do I change the case (uppercase, lowercase) of a word or a
Vim - How do I replace non-printable characters in a file?
Vim - How do I remove duplicate lines from a buffer?
Vim - How do I prefix all the lines in a file with the corresponding line
Vim - How do I exchange (swap) two characters or words or lines?
Vim - How do I change the characters used as word delimiters?
Vim - How do I complete words or lines in insert mode?
Vim - I am using CTRL-P/CTRL-N to complete words in insert mode. How do I
Vim - How do I format a text paragraph so that a new line is inserted at
Vim - How do I format long lines in a file so that each line contains less
Vim - How do I join short lines to form a paragraph?
Vim - How do I format bulleted and numbered lists?
Vim - How do I indent lines in insert mode?
Vim - When I indent lines using the > or < key, the standard 8-tabstops are
Vim - How do I turn off the automatic indentation of text?
Vim - I am seeing a lot of ^M symbols in my file. I tried setting the
Vim - When I paste some text into a Vim buffer from another application,
Vim - When there is a very long wrapped line (wrap is "on") and a line
Vim - How do I convert all the tab characters in a file to space
Vim - What Vim options can I use to edit text that will later go to a word
Vim - How do I join lines without adding or removing any space characters?
Vim - How do I do rectangular block copying?
Vim - How do I apply an ex-command on a set of visually selected lines?
Vim - How do I execute an ex command on a column of text selected in Visual
Vim - When I visually select a set of lines and press the > key to indent
Vim - When I select text with mouse and then press colon to enter an ex
Vim - When I select a block of text using the mouse, Vim goes into
Vim - How do I visually select the last copy/pasted text?
Vim - How do I use the name of the current file in the command mode or an
Vim - How do I edit the text in the Vim command-line effectively?
Vim - How do I copy the output from an ex-command into a buffer?
Vim - When I press the tab key to complete the name of a file in the
Vim - How do I copy text from a buffer to the command line and from the
Vim - How do I put a command onto the command history without executing it?
Vim - How do I disable the viminfo feature?
Vim - How do I save and use Vim marks/commands across Vim sessions?
Vim - How do I open a file with existing instance of gvim? What happened to
Vim - Where can I get the documentation about the Vim remote server
Vim - How do I set an option that affects only the current buffer/window?
Vim - Can I add (embed) Vim option settings to the contents of a file?
Vim - How do I change the width of the line numbers displayed using the
Vim - What platforms does it run on?
Vim - How do I display (view) all the invisible characters like space, tabs
Vim - How do I make a Vim setting persistent across different Vim
Vim - Why do I hear a beep (why does my window flash) about 1 second after
Vim - How do I make the 'c' and 's' commands display a '$' instead of
Vim - How do I remove more than one flag using a single ":set" command
Vim - Where can I download the latest version of the Vim runtime files?
Vim - How do I know what a key is mapped to?
Vim - How do I unmap a previously mapped key?
Vim - I am not able to create a mapping for the
<xxx>
key. What is wrong?
Vim - Why does mapping the
<C-...>
key not work?
Vim - How do I map the numeric keypad keys?
Vim - How do I create a mapping that works only in visual mode?
Vim - How do I create a mapping that works only in normal and operator
Vim - In a Vim script, how do I know which keys to use for my mappings, so
Vim - How do I use the help files?
Vim - I want to use the Tab key to indent a block of text and Shift-Tab
Vim - In my mappings the special characters like <CR> are not recognized.
Vim - How do I use the '|' to separate multiple commands in a map?
Vim - If I have a mapping/abbreviation whose ending is the beginning of
Vim - Why does it take a second or more for Vim to process a key,
Vim - How do I map a key to run an external command using a visually
Vim - How do I map the Ctrl-I key while still retaining the functionality
Vim - How can I make my normal mode mapping work from within Insert
Vim - How do I search for a keyword in the Vim help files?
Vim - How do I auto correct misspelled words?
Vim - How do I create multi-line abbreviations?
Vim - When my abbreviations are expanded, an additional space character is
Vim - How do I insert the current date/time stamp into the file?
Vim - How I record and repeat a set of key sequences?
Vim - How do I edit/modify a recorded set of key sequences?
Vim - How do I write recorded key sequences to a file?
Vim - I am using register 0 to record my key sequences (i.e. q0 .... q).
Vim - How do I execute a command when I try to modify a read-only file?
Vim - From an autocmd, how can I determine the name of the file or the
Vim - How do I turn off/on syntax highlighting?
Vim - How do I change the background and foreground colors used by Vim?
Vim - How do I change the highlight colors to suit a dark/light background?
Vim - How do I change the color of the line numbers displayed when the
Vim - How do I highlight the special characters (tabs, trailing spaces, end
Vim - Vim syntax highlighting is broken. When I am editing a file, some
Vim - Is there a built-in function to syntax-highlight the corresponding
Vim - How do I add my own syntax extensions to the standard syntax files
Vim - How do I replace a standard syntax file that comes with the Vim
Vim - How do I highlight all the characters after a particular column?
Vim - How can I embed one syntax highlighting language into another one?
Vim - How do I save and restore a plugin specific information across Vim
Vim - How do I change the cursor position from within a Vim function?
Vim - How do I check the value of an environment variable in the .vimrc
Vim - How do I call/use the Vim built-in functions?
Vim - I am using some normal mode commands in my Vim script. How do I
Vim - How do I get the current visually selected text into a Vim variable
Vim - I have some text in a Vim variable
'myvar'
. I would like to use this
Vim - A Vim variable (bno) contains a buffer number. How do I use this
Vim - How do I store the value of a Vim option into a Vim variable?
Vim - How do I get the character under the cursor from a Vim script?
Vim - How do I get the name of the current file without the extension?
Vim - How do I load a file in Vim for editing?
Vim - How do I get the output from a Vim function into the current buffer?
Vim - How do I call external programs from a Vim function?
Vim - How do I determine whether the current buffer is modified or not?
Vim - I would like to use the carriage return character in a normal
Vim - How do I split long lines in a Vim script?
Vim - When I try to "execute" my function using the "execute Myfunc()"
Vim - After calling a Vim function or a mapping, when I press the 'u'
Vim - How do I save the current file in another name (save as) and edit a
Vim - How can I call a function defined with s (script local function)
Vim - How do I set different options for different types of files?
Vim - I have downloaded a Vim plugin or a syntax file or a indent file, or
Vim - How do I extend an existing filetype plugin?
Vim - How do I turn on/off loading the filetype plugins?
Vim - How do I override settings made in a file type plugin in the global
Vim - How do I set the filetype option for files with names matching a
Vim - How do I change the current directory to the directory of the current
Vim - How do I turn off the automatic indentation feature?
Vim - I am editing a C program using Vim. How do I display the definition
Vim - When editing C++ files and when inserting new lines above or below a
Vim - How do I add the comment character '#' to a set of lines at the
Vim - How do I edit a header file with the same name as the corresponding C
Vim - How do I automatically insert comment leaders while typing comments?
Vim - How do I write a file without the line feed (EOL) at the end of the
Vim - When I run the make command in Vim I get the errors listed as the
Vim - How can I perform a command for each item in the quickfix/location
Vim - How do I extend the Vim folding support?
Vim - How do I control how many folds will be opened when I start editing a
Vim - How do I store and restore manually created folds across different
Vim - I have enabled syntax based folding. Why is Vim so slow?
Vim - How do I configure Vim to open a file at the last edited location?
Vim - Can I run a shell inside a Vim window?
Vim - How do I get the output of a shell command into a Vim buffer?
Vim - How do I pipe the contents of the current buffer to an external
Vim - How do I sort a section of my file?
Vim - How do I view Unix man pages from inside Vim?
Vim - How do I use the Vim diff mode without folding?
Vim - How do I create buffer specific menus?
Vim - When editing a file in Vim, which is being changed by an external
Vim - How do I change the font used by GUI Vim?
Vim - I am using GUI Vim. When I press the ALT key and a letter, the menu
Vim - Is it possible to scroll the text by dragging the scrollbar so that
Vim - For some questions, like when a file is changed outside of Vim, Vim
Vim - I am trying to use GUI Vim as the editor for my xxx application.
Vim - How do I edit a file whose name is under the cursor?
Vim - How do I change the location and size of a GUI Vim window?
Vim - When splitting the Vim window vertically, Vim changes the position.
Vim - I am running Vim in a xterm. When I press the
CTRL-S
key, Vim
Vim - I am using the terminal/console version of Vim. In insertmode, When I
Vim - I am using Vim in a xterm. When I quit Vim, the screen contents are
Vim - When I start Vim, it takes quite a few seconds to start. How do I
Vim - How do I reload/re-edit the current file?
Vim - How do I prevent
<Ctrl-Z>
from suspending Vim?
Vim - When I kill the xterm running Vim, the Vim process continues to run
Vim - How do I get the Vim syntax highlighting to work in a Unix terminal?
Vim - In MS-Windows, CTRL-V doesn't start the blockwise visual mode. What
Vim - When I press the CTRL-Y key, it acts like the CTRL-R key. How do I
Vim - After doing some editing operations, Vim freezes. The cursor becomes
Vim - I am using Windows XP, the display speed of maximized GVim is very
Vim - What are the recommended settings for using Vim with cygwin?
Vim - I am trying to use GNU diff with Vim diff mode. When I run the diff
Vim - Is it possible to use Vim as an external editor for MS-Windows
Vim - Where do I place the _vimrc and _gvimrc files?
Vim - Every time I save a file, Vim warns about the file being changed
Vim - How do I build Vim from the sources on a Unix system?
Vim - How do I open a file in read-only mode?
Vim - How do I install Vim in my home directory or a directory other
Vim - How do I build Vim from the sources on a MS-Windows system?
Vim - The Vim help, syntax, indent files are missing from my Vim
Vim - I have built Vim from the source and installed the Vim package using
Vim - How do I determine the Vim features which are enabled at compile
Vim - When building Vim on a Unix system, I am getting "undefined reference
Vim - Vim configure keeps complaining about the lack of gtk-config while
Vim - I did successfully download the sources and compiled Vim on
Vim - How do I edit binary files with Vim?
Vim - How do I open a file for editing without saving the modifications to
Vim - How do I avoid the "hit enter to continue" prompt?
Vim - How do I invoke Vim from command line to run a group of commands on a
Vim - How do I use a normal mode command from insert mode without leaving
Vim - How do I start Vim in insert mode?
Vim - How do I use Copy and Paste with Vim?
Vim - Why shouldn't I modify the files in the system runtime directory?
Vim - How do I reduce the loading time for very large files in Vim?
Vim - Is it possible to create Unicode files using Vim?
Vim - How does Vim name the various Unicode encodings?
Vim - How does Vim specify the presence or absence of a byte-order mark?
Vim - What is the 'fileencodings' option?
Vim - What is the 'bomb' option?
Vim - How do I open multiple files at once from within Vim?
Vim - How can I insert Unicode characters into a file using Vim?
Vim - How can I know which digraphs are defined and for which characters?
Vim - Where do I place the _vimrc and _gvimrc files?
Vim - Every time I save a file, Vim warns about the file being changed
Vim - How do I print a file with the Vim syntax highlighting colors?
Vim - How do I build Vim from the sources on a Unix system?
Vim - How do I install Vim in my home directory or a directory other
Vim - How do I build Vim from the sources on a MS-Windows system?
Vim - How do I switch between multiple files/buffers in Vim?
Vim - The Vim help, syntax, indent files are missing from my Vim
Vim - I have built Vim from the source and installed the Vim package using
Vim - How do I determine the Vim features which are enabled at compile
Vim - When building Vim on a Unix system, I am getting "undefined reference
Vim - Vim configure keeps complaining about the lack of gtk-config while
Vim - I did successfully download the sources and compiled Vim on
Vim - How do I edit binary files with Vim?
Vim - How do I open several files in Vim, with each file in a separate
Vim - How do I avoid the "hit enter to continue" prompt?
Vim - How do I invoke Vim from command line to run a group of commands on a
Vim - How do I use a normal mode command from insert mode without leaving
Vim - How do I start Vim in insert mode?
Vim - How do I use Copy and Paste with Vim?
Vim - Why shouldn't I modify the files in the system runtime directory?
Vim - Is it possible to create Unicode files using Vim?
Vim - How do I configure Vim to autoload several files at once similar to
Vim - How does Vim name the various Unicode encodings?
Vim - How does Vim specify the presence or absence of a byte-order mark?
Vim - What is the 'fileencodings' option?
Vim - What is the 'bomb' option?
Vim - How can I insert Unicode characters into a file using Vim?
Vim - Is it possible to open multiple top level windows in a single instance
Vim - How can I know which digraphs are defined and for which characters?
Vim - What is Vim?
Vim - Is Vim compatible with Vi?
Vim - What are some of the improvements of Vim over Vi?
Vim - Where can I find the latest version of Vim?
Vim - How do I browse/explore directories from within Vim?
Vim - How do I edit files over a network using ftp/scp/rcp/http?
Vim - When I edit and save files, Vim creates a file with the same name as
Vim - When I edit and save files, Vim creates a file with the same name as
Vim - How do I configure Vim to store all the backup files in a particular
Vim - When I save a file with Vim, the file permissions are changed.
Vim - I have made some modifications to a buffer. How do I edit another
Vim - How do I open all the current buffers in separate windows?
Vim - When I use the command ":%bd" to delete all the buffers, not all are deleted
Vim - How do I display the buffer number of the current buffer/file?
Vim - How do I map the tab key to cycle through and open all the buffers?
Vim - What is the difference between a Vim window and a buffer?
Vim - How do I increase the width of a Vim window?
Vim - How do I zoom into or out of a window?
Vim - How do I execute an ex command on all the open buffers or open windows
Vim - How do I jump to the beginning (first line) or end (last line) of a file?
Vim - In insert mode, when I press the <Esc> key to go to command mode, the
Vim - How do I configure Vim to maintain the horizontal cursor position when
Vim - Some lines in a file are more than the screen width and they are all
Vim - What is the definition of a sentence, paragraph and section in Vim?
Vim - How do I jump to beginning or end of a sentence, paragraph or a section?
Vim - I have lines in a file that extends beyond the right extent of the
Vim - When I use my arrow keys, Vim changes modes, inserts weird characters
Vim - How do I configure Vim to move the cursor to the end of the previous
Vim - How do I configure Vim to stay only in insert mode (modeless editing)
Vim - How do I go back to previous cursor locations?
Vim - After I searched for a text with a pattern, all the matched text
Vim - How do I enter a carriage return character in a search pattern?
Vim - How can I search/replace characters that display as '~R', '~S', etc.?
Vim - How do I search for the current word under the cursor?
Vim - How do I search for a word without regard to the case (uppercase or
Vim - How do I search for words that occur twice consecutively?
Vim - How do I count the number of times a particular word occurs in a
Vim - How do I search and replace a string in multiple files?
Vim - I am using the ":s" substitute command in a mapping. When a search
Vim - How do I search for the n-th occurrence of a character in a line?
Vim - How do I replace a tab (or any other character) with a hard return
Vim - How do I search for a character by its ASCII value?
Vim - How do I search for long lines?
Vim - How do I display all the lines in the current buffer that contain a
Vim - How do I search for a text string that spans multiple lines?
Vim - How do I clear the last searched pattern?
Vim questions & answers
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE
Reply
Speak Your Mind
Cancel reply
Leave blank if you are a human and not robut
Send Comment
-->
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE