[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vim-gtk nur im terminal?



> Ok, lass uns mal checken welche .*vim* files in deinem $HOME stecken.
> Also neben einer gvimrc und einer vimrc habe ich hier noch viminfo. Du
> koenntest probehalber mal alle vim-files aus deinem home loeschen und
> es dann nochmals probieren.

ich habe: .viminfo, .vimrc und ein Verzeichnis namens .vim. Ein .gvimrc
habe ich nicht. 
.vim hat eine von mir erstellte filetype.vim, sonst nix.
Alle diese Dateien habe ich schon vom alten Laptop rüberkopiert, in der
Hoffnung, daß es was hilft. 
So, jetzt habe ich sie alle gelöscht - das Verhalten bleibt gleich.

> Ansonsten gvim mal mit -D und -VX (X durch eine Zahl ersetzen) starten
> und die Ausgabe pruefe/hier posten...

gvim -D:

--- schnipp ------

Entering Debug mode.  Type "cont" to leave.
/usr/share/vim/vimrc
line 5: set nocompatible^I" Use Vim defaults instead of 100% vi
compatibility

--- schnapp ------

Hmm. Warum nimmt der vimrc, wenn ich doch gvim haben will? 
gvimrc gibt es auch, im gleichen Verzeichnis. 



gvim -VX:

--- schnipp ------

sourcing "$VIM/vimrc"
Searching for "filetype.vim" in
"/home/hiro/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim61,/usr/share/vim/vimfiles/after,/home/hiro/.vim/after"
Searching for "/home/hiro/.vim/filetype.vim"
Searching for "/etc/vim/filetype.vim"
Searching for "/usr/share/vim/vimfiles/filetype.vim"
Searching for "/usr/share/vim/vim61/filetype.vim"
line 43: sourcing "/usr/share/vim/vim61/filetype.vim"
line 1378: sourcing "/usr/share/vim/vim61/menu.vim"
Searching for "lang/menu_de_de.vim" in
"/home/hiro/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim61,/usr/share/vim/vimfiles/after,/home/hiro/.vim/after"
Searching for "/home/hiro/.vim/lang/menu_de_de.vim"
Searching for "/etc/vim/lang/menu_de_de.vim"
Searching for "/usr/share/vim/vimfiles/lang/menu_de_de.vim"
Searching for "/usr/share/vim/vim61/lang/menu_de_de.vim"
Searching for "/usr/share/vim/vimfiles/after/lang/menu_de_de.vim"
Searching for "/home/hiro/.vim/after/lang/menu_de_de.vim"
not found in 'runtimepath': "lang/menu_de_de.vim"
Searching for "lang/menu_de_de*.vim" in
"/home/hiro/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim61,/usr/share/vim/vimfiles/after,/home/hiro/.vim/after"
Searching for "/home/hiro/.vim/lang/menu_de_de*.vim"
Searching for "/etc/vim/lang/menu_de_de*.vim"
Searching for "/usr/share/vim/vimfiles/lang/menu_de_de*.vim"
Searching for "/usr/share/vim/vim61/lang/menu_de_de*.vim"
line 46: sourcing "/usr/share/vim/vim61/lang/menu_de_de.iso_8859-1.vim"
line 3: sourcing "/usr/share/vim/vim61/lang/menu_de_de.latin1.vim"
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.latin1.vim
continuing in /usr/share/vim/vim61/lang/menu_de_de.iso_8859-1.vim
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.iso_8859-1.vim
continuing in /usr/share/vim/vim61/menu.vim
line 46: sourcing "/usr/share/vim/vim61/lang/menu_de_de.iso_8859-15.vim"
line 3: sourcing "/usr/share/vim/vim61/lang/menu_de_de.latin1.vim"
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.latin1.vim
continuing in /usr/share/vim/vim61/lang/menu_de_de.iso_8859-15.vim
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.iso_8859-15.vim
continuing in /usr/share/vim/vim61/menu.vim
line 46: sourcing "/usr/share/vim/vim61/lang/menu_de_de.latin1.vim"
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.latin1.vim
continuing in /usr/share/vim/vim61/menu.vim
line 46: sourcing "/usr/share/vim/vim61/lang/menu_de_de.utf-8.vim"
line 3: sourcing "/usr/share/vim/vim61/lang/menu_de_de.latin1.vim"
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.latin1.vim
continuing in /usr/share/vim/vim61/lang/menu_de_de.utf-8.vim
finished sourcing /usr/share/vim/vim61/lang/menu_de_de.utf-8.vim
continuing in /usr/share/vim/vim61/menu.vim
Searching for "/usr/share/vim/vimfiles/after/lang/menu_de_de*.vim"
Searching for "/home/hiro/.vim/after/lang/menu_de_de*.vim"
finished sourcing /usr/share/vim/vim61/menu.vim
continuing in /usr/share/vim/vim61/filetype.vim
finished sourcing /usr/share/vim/vim61/filetype.vim
continuing in /usr/share/vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/filetype.vim"
Searching for "/home/hiro/.vim/after/filetype.vim"
Searching for "ftplugin.vim" in
"/home/hiro/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim61,/usr/share/vim/vimfiles/after,/home/hiro/.vim/after"
Searching for "/home/hiro/.vim/ftplugin.vim"
Searching for "/etc/vim/ftplugin.vim"
Searching for "/usr/share/vim/vimfiles/ftplugin.vim"
Searching for "/usr/share/vim/vim61/ftplugin.vim"
line 43: sourcing "/usr/share/vim/vim61/ftplugin.vim"
finished sourcing /usr/share/vim/vim61/ftplugin.vim
continuing in /usr/share/vim/vimrc
Searching for "/usr/share/vim/vimfiles/after/ftplugin.vim"

Executing BufEnter Auto commands for "*"
autocommand call s:EditDir()
Executing VimEnter Auto commands for "*"
Hit ENTER or type command to continue
autocommand if !exists("no_buffers_menu") | call <SID>BMShow() | endif
Hit ENTER or type command to continue
autocommand au! LoadBufferMenu
Hit ENTER or type command to continue
Executing VimEnter Auto commands for "*"
Hit ENTER or type command to continue
autocommand call s:EditAll()
Hit ENTER or type command to continue

--- schnapp ------

Puh. Was es alles gibt.

[Syntaxhighlighting]
> Das duerfte an .gvimrc liegen... 

Nee, die habe ich ja jetzt nicht mehr, und trotzdem gibt's das
Highlighting auf der Konsole nur mit gvim, nicht mit vim.

[gmenu]

> Kann ich nicht nachvollziehen da ich sid habe mit gnome 2.6. Kannst du
> denn neue Eintraege anlegen? Eigentlich sollte doch Gnome ebenso die

Als normaler User nur unter "Favoriten", nicht unter "Programme". Dafür
habe ich nicht die Rechte, sagt es. 

> Menu's fuer jeden Nutzer einzeln in $HOME/.gnome/ ablegen koennen...

Unter ~/.gnome liegt u.a. die Datei gmenu, da gibt's aber im Moment nur
einen Abschnitt "Placement" mit der Zeile
Dock=Toolbar\\0,1,0,0\\Menubar\\0,0,0,0
Eine andere Datei, etwa mit ner Menüstruktur, sehe ich nicht.


Hiro



Reply to: