Thank you guys for your answers! i think the problem is solved!

amenu <silent>&simple.Enable\ autochdir :set autochdir <cr>
amenu <silent>&simple.Disable\ autochdir :set noautochdir <cr>
amenu <silent>&simple.autochdir\ Status :verbose set autochdir? <cr>


i have added a menu so that i can disable and enable autochdir with buttons.

i have 2 questions concerning the menu:

* is there any way to make an entry toggle-autochdir that will toggle
the the autochdir option?

*how can i present the state of autochdir in the status line?

currently i have the following:

set statusline=[FORMAT=%{&ff}]\ [TYPE=%Y]\
[Line,Column]=[%04l,%04v][%p%%]\ [%L\ Lines]\ [FILE=%F%m%r%h%w]

thanks in advance for your answers,

nicolas

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to