On Wed, Oct 7, 2015 at 8:30 AM, Nguyen Tien Thanh <[email protected]
> wrote:

> @Tanjoodo <https://github.com/Tanjoodo> The two lines above are my .vimrc
> file . To reproduce, do
>
> source ~/.vimrc
>
> Actually it happens with any .vimrc that has a comment line.
>
Normally, Vim itself will source the ~/.vimrc at startup (so you don't need
to source it explicitly); but as others said, the vimrc is a vim script,
not a bash or zsh script.

To start Vim from the shell, just use

    vim

or (if some GUI such as X11 or Windows or … is running)

    gvim

in both cases with possible arguments, for instance

    gvim +123 filename.ext

to start gvim with the cursor at line 123 of file "filename.ext"

If you have set the appropriate symlinks, other names are possible, for
instance

    gvimdiff file1.c file2.c

to start gvim in diff mode on the C sources file1.c and file2.c; or

    view /usr/local/share/vim/vim74/syntax/vim.vim

(on Unix, Linux, etc. with a default install after an own-compile) to view
the Vim 7.4 syntax script for Vim script in read-only mode


See :help starting.txt


Best regards,
Tony.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui