Vim Tips Wiki
(Changed a link to a better tip.)
(tweak and fix links for moved tips (more to do))
Line 11: Line 11:
 
|category2=
 
|category2=
 
}}
 
}}
If you can't find an answer to your problem on the Vim Wiki -- try the #Vim IRC channel on http://freenode.net.
+
If you can't find an answer to your problem on the Vim Wiki try the #Vim IRC channel on http://freenode.net.
   
To help centralize the vim.wikia.com site as the place to go for Vim Wiki support. I am currently moving the best articles from http://vi-improved.org over to this wiki.
+
To help centralize the vim.wikia.com site as the place to go for Vim Wiki support, [[User:Metacosm|Metacosm]] has moved the best articles from http://vi-improved.org to this wiki.
   
 
==General==
 
==General==
* [[New to Vim|New to Vim?]]
+
*[[New to Vim|New to Vim?]]
* [[Best Plugins]]
+
*[[Best Plugins]]
* [[Best Tips]]
+
*[[Quick tips]]
* [[Vim IRC FAQ]]
+
*[[Vim IRC FAQ]]
* [[Tutorial Commands]] (reference version of http://vi-improved.org/tutorial.php)
+
*[[Tutorial]] (reference version of http://vi-improved.org/tutorial.php)
* [[Super Retab]] -- a #vim special
+
*[[Super retab]]
   
==Answered Questions==
+
==Answered questions==
* Vim is confusing, where do I start? [[New to Vim]], [[Vim Tutor]], [http://vi-improved.com/tutorial.php Vi-Improved.org Tutorial]
+
*Vim is confusing, where do I start? [[New to Vim]], [[Vim Tutor]], [http://vi-improved.com/tutorial.php Vi-Improved.org Tutorial]
* How do I record a macro? [[Make a Macro]]
+
*How do I record a macro? [[Make a Macro]]
* How do I edit GPG encrypted files in Vim? [[Vim Gpg]]
+
*How do I edit GPG encrypted files in Vim? [[Edit gpg encrypted files]]
* How do I reselect the visual range I just used? [[Reselect Visual Block]]
+
*How do I reselect the visual range I just used? [[Reselect Visual Block]]
* How do I change the GUI Font (and make those changes stick)? [[Change GUI Font]]
+
*How do I change the GUI Font (and make those changes stick)? [[Change font]]
* How do I make backspace work like in other editors? [[Fix Backspace]]
+
*How do I make backspace work like in other editors? [[Fix Backspace]]
* How do I fix syntax highlighting problems? [[Fix Syntax Highlighting]]
+
*How do I fix syntax highlighting problems? [[Fix Syntax Highlighting]]
* How do I paste in code without having all the indenting screwed up? [[Paste Indent Problems]]
+
*How do I paste in code without having all the indenting screwed up? [[Paste Indent Problems]]
* How do I insert the current date/time into my file? [[Insert current date or time]]
+
*How do I insert the current date/time into my file? [[Insert current date or time]]
* How do I make the options I set STAY set? [[Where Are My Settings]]
+
*How do I make the options I set STAY set? [[Debug unexpected option settings]]
* How can you read/write system environment variables from within Vim? [[Read Write System Enviroment Variables]]
+
*How can you read/write system environment variables from within Vim? [[Environment variables]]
* How can I dump my file to html looking EXACTLY as it currently does (syntax highlighting at all)? [[To Html]]
+
*How can I dump my file to html looking EXACTLY as it currently does (syntax highlighting at all)? [[To Html]]
* How to tell Vim to save as a new file when the file is hardlinked? [[New When Hardlinked]]
+
*How to tell Vim to save as a new file when the file is hardlinked? [[Editing a hard link to a file]]
* How can I fix the line-endings in this file? [[File Format]]
+
*How can I fix the line-endings in this file? [[File format]]
* How to exchange the current line with the line above/below? [[Switch Lines]]
+
*How to exchange the current line with the line above/below? [[Switch Lines]]
* How come Visual Studio .Net has been out for years now (yes, multiple) yet VisVim "still" does not work for it? Is there some huge technical difficulty or is there just an overall lack of interest? [[Vis Vim Disinterest]]
+
*How come Visual Studio .Net has been out for years now (yes, multiple) yet VisVim "still" does not work for it? Is there some huge technical difficulty or is there just an overall lack of interest? [[Vis Vim Disinterest]]
* How can I get diff to work properly in the MS Windows port of Vim? [[Vim Diff]]
+
*How can I get diff to work properly in the MS Windows port of Vim? [[Vim Diff]]
* 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? [[Surrounding Parens]]
+
*How can I delete parens that surround text? [[Surrounding Parens]]
   
==Unanswered Questions==
+
==Unanswered questions==
* How can I make keywords autocompletable when creating a new C source file?
+
*How can I make keywords autocompletable when creating a new C source file?
* How can I redirect stderr output in Windows ? I have problem setting makeprg with a compiler whose error messages can't be catch with '>'.
+
*How can I redirect stderr output in Windows ? I have problem setting makeprg with a compiler whose error messages can't be catch with '>'.
* For encrypted files, the help for encryptions states: "Text you copy or delete goes to the numbered registers. The registers can be saved in the .viminfo file, where they could be read. Change your 'viminfo' option to be safe." Wouldn't it be a lot better if Vim by default would not write all your sensitive information to the viminfo file?
+
*For encrypted files, the help for encryptions states: "Text you copy or delete goes to the numbered registers. The registers can be saved in the .viminfo file, where they could be read. Change your 'viminfo' option to be safe." Wouldn't it be a lot better if Vim by default would not write all your sensitive information to the viminfo file?
* Why do letters show up when I try to enter numbers from the keypad? -or- Why doesn't the numpad work as expected?
+
*Why do letters show up when I try to enter numbers from the keypad? -or- Why doesn't the numpad work as expected?
   
==Other Sources==
+
==Other sources==
* http://vimdoc.sourceforge.net/vimfaq.html
+
*http://vimdoc.sourceforge.net/vimfaq.html
   
 
==Comments==
 
==Comments==

Revision as of 01:17, 22 March 2009

Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).

Please use new tips to discuss whether this page should be a permanent tip, or whether it should be merged to an existing tip.
created February 16, 2008 · complexity basic · author Metacosm · version 7.0

If you can't find an answer to your problem on the Vim Wiki – try the #Vim IRC channel on http://freenode.net.

To help centralize the vim.wikia.com site as the place to go for Vim Wiki support, Metacosm has moved the best articles from http://vi-improved.org to this wiki.

General

Answered questions

Unanswered questions

  • How can I make keywords autocompletable when creating a new C source file?
  • How can I redirect stderr output in Windows ? I have problem setting makeprg with a compiler whose error messages can't be catch with '>'.
  • For encrypted files, the help for encryptions states: "Text you copy or delete goes to the numbered registers. The registers can be saved in the .viminfo file, where they could be read. Change your 'viminfo' option to be safe." Wouldn't it be a lot better if Vim by default would not write all your sensitive information to the viminfo file?
  • Why do letters show up when I try to enter numbers from the keypad? -or- Why doesn't the numpad work as expected?

Other sources

Comments