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} {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 -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 -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 -u {vimrc} {vimrc} "NONE" ":help initialization" -U {gvimrc} {gvimrc} GUI GUI GUI "NONE" ":help gui-init" -V[N] viminfo N 'verbose' 10 -v Vi "vi" "ex" -w {scriptout} {scriptout} "vim -s" "source!" {scriptout} -W {scriptout} -w -x -X X -y "evim" "eview" Vim (click-and-type editor) -Z "r" -- '-' --clean (vimrc) Vim --echo-wid GTK GUI : Window ID --help "-h" --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 Vim ":help" ":help " : "ZZ" ":help ZZ" CTRL-D (":help cmdline-completion" ) (":help" ) : ":help syntax.txt" /usr/share/vim/vim91/doc/*.txt Vim ":help doc-file-list" /usr/share/vim/vim91/doc/tags tags /usr/share/vim/vim91/syntax/syntax.vim /usr/share/vim/vim91/syntax/*.vim /etc/vimrc Vim ~/.vimrc Vim /etc/gvimrc gvim ~/.gvimrc gvim /usr/share/vim/vim91/optwin.vim ":options" /usr/share/vim/vim91/menu.vim gvim /usr/share/vim/vim91/bugreport.vim ":help bugs" /usr/share/vim/vim91/filetype.vim ":help 'filetype'" /usr/share/vim/vim91/scripts.vim ":help 'filetype'" /usr/share/vim/vim91/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' 2021 Jun 13 VIM(1)