URL: https://linuxfr.org/forums/linux-general/posts/vim-python-et-debian Title: Vim, Python et Debian Authors: sifu Date: 2011年01月19日T00:24:19+01:00 Tags: selinux Score: 3 Bonjour, Sur ma Debian, j'ai l'omnicompletion qui fonctionne pour les fichiers Python. Quand je fais Ctr-X-0, j'ai une fenêtre qui s'ouvre avec la doc (pydoc). Génial, vous me direz, mais en fait je me demande pourquoi cela fonctionne. Dans mon .vimrc, j'ai seulement: filetype on filetype plugin on filetype indent on syntax on Quand j'ai regardé dans le fichier général, j'ai rien vu de spécial. En fait, j'aimerais être sûr d'avoir accès à cette fonctionnalité ailleurs. Est-ce que vous savez comment est activé cette fonction ? Est-ce inclus dans Vim ? Merci. PS: vim --version me donne le résultat suivant: VIM - Vi IMproved 7.2 (2008 Aug 9, compiled May 29 2010 04:37:34) Rustines incluses : 1-438 Modifié par pkg-vim-maintainers@lists.alioth.debian.org Compilé par jamessan@debian.org Énorme version sans interface graphique. £spaces£ £/spaces£Fonctionnalités incluses (+) ou non (-) : +arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra +perl +postscript +printer +profile +python +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white +tcl +terminfo +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save £spaces£ £/spaces£fichier vimrc système : "$VIM/vimrc" £spaces£ £/spaces£fichier vimrc utilisateur : "$HOME/.vimrc" £spaces£ £/spaces£fichier exrc utilisateur : "$HOME/.exrc" £spaces£ £/spaces£$VIM par défaut : "/usr/share/vim" Compilation : gcc -c -I. -Iproto -DHAVE_CONFIG_H -Wall -g -O2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -I/usr/include/python2.5 -I/usr/include/tcl8.4 -D_REENTRANT=1 -D_THREAD_SAFE=1 -D_LARGEFILE64_SOURCE=1 -I/usr/lib/ruby/1.8/i486-linux -DRUBY_VERSION=18 Édition de liens : gcc -L. -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,--as-needed -o vim -lncurses -lselinux -lacl -lgpm -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -lperl -L/usr/lib/python2.5/config -lpython2.5 -lutil -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L/usr/lib -ltcl8.4 -lieee -lruby1.8 -lrt -lm

AltStyle によって変換されたページ (->オリジナル) /