Wikia

Vim Tips Wiki

Changes: Vim IRC FAQ

Edit

Back to page

(update link to FAQ)
(Change <tt> to <code>, perhaps also minor tweak.)
 
Line 3: Line 3:
 
|previous=1581
 
|previous=1581
 
|next=1583
 
|next=1583
|created=February 16, 2008
+
|created=2008
 
|complexity=basic
 
|complexity=basic
 
|author=Metacosm
 
|author=Metacosm
Line 30: Line 30:
 
*How can Vim work with Visual Studio .Net? [[Integrate gvim with Visual Studio]]
 
*How can Vim work with Visual Studio .Net? [[Integrate gvim with Visual Studio]]
 
*How can I get diff to work properly in the MS Windows port of Vim? [[Fix error E97 Cannot create diffs under Windows|Cannot create diffs under Windows]]
 
*How can I get diff to work properly in the MS Windows port of Vim? [[Fix error E97 Cannot create diffs under Windows|Cannot create diffs under Windows]]
*How can I make keywords autocompletable when creating a new C source file? Make sure Vim knows it is a C file. For example, open it with <tt>:e main.c</tt>, not just <tt>:enew</tt>.
+
*How can I make keywords autocompletable when creating a new C source file? Make sure Vim knows it is a C file. For example, open it with <code>:e main.c</code>, not just <code>:enew</code>.
 
*How can I get Visual Studio like completion (i.e. Intellisense) in Vim? [[Omni completion]]
 
*How can I get Visual Studio like completion (i.e. Intellisense) in Vim? [[Omni completion]]
 
*How can I delete parens that surround text? See ''Surround'' at [[Vim_scripts#Best_plugins|Best plugins]]
 
*How can I delete parens that surround text? See ''Surround'' at [[Vim_scripts#Best_plugins|Best plugins]]
Line 36: Line 36:
 
*How can I avoid pressing the Escape key to exit from insert mode? [[Avoid the escape key]]
 
*How can I avoid pressing the Escape key to exit from insert mode? [[Avoid the escape key]]
 
*How do I edit GPG encrypted files in Vim? [[Edit gpg encrypted files]]
 
*How do I edit GPG encrypted files in Vim? [[Edit gpg encrypted files]]
*When using encryption, is all my data encrypted? No. {{help|encryption}} explains that only the file written to disk is encrypted, and there are various possibilities for plain text information to be visible to others. For example, you may want to change your <tt>'viminfo'</tt> option so that information in registers is ''not'' saved to disk.
+
*When using encryption, is all my data encrypted? No. {{help|encryption}} explains that only the file written to disk is encrypted, and there are various possibilities for plain text information to be visible to others. For example, you may want to change your <code>'viminfo'</code> option so that information in registers is ''not'' saved to disk.
   
 
==Documentation guide==
 
==Documentation guide==
Line 70: Line 70:
 
*{{help|'copyindent'}}
 
*{{help|'copyindent'}}
 
*{{help|'preserveindent'}}
 
*{{help|'preserveindent'}}
*{{help|sub-replace-special}} why <tt>\n</tt> doesn't do what you want in <tt>:s///</tt>
+
*{{help|sub-replace-special}} why <code>\n</code> doesn't do what you want in <code>:s///</code>
   
 
;Not indenting when pasting
 
;Not indenting when pasting

Latest revision as of 06:35, July 13, 2012

Tip 1582 Printable Monobook Previous Next

created 2008 · complexity basic · author Metacosm · version 7.0


The #vim community started this FAQ to help solve some common problems enountered by new users of Vim.

Common issuesEdit

Documentation guideEdit

Using help
Searching
Backspace behavior
  • :help 'bs' how to backspace over line-endings and more
Do something to all lines matching a pattern
Format options
End-of-line problems (^M is displayed)
Indenting
Not indenting when pasting
Display invisible characters (tabs, newlines and more)
Show matching braces

Other sourcesEdit

  • Vim FAQ this supersedes previous FAQ at sourceforge

CommentsEdit

Around Wikia's network

Random Wiki