You are not logged in.
Hi Archers, unfortunatly I need some help.
I have erroneously deleted the content of /usr/share/vim/vim73/lang and now Vim refuses to load its help (neither with :help nor F1).
I have searched through Google and this board but with no luck. I have tried to:
1) remove vim and vim-runtime (also with their respective directories) and reinstall them;
2) regenerate the help with :helptags /usr/share/vim/vim73/doc which returns me E152: I can't open /usr/share/vim/vim73/doc for writing. So I have tried to:
2.1) copy /usr/share/vim/vim73/doc in $HOME/.vim/doc and redo point 2;
2.2) create a symbolic link of /usr/share/vim/vim73/doc in $HOME/.vim/doc and redo point 2;
2.3) in both of the above cases (2.1 and 2.2) change permits of the file in the [...]/doc directory;
5) set $VIMRUNTIME (to /usr/share/vim/vim73/doc and $HOME/.vim/doc), set helplang=it and/or $VIM (to $HOME/.vim) in $HOME/.vimrc;
6) empty $HOME/.vim/view, delete $HOME/.vim/.viminfo.
Everything it's ok for root, the problem occurs just with my user. When I do :help in Vim it returns E433: No tag file and E426: tag not found: help.txt@en.
$ vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 8 2012 16:19:27)
Included patch: 1-754
Compiled by ArchLinux
Extended version without GUI. Included (+) or excluded (-) functions:
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +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 -lua +menu +mksession +modify_fname +mouse -mouseshape
+mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm +mouse_sgr -mouse_sysmouse
+mouse_urxvt +mouse_xterm +multi_byte +multi_lang -mzscheme -netbeans_intg
+path_extra +perl +persistent_undo +postscript +printer -profile -python
-python3 +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
file vimrc di sistema: "/etc/vimrc"
file vimrc utente: "$HOME/.vimrc"
file exrc utente: "$HOME/.exrc"
$VIM di riserva: "/usr/share/vim"
Compilazione: gcc -c -I. -Iproto -DHAVE_CONFIG_H -I/usr/local/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Link: gcc -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim -lm -lncurses -lacl -lattr -lgpm -ldl -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE -Wl,-O1,--sort-common,--as-needed,-z,relro -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc$ locale
LANG=it_IT.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE=C
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=$ vim -c set
--- Opzioni ---
autochdir background=dark hlsearch laststatus=2 ruler shiftround spell notimeout undolevels=50 nowritebackup autoindent expandtab ignorecase linebreak scroll=1 shiftwidth=4 noswapfile ttyfast
wildmenu autoread helplang=it incsearch modelines=0 scrolloff=5 softtabstop=4 tabstop=4 ttymouse=xterm winminwidth=0
backspace=indent,eol,start
fileencodings=ucs-bom,utf-8,default,latin1
matchpairs=(:),{:},[:],<:>,=:;
shortmess=filnxtToOasI
statusline=%F %m%r %y %=%l/%L,%c
suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
viminfo='100,<50,s10,h,'0,:0,<0,@0,f0,n$HOME/.vim/.viminfo
wildignore=*.dll,*.o,*.obj,*.exe.jpg,*.gif,*.png
wildmode=list,longest,fullVim has no plugins and everything is up to date.
Thanks in advance.
Last edited by rix (2013-01-22 21:52:25)
Offline