> i would like to edit my vimrc so gvim cursor always starts on line 4
> as i have a templete that uses the first 3 lines. For example, In the
> terminal i can use "gvim + 1.py" but i can't figure out how to edit
> vimrc so its automatic.
You could add an autocommand that jumps to line 4 for a certain
filespec (such as "*.txt") that matches your template files:
autocmd BufRead *.txt 4
-tim
--
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:
Post a Comment