vim-tiny 有什么特点?

Jam*_*mes 39 vim

因此,vim-tiny在 Ubuntu 中默认安装了 cut down 。我不介意使用它,但我找不到文档,而且我在普通 Vim 中使用的大多数命令都不起作用。到目前为止,我已经发现:n:N在缓冲区之间移动并:split拆分屏幕(但Ctrl- W+S没有),:close关闭拆分,并且Ctrl- W+W在拆分之间跳跃。

我还缺少哪些其他命令?

Ham*_*ner 29

在 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
Run Code Online (Sandbox Code Playgroud)

仅启用了 12 项功能(共 122 项):

+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
Run Code Online (Sandbox Code Playgroud)

描述基于@Caesium 发布的功能列表链接。

缺少键绑定等可能是因为您在vi 兼容模式下运行 vim - 您可以通过:set nocompatible在 vim 中执行或添加set nocompatible到您的.vimrc文件来关闭它。

我确实尝试过,Ctrl-W s并且/usr/bin/vim.tiny在兼容模式下运行时对我进行了拆分,因此这可能不是您的问题。但我不确定在那种情况下会是什么。也许尝试确保您的.vimrc文件中没有任何内容会阻止该工作。


Cae*_*ium 12

给你: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
Run Code Online (Sandbox Code Playgroud)

我实际上没有看到任何标记的“T”,所以看起来你几乎什么也没得到......“它可能只是关于 vi”的另一个答案可能不会那么远;)

  • /usr/bin/vim.basic 对应哪个版本,正常吗(N)? (2认同)
  • `vim.basic` 似乎是“没有 X 的巨大”。它与我收集的轶事中的“vim-nox”相同。 (2认同)