|
2010-08-20
, 17:47
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#2
|
'autochdir' 'acd' boolean (default off)
global
{not in Vi}
{only available when compiled with the
|+netbeans_intg| or |+sun_workshop| feature}
When on, Vim will change the current working directory whenever you
open a file, switch buffers, delete a buffer or open/close a window.
It will change to the directory containing the file which was opened
or selected.
This option is provided for backward compatibility with the Vim
released with Sun ONE Studio 4 Enterprise Edition.
Note: When this option is on some plugins may not work.
The Following User Says Thank You to Rob1n For This Useful Post: | ||
|
2010-08-21
, 00:25
|
Posts: 18 |
Thanked: 0 times |
Joined on Jan 2010
|
#3
|
According to the Vim documentation:
So presumably the N900 version isn't compiled with those flags (as there's no need for it to be).
I copied my .vimrc file to my N900 to have the same settings as on my personal and work laptops. This works mostly. When i start Vim on my N900 now i get the following warning:
E518: Unknown option: autochdir
( i do have 'set autochdir' in my .vimrc)
when i just press <enter> vim starts normally, so it is only a small annoyance, but i was wondering if somebody has an idea why this is? Is the Vim for Maemo a modified version with less features than the one on Ubuntu (7.2.330).
I also have a small problem with vimwiki on the N900 (install it from http://www.vim.org/scripts/script.php?script_id=2226, then press \ww to open the index page).
Normally when in normal mode, you can press <enter> when the cursor is on a WikiWord. When you do so, vimwiki will open the buffer for that wikiword (or create a new one, when it does not exist). On my Ubuntu-Vim this works, but on Maemo-Vim the enter command just behaves as normal (go to next line). Any clues on this?
thx!