-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What you need is to have the following in your ~/.vimrc
set ruler

Here is my .vimrc
syntax on
set ignorecase
set nowrap
set is
set hls
set noexpandtab
set noai
set ruler
set noautoindent
set backspace=2
colorscheme default
set background=dark
map ^T :w!<CR>:!aspell check %<CR>:e! %<CR>

If you paste into a vim sessions a lot you will likely find autoindent
annoying, but it can be handy in some cases.
Also note that this config allows for spell checking from withing vim
directly with ctrl+T (that is a capital "T", case does matter).

I believe that all these options can be found and or explained on the
vim.org site, which is a good site, suffering only from abundance.

Hope this helps,


Michael Walters wrote:
> Hello all,
> 
> My vim editor is working fine in that line wrap works, syntax highlight
> works, and the aspell -c <filename> command works when I use it after
> creating the file.
> 
> The only problems are that the current line number and character count
> are not displayed while editing the file and the current filename does
> not show when I am in insert mode.
> 
> I tried man vim to figure it out but was unable to figure out what the
> man pages were saying and could find no reference to showing current
> line number while in insert mode and showing file name while in insert mode.
> 
> I also made my own notes on the problem but was unable to remember where
> I put them.
> 
> I would not have bothered you if I could have figured this out on my own
> or found my own notes on the problem.
> 
> This time I will put the solutions to my problems in an easily
> recognizable green notebook entitled "computer activity book" and will
> put a reference to the vim editor notes in the index under "vim editor
> tips".
> 
> If I can configure the vim editor to display the filename somewhere
> while in i mode and also display the current line number while in i mode
> I will be happy, as everything else is working fine.
> 
> All help will be appreciated in advance.
> 
> regards,
> 
> Michael Walters
> 
> _______________________________________________
> clug-talk mailing list
> [email protected]
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE64ZbwRXgH3rKGfMRArEMAJ9Q9l46HjGWCbI3iPC1pZOdFU/xGgCffHgF
aGoa4sBvgoGLM3gtS6l2xg4=
=dhwU
-----END PGP SIGNATURE-----

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to