If you want to write settinsg per one line.

set smartindent set tabstop=2 set shiftwidth=2 set expandtab

This should be:

set smartindent tabstop=2 shiftwidth=2 expandtab

On Friday, June 14, 2013 10:36:44 AM UTC+9, Zulox4 wrote:
> Hello,
> 
> When Vim 7.3.1189 win32 console start it display this error (the next five 
> lines) :
> 
> C:\Vim_20130614_1189\vim\src>vim
> Error detected while processing C:\Users\vim7user_win7sp1\.vimrc:
> line    1:
> E518: Unknown option: set
> Press ENTER or type command to continue
> 
> 
> My .vimrc file have one line:
> 
> set smartindent set tabstop=2 set shiftwidth=2 set expandtab
> 
> 
> :ver
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 14 2013 00:32:19)
> MS-Windows 32-bit console version
> Included patches: 1-1189
> Compiled by vim7user_win7sp1@win7sp1-PC
> Huge version without GUI.  Features included (+) or not (-):
> +arabic          +ex_extra        -mouseshape      +tag_binary
> +autocmd         +extra_search    +multi_byte      +tag_old_static
> -balloon_eval    +farsi           +multi_lang      -tag_any_white
> -browse          +file_in_path    -mzscheme        -tcl
> ++builtin_terms  +find_in_path    -netbeans_intg   -tgetent
> +byte_offset     +float           +path_extra      -termresponse
> +cindent         +folding         -perl            +textobjects
> +clientserver    -footer          +persistent_undo +title
> +clipboard       -gettext         -postscript      -toolbar
> +cmdline_compl   -hangul_input    +printer         +user_commands
> +cmdline_hist    +iconv/dyn       +profile         +vertsplit
> +cmdline_info    +insert_expand   -python          +virtualedit
> +comments        +jumplist        -python3         +visual
> +conceal         +keymap          +quickfix        +visualextra
> +cryptv          +langmap         +reltime         +viminfo
> +cscope          +libcall         +rightleft       +vreplace
> +cursorbind      +linebreak       -ruby            +wildignore
> +cursorshape     +lispindent      +scrollbind      +wildmenu
> +dialog_con      +listcmds        +signs           +windows
> +diff            +localmap        +smartindent     +writebackup
> +digraphs        -lua             -sniff           -xfontset
> -dnd             +menu            +startuptime     -xim
> -ebcdic          +mksession       +statusline      -xterm_save
> +emacs_tags      +modify_fname    -sun_workshop    -xpm_w32
> +eval            +mouse           +syntax
>    system vimrc file: "$VIM\vimrc"
>      user vimrc file: "$HOME\_vimrc"
>  2nd user vimrc file: "$HOME\vimfiles\vimrc"
>  3rd user vimrc file: "$VIM\_vimrc"
>       user exrc file: "$HOME\_exrc"
>   2nd user exrc file: "$VIM\_exrc"
> Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   
> -DFEAT_CSCO
> PE       -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjCi386/ /Ox /GL 
> -DNDEBUG
>  /Zl /MT -DDYNAMIC_ICONV -DFEAT_HUGE /Fd.\ObjCi386/ /Zi
> Linking: link /RELEASE /nologo /subsystem:console /map /mapinfo:lines 
> /LTCG:STAT
> US oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib 
> ol
> e32.lib uuid.lib /machine:i386 /nodefaultlib  libcmt.lib   user32.lib
>   /PDB:vim.pdb -debug
> 
> Best regards !

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui