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 -S {file} {file} -c "source {file}" {file} '-' {file} "Session.vim" ( -S ) --cmd {command} "-c" vimrc "-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" "!" --nofork GUI -F ('fkmap' 'rightleft' ) -g GUI GUI --gui-dialog-file {name} GUI {name} GUI --help, -h, -? -H ('hkmap' 'rightleft' ) -i {viminfo} "~/.viminfo" viminfo "NONE" .viminfo -L -r -l lisp 'lisp' 'showmatch' -m 'write' -M 'modifiable' 'write' Note: -N 'compatible' .vimrc Vim Vi -n ":set uc=0" ":set uc=200" -nb NetBeans -o[N] N N -O[N] N N -p[N] N N -P {parent-title} Win32 Vim MDI {parent-title} Note: -R 'readonly' ":w!" Ex -R -n () 'readonly' ":set noro" ":help 'readonly'" -r -r {file} ".swp" ":help recovery" -s "ex" "-e" "-s" -s {scriptin} {scriptin} ":source! {scriptin}" -T {terminal} Vim termcap terminfo --not-a-term () Vim 2 --ttyfail (tty) -u {vimrc} {vimrc} "NONE" ":help initialization" -U {gvimrc} {gvimrc} GUI GUI GUI "NONE" ":help gui-init" -V[N] viminfo N 'verbose' 10 -V[N]{filename} -V 'verbosefile' {filename} {filename} {filename} --log {filename} Vim {filename} ch_logfile({filename}, 'ao') -v Vi "vi" "ex" -w{number} 'window' {number} -w {scriptout} {scriptout} "vim -s" "source!" {scriptout} -W {scriptout} -w -x Vim -X X -y "evim" "eview" Vim (click-and-type editor) -Z "r" -- '-' --clean (vimrc) Vim --echo-wid GTK GUI : Window ID --literal Unix --noplugin -u NONE --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 --socketid {id} GTK GUI : GtkPlug gvim --startuptime {file} {fname} --version --windowid {id} Win32 GUI Vim {id} Vim ":help" ":help " : "ZZ" ":help ZZ" CTRL-D (":help cmdline-completion" ) (":help" ) : ":help syntax.txt" /usr/local/share/vim/vim??/doc/*.txt Vim ":help doc-file-list" vim?? Vim 9.1 vim91 /usr/local/share/vim/vim??/doc/tags tags /usr/local/share/vim/vim??/syntax/syntax.vim /usr/local/share/vim/vim??/syntax/*.vim /usr/local/share/vim/vimrc Vim ~/.vimrc, ~/.vim/vimrc, $XDG_CONFIG_HOME/vim/vimrc Vim () /usr/local/share/vim/gvimrc gvim ~/.gvimrc, ~/.vim/gvimrc, $XDG_CONFIG_HOME/vim/gvimrc gvim () /usr/local/share/vim/vim??/optwin.vim ":options" /usr/local/share/vim/vim??/menu.vim gvim /usr/local/share/vim/vim??/bugreport.vim ":help bugs" /usr/local/share/vim/vim??/filetype.vim ":help 'filetype'" /usr/local/share/vim/vim??/scripts.vim ":help 'filetype'" /usr/local/share/vim/vim??/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' 2024 Aug 03 VIM(1)