Sunday, August 29, 2010

RE: Writing a configuration file in vim script

Gusman wrote:
> "Can I create/write/read/delete file using vim script as
> other programming language do?"

Yes. Vim script takes a little bit of time to figure out. One
point is that (with suitable settings) you can simply put values
in certain global variables and they will be saved/restored
automatically.

There are two examples in the following: Saving to a global
variable (search for viminfo), and reading a csv file.
http://vim.wikia.com/wiki/Highlight_multiple_words

Here is another example which reads/writes a file:
http://vim.wikia.com/wiki/Restore_screen_size_and_position

John

--
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

No comments: