Saturday, October 25, 2014

Re: starting vim with defined options



On Saturday, October 25, 2014, Tim Chase <vim@tim.thechases.com> wrote:
On 2014-10-25 12:39, Máté Timár wrote:
> I'm a beginner in using vim,

Welcome aboard!  We hope you find the adventure both fun and
productive.

> How can I launch vim via terminal (I have ubuntu) with my favourite
> options? When I open vim i have to set my favourite options all the
> time (like :colorscheme delek , :imap <TAB> <C-N> and so on ) , and
> it would be nice if I could set these via terminal when I open vim.
> Like: vim option_1 option_2 .... file

It sounds like you want to put these sorts of options in in your
~/.vimrc (or your $HOME/_vimrc on Win32).

You can issue

  :help vimrc

and read up on all the useful things you can do there.

-tim

I echo Tim's welcome.  There are literally hundreds of example .vimrc files for your perusing pleasure floating around on github.com as well. If your looking for ideas/inspiration.  

Good luck!!

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Ethan Alan

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: