Talk:Learning the vi editor/Vim

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

I just started using vim. I've been trying to setup my _vimrc file in windows, and have found it frustrating. All I want to do for now is set a few environment variables, tabstop, wrap, expandtab. But when I create a file with these settings, the text hilighting and other default settings are erased. I think this document should show how to create a _vimrc file that leaves all default settings and allows you to add just your changes. Golden Eternity 23:09, 19 March 2006 (UTC)Golden_Eternity

While this a Book not a Forum I still give you a hint: Prehaps there is a syntax error in your _vimrc - this might prevent the system from reading succesive setups. Help in Fixes:
  1. Try :source % - this will read the file without the need to restart.
  2. Use :messages after start - this will show last 10 errormessages and there should not be any after a fresh start ;-).
--Krischik T 07:24, 20 March 2006 (UTC) (Note to self: add hints to main page)


(My guess) Maybe you are deactivating "vimrc_example.vim". This file comes with Vim and has many useful defaults. If you create a _vimrc, you should :source vimrc_example.vim or copy the parts of it that interest you. -- anonymous

[edit] Merge Proboposal

See Talk:Vim_Tipbook#Merge_Proposal...

[edit] Contents?

Why does this page have two tables of contents, one at the top and one in the page?