Notices


Reply
Thread Tools
Posts: 18 | Thanked: 0 times | Joined on Jan 2010
#1
I recently (finally ) started to use Vim as my main text editor and I also installed it on my N900 (from the maemo-repo's).

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!
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#2
According to the Vim documentation:
'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.
So presumably the N900 version isn't compiled with those flags (as there's no need for it to be).
 

The Following User Says Thank You to Rob1n For This Useful Post:
Posts: 18 | Thanked: 0 times | Joined on Jan 2010
#3
Originally Posted by Rob1n View Post
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).
Ok thx, that's interesting!

So that only leaves me with the second question about the enter key in vimwiki not working..
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:18.