VIM(1) General Commands Manual VIM(1) vim - Vi IMproved, vim [options] [file ..] vim [options] - vim [options] -t tag vim [options] -q [errorfile] ex view gvim gview evim eview rvim rview rgvim rgview Vim Vi Vi : Vim Vi ":help vi_diff.txt" Vim ":help" Vim vim file : vim [options] [filelist] filelist file .. ":next" filelist "--" - (tty) -t {tag} "tag" goto label tags {tag} C {tag} ":help tag-commands" -q [errorfile] [errorfile] [errorfile] 'errorfile' (Amiga "AztecC.Err" "errors.err" ) ":cn" ":help quickfix" Vim () vim "" ex Ex ":vi" "-e" view "-R" gvim gview GUI "-g" evim eview GUI "-y" rvim rview rgvim rgview Vim "-Z" +[num] "num" "num" +/{pat} {pat} ":help search-pattern" +{command} -c {command} {command} {command} Ex {command} () : vim "+set si" main.c Note: "+" "-c" 10 -A ('arabic' ) -b -C 'compatible' .vimrc Vim Vi -d 2 8 vimdiff(1) -d {device}, -dev {device} {device} Amiga : "-d con:20/30/600/150". -D -e Ex "ex" -E Ex "exim" -f GUI Amiga Vim Amiga ":sh" "!" -F ('fkmap' 'rightleft' ) : 8.1.0932 -g GUI GUI -H ('hkmap' 'rightleft' ) -i {viminfo} "~/.viminfo" viminfo "NONE" .viminfo -l lisp 'lisp' 'showmatch' -L -r -m 'write' -M 'modifiable' 'write' Note: -n ":set uc=0" ":set uc=200" -N 'compatible' .vimrc Vim Vi -nb NetBeans -o[N] N N -O[N] N N -p[N] N N -P {parent-title} Win32 Vim MDI {parent-title} Note: -r -r {file} ".swp" ":help recovery" -R 'readonly' ":w!" Ex -R -n () 'readonly' ":set noro" ":help 'readonly'" -s "ex" "-e" "-s" -s {scriptin} {scriptin} ":source! {scriptin}" -S {file} {file} -c "source {file}" {file} '-' {file} "Session.vim" ( -S ) -T {terminal} Vim termcap terminfo -u {vimrc} {vimrc} "NONE" ":help initialization" -U {gvimrc} {gvimrc} GUI GUI GUI "NONE" ":help gui-init" -v Vi "vi" "ex" -V[N] viminfo N 'verbose' 10 -V[N]{filename} -V 'verbosefile' {filename} {filename} {filename} -w{number} 'window' {number} -w {scriptout} {scriptout} "vim -s" "source!" {scriptout} -W {scriptout} -w -x Vim -X X -Y wayland -y "evim" "eview" Vim (click-and-type editor) -Z "r" -- '-' --clean (vimrc) Vim --cmd {command} "-c" vimrc "-c" 10 --echo-wid GTK GUI : Window ID --gui-ialog-file {name} GUI {name} GUI --help, -h, -? --literal Unix --log {filename} Vim {filename} ch_logfile({filename}, 'ao') --nofork GUI Vim --noplugin -u NONE --not-a-term () Vim 2 --remote Vim Vim Vim --remote-expr {expr} Vim {expr} Vim --remote-send {keys} Vim {keys} Vim --remote-silent --remote --remote-wait --remote --remote-wait-silent --remote-wait --serverlist Vim --servername {name} {name} --remote Vim "/", "./" "../" --clientserver {backend} {backend} "socket" "x11" socketserver X11 --socketid {id} GTK GUI : GtkPlug gVim --startuptime {file} {fname} --ttyfail (tty) --version --windowid {id} Win32 GUI Vim {id} gVim Vim ":help" ":help " : "ZZ" ":help ZZ" CTRL-D (":help cmdline-completion" ) (":help" ) : ":help syntax.txt" /usr/share/vim/vim92/doc/*.txt Vim ":help doc-file-list" vim?? Vim 9.1 vim91 /usr/share/vim/vim92/doc/tags tags /usr/share/vim/vim92/syntax/syntax.vim /usr/share/vim/vim92/syntax/*.vim /etc/vimrc Vim ~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc Vim () /etc/gvimrc gvim ~/.gvimrc, ~/.vim/gvimrc, $XDG_CONFIG_HOME/vim/gvimrc gVim () /usr/share/vim/vim92/optwin.vim ":options" /usr/share/vim/vim92/menu.vim gVim /usr/share/vim/vim92/bugreport.vim ":help bugs" /usr/share/vim/vim92/filetype.vim ":help 'filetype'" /usr/share/vim/vim92/scripts.vim ":help 'filetype'" /usr/share/vim/vim92/print/*.ps PostScript VIM : vimtutor(1) Vim Bram Moolenaar ":help credits" Vim Stevie Stevie Tim ThompsonTony Andrews G.R. (Fred) Walter ":help todo" Vi " Vi " vi_diff.txt ( Vim ":help vi_diff.txt" ) 'compatible' 'cpoptions' 2025 Jun 27 VIM(1)