vim-tiny有哪些特点?

因此,在Ubuntu中默认安装了精简版的vim-tiny。我不介意使用它,但我找不到文档,而且我习惯于使用正常的Vim命令,大部分命令都无法使用。到目前为止,我发现:n:N在缓冲区之间切换,:split分割屏幕(但Ctrl-W+S不起作用),:close关闭分割,Ctrl-W+W在分割之间跳转。

还有哪些命令我没有发现?


5难道安装vim不比学习一套新的限制、局限和快捷方式简单得多吗? - David Oneill
3我无法在每台我SSH连接的机器上升级到完整的Vim。此外,小型Vim的功能可能不足以装满一个索引卡。 - James
2@James - 即使是最基本的vi也会非常强大 - 试着阅读你对Vim的问题在于你不理解vi - 这个答案*只涵盖了vi,因此也包括vim-tiny。祝你在使用索引卡时好运... - Hamish Downer
学习vi兼容模式可能是个不错的选择,以防你在“vi”系统上遇到困难。vim-tiny(vi兼容模式)没有帮助文件。退格键无效。未设置“showmode”,因此没有像“-- INSERT --”或“-- REPLACE --”这样的提示,需要直观地知道自己处于哪种模式。如果你是一位“VIM专家”,但却被安排在一个“vi”机器上,可能会感到迷失。但如果你了解“vi兼容模式”,并且在使用VIM时遇到问题,那就不应该成为问题,并且可以随时使用“:set cp”回退。 - user12711
2个回答

在11月10日:
$ vim.tiny --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct  6 2011 10:32:12)
Included patches: 1-154
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by buildd@
Small 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 
-conceal -cryptv -cscope -cursorbind -cursorshape -dialog -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 -mouse_dec 
-mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse -mouse_xterm 
+multi_byte -multi_lang -mzscheme -netbeans_intg -osfiletype -path_extra -perl 
-persistent_undo -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 
   system vimrc file: "$VIM/vimrc"
     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     -Wall -g -O2 -DTINY_VIMRC -D_FORTIFY_SOURCE=1      
Linking: gcc   -Wl,-Bsymbolic-functions -Wl,--as-needed -o vim    -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo  -lselinux -ldl

只有十二个功能被启用(共一百二十个):
+builtin_terms      Some terminals supported
+cmdline_hist       Command line history
+fork()             Shell commands are forked
+iconv              Extra encoding conversions besides utf8<->latin1
+jumplist           jumplist history, 
                    So you can go back/forward with Ctrl-O/Ctrl-I
+multi_byte         Multibyte characters
+terminfo           Use terminfo instead of termcap
+visual             Visual mode supported (but no blockwise visual mode)
+wildignore         Allow wildcard patterns, to specify files to
                    ignore during filename completion
+windows            Support more than one buffer window
+writebackup        Backup files before overwriting (this either
                    provides this option, or defaults it to on)
+xfontset           X fontset support

这些描述是基于@Caesium发布的功能列表链接。
缺少的按键绑定等可能是因为您在vi兼容模式下运行vim - 您可以通过在vim中执行:set nocompatible或将set nocompatible添加到您的.vimrc文件中来关闭它。
我尝试了Ctrl-W s,在兼容模式下运行/usr/bin/vim.tiny时,它对我起作用,所以这可能不是您的问题。但是我不确定在这种情况下会发生什么。也许您可以确保您的.vimrc文件中没有任何会阻止其工作的内容。

如何启用功能列表中的功能? - til
1@til 你需要安装一个不同版本的vim - Hamish Downer

这是你要的: http://vimdoc.sourceforge.net/htmldoc/various.html#+feature-list 引用自:ve[rsion] ..
The first column shows the smallest version in which they are included:
T   tiny
S   small
N   normal
B   big
H   huge

我实际上没有看到任何标记为'T'的东西,所以看起来你几乎什么都得不到...另一个答案说"可能只是关于vi"也许并不那么离谱 ;)

2/usr/bin/vim.basic 对应的是哪个版本,是正常的吗(N)? - htaccess
2“vim.basic”似乎是“huge without X”的版本。在我的个人经验中,它与“vim-nox”相同。 - tedder42