プロが教える店舗&オフィスのセキュリティ対策術

こんにちは、今CentOSでvimを使っています。
(telnetで作業をしています)

なぜかvimで編集の際にsp,vsp,vなどのコマンドが効きません。

ちなみにCentOSのversionは
Linux XXXXXXXX 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:39:21 EDT 2009 i686 i686 i386 GNU/Linux

Vimのバージョンは
VIM - Vi IMproved 7.0 (2006 May 7, compiled Nov 25 2008 11:44:32)
Included patches: 1, 3-4, 7-9, 11, 13-17, 19-26, 29-31, 34-44, 47, 50-56, 58-64, 66-73, 75, 77-92, 94-107, 109, 202, 234-235, 237
Compiled by <bugzilla@redhat.com>
Tiny version without GUI. Features included (+) or not (-):
-arabic -autocmd -balloon_eval -browse +builtin_terms -byte_offset -cindent
-clientserver -clipboard -cmdline_compl -cmdline_hist -cmdline_info -comments
-cryptv -cscope -cursorshape -dialog -diff -digraphs -dnd -ebcdic -emacs_tags
-eval -ex_extra -extra_search -farsi -file_in_path -find_in_path -folding
-footer +fork() -gettext -hangul_input +iconv -insert_expand -jumplist -keymap
-langmap -libcall -linebreak -lispindent -listcmds -localmap -menu -mksession
-modify_fname -mouse -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm
-mouse_xterm +multi_byte -multi_lang -mzscheme -netbeans_intg -osfiletype
-path_extra -perl -printer -profile -python -quickfix -reltime -rightleft -ruby
-scrollbind -signs -smartindent -sniff -statusline -sun_workshop -syntax
-tag_binary -tag_old_static -tag_any_white -tcl +terminfo -termresponse
-textobjects -title -toolbar -user_commands -vertsplit -virtualedit -visual
-viminfo -vreplace +wildignore -wildmenu -windows +writebackup -X11 -xfontset
-xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "/etc/virc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2

です。

何か情報がありましたら
よろしくお願いします。

A 回答 (2件)

vim-enhanced パッケージが必要じゃないでしょうか。

    • good
    • 0
この回答へのお礼

ありがとうございます。

yum list installed |grep vim
とすると
vim-minmal ///// installed
vim-common ///// base
vim-enhanced //// base
となっていて、インストールされていませんでした。

インストールするとうまくいきました。

enhanceがあるのを知りませんでした。

ありがとうございます。

お礼日時:2009/06/25 15:03

環境変数 TERM が「適切でない」, とか?

    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!