Karig
Still Fresh
I'm not sure if this is the place for app questions, but here goes:
Has anyone here used gVim on the Pandora?
I ask this because I just got my Pandora and now I'm trying to use the gVim PND on it. I've got the PND file on my SD card, in the "pandora/menu" folder, so it shows up in the Start Menu, and I can load and run gVim. But it does not load the .vimrc (configuration file) I copied into my home directory, nor can it even find its own help files -- typing ":help" produces the error messages "E433: No tags file" and "E149: Sorry, no help for 'help.txt'".
Has anybody gotten past this point?
EDIT -- TWO HOURS LATER:
Poking around on the Pandora, looking for clues. It seems that the Pandora expands the gVim PND to a bunch of files at /mnt/utmp/gvim, including a script at /mnt/utmp/gvim/scripts/vim.sh that insists on setting the HOME folder to "/mnt/utmp/gvim" instead of at "~", you know, the actual home directory. So I'm supposed to put my .vimrc in there?
(Copies .vimrc in there, relaunches gVim)
Now gVim obviously finds my .vimrc, because the font is different, but gVim complains about not finding Pathogen (a plugin for gVim, which I haven't copied over yet).
Now this bothers me a little. I thought that you were supposed to be able to keep your config information on the SD card. Is that not true in the case of gVim? Am I supposed to copy all my Vim files and plugins and colorschemes and whatnot into /mnt/utmp/gvim? (Is that even a permanent directory that I can count on being there, or would /mnt/utmp/gvim be "unmounted" and go away if I shut down the Pandora, thus requiring me to recopy my plugins into the folder all over again regularly?)
Or is the problem just the vim.sh that sets up the environment variable for HOME and then launches gVim? If so, does the PND need to be rebuilt, with an updated vim.sh???
What would be the right thing to do here?
Has anyone here used gVim on the Pandora?
I ask this because I just got my Pandora and now I'm trying to use the gVim PND on it. I've got the PND file on my SD card, in the "pandora/menu" folder, so it shows up in the Start Menu, and I can load and run gVim. But it does not load the .vimrc (configuration file) I copied into my home directory, nor can it even find its own help files -- typing ":help" produces the error messages "E433: No tags file" and "E149: Sorry, no help for 'help.txt'".
Has anybody gotten past this point?
EDIT -- TWO HOURS LATER:
Poking around on the Pandora, looking for clues. It seems that the Pandora expands the gVim PND to a bunch of files at /mnt/utmp/gvim, including a script at /mnt/utmp/gvim/scripts/vim.sh that insists on setting the HOME folder to "/mnt/utmp/gvim" instead of at "~", you know, the actual home directory. So I'm supposed to put my .vimrc in there?
(Copies .vimrc in there, relaunches gVim)
Now gVim obviously finds my .vimrc, because the font is different, but gVim complains about not finding Pathogen (a plugin for gVim, which I haven't copied over yet).
Now this bothers me a little. I thought that you were supposed to be able to keep your config information on the SD card. Is that not true in the case of gVim? Am I supposed to copy all my Vim files and plugins and colorschemes and whatnot into /mnt/utmp/gvim? (Is that even a permanent directory that I can count on being there, or would /mnt/utmp/gvim be "unmounted" and go away if I shut down the Pandora, thus requiring me to recopy my plugins into the folder all over again regularly?)
Or is the problem just the vim.sh that sets up the environment variable for HOME and then launches gVim? If so, does the PND need to be rebuilt, with an updated vim.sh???
What would be the right thing to do here?
Last edited by a moderator: