📄 index.txt
字号:
|:bNext| :bN[ext] go to next buffer in the buffer list|:ball| :ba[ll] open a window for each file in the buffer list|:badd| :bad[d] add file to the buffer list|:bdelete| :bd[elete] delete specific files from the buffer list|:behave| :be[have] set mouse and selection behavior|:blast| :bl[ast] go to last file in the buffer list|:bmodified| :bm[odified] go to next file in the buffer list that has been modified|:bnext| :bn[ext] go to next file in the buffer list|:bprevious| :bp[revious] go to previous file in the buffer list|:brewind| :br[ewind] go to last file in the buffer list|:break| :brea[k] break out of while loop|:browse| :bro[wse] use file selection dialog|:buffers| :buffers list all files in the buffer list|:bunload| :bun[load] unload a specific buffer|:change| :c[hange] replace a line or series of lines|:cNext| :cN[ext] go to previous error|:cabbrev| :ca[bbrev] like ":abbreviate" but for Command-line mode|:cabclear| :cabc[lear] clear all abbreviations for Command-line mode|:call| :cal[l] call a function|:cc| :cc go to specific error|:cd| :cd change directory|:center| :ce[nter] format lines at the center|:cfile| :cf[ile] read the file with error messages|:change| :ch[ange] delete and insert lines|:chdir| :chd[ir] change directory|:checkpath| :che[ckpath] list included files|:clist| :cl[ist] list all errors|:clast| :cla[st] go to the specified error, default last one|:close| :clo[se] close current window|:cmap| :cm[ap] like ":map" but for Command-line mode|:cmapclear| :cmapc[lear] clear all mappings for Command-line mode|:cmenu| :cme[nu] add menu for Command-line mode|:cnext| :cn[ext] go to next error|:cnewer| :cnew[er] go to newer error list|:cnfile| :cnf[ile] go to first error in next file|:cnoremap| :cno[remap] like ":noremap" but for Command-line mode|:cnoreabbrev| :cnorea[bbrev] like ":noreabbrev" but for Command-line mode|:cnoremenu| :cnoreme[nu] like ":noremenu" but for Command-line mode|:copy| :co[py] copy lines|:colder| :col[der] go to older error list|:command| :com[mand] create user-defined command|:comclear| :comc[lear] clear all user-defined commands|:continue| :con[tinue] go back to :while|:confirm| :conf[irm] prompt user when confirmation required|:cprevious| :cp[revious] go to previous error|:cquit| :cq[uit] quit Vim with an error code|:crewind| :cr[ewind] go to the specified error, default first one|:cscope| :cs[cope] execute cscope command|:cstag| :cst[ag] use cscope to jump to a tag|:cunmap| :cu[nmap] like ":unmap" but for Command-line mode|:cunabbrev| :cuna[bbrev] like ":unabbrev" but for Command-line mode|:cunmenu| :cunme[nu] remove menu for Command-line mode|:delete| :d[elete] delete lines|:delcommand| :delc[ommand] delete user-defined command|:delfunction| :delf[unction] delete a user function|:display| :di[splay] display registers|:digraphs| :dig[raphs] show or enter digraphs|:djump| :dj[ump] jump to #define|:dlist| :dl[ist] list #defines|:doautocmd| :do[autocmd] apply autocommands to current buffer|:doautoall| :doautoa[ll] apply autocommands for all loaded buffers|:dsearch| :ds[earch] list one #define|:dsplit| :dsp[lit] split window and jump to #define|:edit| :e[dit] edit a file|:echo| :ec[ho] echoes the result of expressions|:echohl| :echoh[l] set highlighting for echo commands|:echon| :echon same as :echo, but without <EOL>|:else| :el[se] part of an :if command|:elseif| :elsei[f] part of an :if command|:emenu| :em[enu] execute a menu by name|:endif| :en[dif] end previous :if|:endfunction| :endf[unction] end of a user function|:endwhile| :endw[hile] end previous :while|:ex| :ex same as ":edit"|:execute| :exe[cute] execute result of expressions|:exit| :exi[t] same as ":xit"|:file| :f[ile] show or set the current file name|:files| :files list all files in the buffer list|:filetype| :filet[ype] switch file type detection on/off|:find| :fin[d] find file in 'path' and edit it|:fixdel| :fix[del] set key code of <Del>|:function| :fu[nction] define a user function|:global| :g[lobal] execute commands for matching lines|:goto| :go[to] go to byte in the buffer|:grep| :gr[ep] run 'grepprg' and jump to first match|:gui| :gu[i] start the GUI|:gvim| :gv[im] start the GUI|:help| :h[elp] open a help window|:helpfind| :helpf[ind] dialog to open a help window|:highlight| :hi[ghlight] specify highlighting methods|:hide| :hid[e] hide current buffer for a command|:history| :his[tory] print a history list|:insert| :i[nsert] insert text|:iabbrev| :ia[bbrev] like ":abbrev" but for Insert mode|:iabclear| :iabc[lear] like ":abclear" but for Insert mode|:if| :if execute commands when condition met|:ijump| :ij[ump] jump to definition of identifier|:ilist| :il[ist] list lines where identifier matches|:imap| :im[ap] like ":map" but for Insert mode|:imapclear| :imapc[lear] like ":mapclear" but for Insert mode|:imenu| :ime[nu] add menu for Insert mode|:inoremap| :ino[remap] like ":noremap" but for Insert mode|:inoreabbrev| :inorea[bbrev] like ":noreabbrev" but for Insert mode|:inoremenu| :inoreme[nu] like ":noremenu" but for Insert mode|:intro| :int[ro] print the introductory message|:isearch| :is[earch] list one line where identifier matches|:isplit| :isp[lit] split window and jump to definition of identifier|:iunmap| :iu[nmap] like ":unmap" but for Insert mode|:iunabbrev| :iuna[bbrev] like ":unabbrev" but for Insert mode|:iunmenu| :iunme[nu] remove menu for Insert mode|:join| :j[oin] join lines|:jumps| :ju[mps] print the jump list|:k| :k set a mark|:list| :l[ist] print lines|:last| :la[st] go to the last file in the argument list|:left| :le[ft] left align lines|:let| :let assign a value to a variable or option|:ls| :ls list all buffers|:move| :m[ove] move lines|:mark| :ma[rk] set a mark|:make| :mak[e] execute external command 'makeprg' and parse error messages|:map| :map show or enter a mapping|:mapclear| :mapc[lear] clear all mappings for Normal and Visual mode|:marks| :marks list all marks|:menu| :me[nu] enter a new menu item|:messages| :mes[sages] view previously displayed messages|:mkexrc| :mk[exrc] write current mappings and settings to a file|:mksession| :mks[ession] write session info to a file|:mkvimrc| :mkv[imrc] write current mappings and settings to a file|:mode| :mod[e] show or change the screen mode|:next| :n[ext] go to next file in the argument list|:new| :new create a new empty window|:nmap| :nm[ap] like ":map" but for Normal mode|:nmapclear| :nmapc[lear] clear all mappings for Normal mode|:nmenu| :nme[nu] add menu for Normal mode|:nnoremap| :nn[oremap] like ":noremap" but for Normal mode|:nnoremenu| :nnoreme[nu] like ":noremenu" but for Normal mode|:noremap| :no[remap] enter a mapping that will not be remapped|:nohlsearch| :noh[lsearch] suspend 'hlsearch' highlighting|:noreabbrev| :norea[bbrev] enter an abbreviation that will not be remapped|:noremenu| :noreme[nu] enter a menu that will not be remapped|:normal| :norm[al] execute Normal mode commands|:number| :nu[mber] print lines with line number|:nunmap| :nun[map] like ":unmap" but for Normal mode|:nunmenu| :nunme[nu] remove menu for Normal mode|:open| :o[pen] start open mode (not implemented)|:omap| :om[ap] like ":map" but for Operator-pending mode|:omapclear| :omapc[lear] remove all mappings for Operator-pending mode|:omenu| :ome[nu] add menu for Operator-pending mode|:only| :on[ly] close all windows except current one|:onoremap| :ono[remap] like ":noremap" but for Operator-pending mode|:onoremenu| :onoreme[nu] like ":noremenu" but for Operator-pending mode|:options| :opt[ions] open the options-window|:ounmap| :ou[nmap] like ":unmap" but for Operator-pending mode|:ounmenu| :ounme[nu] remove menu for Operator-pending mode|:print| :p[rint] print lines|:pclose| :pc[lose] close preview window|:perl| :pe[rl] execute Perl command|:perldo| :perld[o] execute Perl command for each line|:pop| :po[p] jump to older entry in tag stack|:ppop| :pp[op] ":pop" in preview window|:preserve| :pre[serve] write all text to swap file|:previous| :prev[ious] go to previous file in argument list|:promptfind| :pro[mptfind] Search dialog|:promptrepl| :promptr[epl] Search/Replace dialog|:ptag| :pt[ag] show tag in preview window|:ptNext| :ptN[ext] |:tNext| in preview window|:ptjump| :ptj[ump] |:tjump| and show tag in preview window|:ptlast| :ptl[ast] |:tlast| in preview window|:ptnext| :ptn[ext] |:tnext| in preview window|:ptprevious| :ptp[revious] |:tprevious| in preview window|:ptrewind| :ptr[ewind] |:trewind| in preview window|:ptselect| :pts[elect] |:tselect| and show tag in preview window|:put| :pu[t] insert contents of register in the text|:pwd| :pw[d] print current directory|:python| :py[thon] execute Python command|:pyfile| :pyf[ile] execute Python script file|:quit| :q[uit] quit current window or Vim|:qall| :qa[ll] quit Vim|:read| :r[ead] read file into the text|:recover| :rec[over] recover a file from a swap file|:redo| :red[o] redo one undone change|:redir| :redi[r] redirect messages to a file or register|:registers| :reg[isters] display the contents of registers|:resize| :res[ize] change current window height|:retab| :ret[ab] change tab size|:return| :retu[rn] return from a user function|:rewind| :rew[ind] go to the first file in the argument list|:right| :ri[ght] right align text|:rviminfo| :rv[iminfo] read from viminfo file|:substitute| :s[ubstitute] find and replace text|:sNext| :sN[ext] split window and go to previous file in argument list|:sargument| :sa[rgument] split window and go to specific file in argument list|:sall| :sal[l] open a window for each file in argument list|:sbuffer| :sb[uffer] split window and go to specific file in the buffer list|:sbNext| :sbN[ext] split window and go to previous file in the buffer list|:sball| :sba[ll] open a window for each file in the buffer list|:sblast| :sbl[ast] split window and go to last file in buffer list|:sbmodified| :sbm[odified] split window and go to modified file in the buffer list|:sbnext| :sbn[ext] split window and go to next file in the buffer list|:sbprevious| :sbp[revious] split window and go to previous file in the buffer list|:sbrewind| :sbr[ewind] split window and go to first file in the buffer list|:set| :se[t] show or set options|:sfind| :sf[ind] split current window and edit file in 'path'|:shell| :sh[ell] escape to a shell|:simalt| :si[malt] Win32 GUI: simulate Windows ALT key|:sleep| :sl[eep] do nothing for a few seconds|:slast| :sla[st] split window and go to last file in the argument list|:smagic| :sm[agic] :substitute with 'magic'|:snext| :sn[ext] split window and go to next file in the argument list|:sniff| :sni[ff] send request to sniff|:snomagic| :sno[magic] :substitute with 'nomagic'|:source| :so[urce] read Vim or Ex commands from a file|:split| :sp[lit] split current window|:sprevious| :spr[evious] split window and go to previous file in the argument list|:srewind| :sr[ewind] split window and go to first file in the argument list|:stop| :st[op] suspend the editor or escape to a shell|:stag| :sta[g] split window and jump to a tag|:startinsert| :star[tinsert] start Insert mode|:stjump| :stj[ump] do ":tjump" and split window|:stselect| :sts[elect] do ":tselect" and split window|:sunhide| :sun[hide] same as ":unhide"|:suspend| :sus[pend] same as ":stop"|:sview| :sv[iew] split window and edit file read-only|:swapname| :sw[apname] show the name of the current swap file|:syntax| :sy[ntax] syntax highlighting|:syncbind| :sync[bind] sync scroll binding|:t| :t same as ":copy"|:tNext| :tN[ext] jump to previous matching tag|:tag| :ta[g] jump to tag|:tags| :tags show the contents of the tag stack|:tcl| :tc[l] execute Tcl command|:tcldo| :tcld[o] execute Tcl command for each line|:tclfile| :tclf[ile] execute Tcl script file|:tearoff| :te[aroff] tear-off a menu|:tjump| :tj[ump] like ":tselect", but jump directly when there is only one match|:tlast| :tl[ast] jump to last matching tag|:tmenu| :tm[enu] define menu tooltip|:tnext| :tn[ext] jump to next matching tag|:tprevious| :tp[revious] jump to previous matching tag|:trewind| :tr[ewind] jump to first matching tag|:tselect| :ts[elect] list matching tags and select one|:tunmenu| :tu[nmenu] remove menu tooltip|:undo| :u[ndo] undo last change(s)|:unabbreviate| :una[bbreviate] remove abbreviation|:unhide| :unh[ide] open a window for each loaded file in the buffer list|:unlet| :unl[et] delete variable|:unmap| :unm[ap] remove mapping|:unmenu| :unme[nu] remove menu|:update| :up[date] write buffer if modified|:vglobal| :v[global] execute commands for not matching lines|:version| :ve[rsion] print version number and other info|:visual| :vi[sual] same as ":edit", but turns off "Ex" mode|:view| :vie[w] edit a file read-only|:vmap| :vm[ap] like ":map" but for Visual mode|:vmapclear| :vmapc[lear] remove all mappings for Visual mode|:vmenu| :vme[nu] add menu for Visual mode|:vnoremap| :vn[oremap] like ":noremap" but for Visual mode|:vnoremenu| :vnoreme[nu] like ":noremenu" but for Visual mode|:vunmap| :vu[nmap] like ":unmap" but for Visual mode|:vunmenu| :vunme[nu] remove menu for Visual mode|:write| :w[rite] write to a file|:wNext| :wN[ext] write to a file and go to previous file in argument list|:wall| :wa[ll] write all (changed) buffers|:while| :wh[ile] execute loop for as long as condition met|:winsize| :wi[nsize] get or set window size (obsolete)|:winpos| :winp[os] get or set window position|:wnext| :wn[ext] write to a file and go to next file in argument list|:wprevious| :wp[revious] write to a file and go to previous file in argument list|:wq| :wq write to a file and quit window or Vim|:wqall| :wqa[ll] write all changed buffers and quit Vim|:wviminfo| :wv[iminfo] write to viminfo file|:xit| :x[it] write if buffer changed and quit window or Vim|:xall| :xa[ll] same as ":wqall"|:yank| :y[ank] yank lines into a register|:z| :z print some lines|:~| :~ repeat last ":substitute" vim:ts=8:sw=8:tw=78:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -