Skip to content

Instantly share code, notes, and snippets.

@myme
Last active December 22, 2015 14:49
Show Gist options
  • Save myme/6488474 to your computer and use it in GitHub Desktop.
Save myme/6488474 to your computer and use it in GitHub Desktop.
:version, :scriptnames and :options output. All plugins loaded and while editing / opening a coffee-script buffer.
" Each "set" line shows the current value of an option (on the left).
" Hit <CR> on a "set" line to execute it.
" A boolean option will be toggled.
" For other options you can edit the value.
" Hit <CR> on a help line to open a help window on this option.
" Hit <CR> on an index line to jump there.
" Hit <Space> on a "set" line to refresh it.
1 important
2 moving around, searching and patterns
3 tags
4 displaying text
5 syntax, highlighting and spelling
6 multiple windows
7 multiple tab pages
8 terminal
9 using the mouse
10 printing
11 messages and info
12 selecting text
13 editing text
14 tabs and indenting
15 folding
16 diff mode
17 mapping
18 reading and writing files
19 the swap file
20 command line editing
21 executing external commands
22 running make and jumping to errors
23 language specific
24 multi-byte characters
25 various
1 important
compatible behave very Vi compatible (not advisable)
set nocp cp
cpoptions list of flags to specify Vi compatibility
set cpo=aABceFs
insertmode use Insert mode as the default mode
set noim im
paste paste mode, insert typed text literally
set nopaste paste
pastetoggle key sequence to toggle paste mode
set pt=
runtimepath list of directories used for runtime files and plugins
set rtp=/Users/myme/.vim,/Users/myme/.vim/bundle/ack,/Users/myme/.vim/bundle/airline,/Users/myme/.vim/bundle/coffee,/Users/myme/.vim/bundle/colorschemes,/Users/myme/.vim/bundle/cscope_macros,/Users/myme/.vim/bundle/ctrlp,/Users/myme/.vim/bundle/fugitive,/Users/myme/.vim/bundle/ghcmod,/Users/myme/.vim/bundle/gitv,/Users/myme/.vim/bundle/gundo,/Users/myme/.vim/bundle/haskellmode,/Users/myme/.vim/bundle/jade.vim,/Users/myme/.vim/bundle/javacomplete,/Users/myme/.vim/bundle/linediff,/Users/myme/.vim/bundle/neco-ghc,/Users/myme/.vim/bundle/neocomplcache,/Users/myme/.vim/bundle/nerdtree,/Users/myme/.vim/bundle/numbers,/Users/myme/.vim/bundle/syntastic,/Users/myme/.vim/bundle/tagbar,/Users/myme/.vim/bundle/tomorrow-theme,/Users/myme/.vim/bundle/ultisnips,/Users/myme/.vim/bundle/vim-less,/Users/myme/.vim/bundle/vim2hs,/Users/myme/.vim/bundle/vimclojure,/Users/myme/.vim/bundle/vimproc,/Users/myme/.vim/bundle/vimtodo,/Users/myme/.vim/bundle/zencoding,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,/Users/myme/.vim/bundle/coffee/after,/Users/myme/.vim/bundle/ghcmod/after,/Users/myme/.vim/bundle/ultisnips/after,/Users/myme/.vim/bundle/vim2hs/after,/Users/myme/.vim/after
helpfile name of the main help file
set hf=/usr/share/vim/vim73/doc/help.txt
2 moving around, searching and patterns
whichwrap list of flags specifying which commands wrap to another line
(local to window)
set ww=b,s
startofline many jump commands move the cursor to the first non-blank
character of a line
set sol nosol
paragraphs nroff macro names that separate paragraphs
set para=IPLPPPQPP\ TPHPLIPpLpItpplpipbp
sections nroff macro names that separate sections
set sect=SHNHH\ HUnhsh
path list of directory names used for file searching
(global or local to buffer)
set pa=.,/usr/include,,
cdpath list of directory names used for :cd
set cd=,,
autochdir change to directory of file in buffer
set noacd acd
wrapscan search commands wrap around the end of the buffer
set ws nows
incsearch show match for partly typed search command
set is nois
magic change the way backslashes are used in search patterns
set magic nomagic
ignorecase ignore case when using a search pattern
set noic ic
smartcase override 'ignorecase' when pattern has upper case characters
set noscs scs
casemap what method to use for changing case of letters
set cmp=internal,keepascii
maxmempattern maximum amount of memory in Kbyte used for pattern matching
set mmp=1000
define pattern for a macro definition line
(global or local to buffer)
set def=^\\s*#\\s*define
include pattern for an include-file line
(local to buffer)
set inc=^\\s*#\\s*include
includeexpr expression used to transform an include line to a file name
(local to buffer)
set inex=
3 tags
tagbsearch use binary searching in tags files
set tbs notbs
taglength number of significant characters in a tag name or zero
set tl=0
tags list of file names to search for tags
(global or local to buffer)
set tag=/Users/myme/projects/elvis/.git/tags,./tags,tags
tagrelative file names in a tags file are relative to the tags file
set tr notr
tagstack a :tag command will use the tagstack
set tgst notgst
showfulltag when completing tags in Insert mode show more info
set nosft sft
cscopeprg command for executing cscope
set csprg=cscope
cscopetag use cscope for tag commands
set cst nocst
cscopetagorder 0 or 1; the order in which ":cstag" performs a search
set csto=0
cscopeverbose give messages when adding a cscope database
set csverb nocsverb
cscopepathcomp how many components of the path to show
set cspc=0
cscopequickfix when to open a quickfix window for cscope
set csqf=
4 displaying text
scroll number of lines to scroll for CTRL-U and CTRL-D
(local to window)
set scr=13
scrolloff number of screen lines to show around the cursor
set so=0
wrap long lines wrap
set nowrap wrap
linebreak wrap long lines at a character in 'breakat'
(local to window)
set nolbr lbr
breakat which characters might cause a line break
set brk=\ \ !@*-+;:,./?
showbreak string to put before wrapped screen lines
set sbr=
sidescroll minimal number of columns to scroll horizontally
set ss=0
sidescrolloff minimal number of columns to keep left and right of the cursor
set siso=0
display include "lastline" to show the last line even if it doesn't fit
include "uhex" to show unprintable characters as a hex number
set dy=
fillchars characters to use for the status line, folds and filler lines
set fcs=vert:\|,fold:-
cmdheight number of lines used for the command-line
set ch=1
columns width of the display
set co=102
lines number of lines in the display
set lines=58
window number of lines to scroll for CTRL-F and CTRL-B
set window=0
lazyredraw don't redraw while executing macros
set nolz lz
redrawtime timeout for 'hlsearch' and :match highlighting in msec
set rdt=2000
writedelay delay in msec for each char written to the display
(for debugging)
set wd=0
list show <Tab> as ^I and end-of-line as $
(local to window)
set nolist list
listchars list of strings used for list mode
set lcs=eol:$
number show the line number for each line
(local to window)
set nonu nu
relativenumber show the relative line number for each line
(local to window)
set rnu nornu
numberwidth number of columns to use for the line number
(local to window)
set nuw=1
5 syntax, highlighting and spelling
background "dark" or "light"; the background color brightness
set bg=light
filetype type of file; triggers the FileType event when set
(local to buffer)
set ft=coffee
syntax name of syntax highlighting used
(local to buffer)
set syn=coffee
synmaxcol maximum column to look for syntax items
(local to buffer)
set smc=3000
highlight which highlighting to use for various occasions
set hl=8:SpecialKey,@:NonText,d:Directory,e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,M:ModeMsg,n:LineNr,r:Question,s:StatusLine,S:StatusLineNC,c:VertSplit,t:Title,v:Visual,V:VisualNOS,w:WarningMsg,W:WildMenu,f:Folded,F:FoldColumn,A:DiffAdd,C:DiffChange,D:DiffDelete,T:DiffText,>:SignColumn,-:Conceal,B:SpellBad,P:SpellCap,R:SpellRare,L:SpellLocal,+:Pmenu,=:PmenuSel,x:PmenuSbar,X:PmenuThumb,*:TabLine,#:TabLineSel,_:TabLineFill,!:CursorColumn,.:CursorLine,o:ColorColumn
hlsearch highlight all matches for the last used search pattern
set hls nohls
cursorcolumn highlight the screen column of the cursor
(local to window)
set cuc nocuc
cursorline highlight the screen line of the cursor
(local to window)
set cul nocul
colorcolumn columns to highlight
(local to window)
set cc=
spell highlight spelling mistakes
(local to window)
set nospell spell
spelllang list of accepted languages
(local to buffer)
set spl=en
spellfile file that "zg" adds good words to
(local to buffer)
set spf=
spellcapcheck pattern to locate the end of a sentence
(local to buffer)
set spc=[.?!]\\_[\\])'\"\ \ ]\\+
spellsuggest methods used to suggest corrections
set sps=best
mkspellmem amount of memory used by :mkspell before compressing
set msm=460000,2000,500
6 multiple windows
laststatus 0, 1 or 2; when to use a status line for the last window
set ls=2
statusline alternate format to be used for a status line
set stl=%{airline#check_mode()}%#airline_a#%(\ %{airline#util#wrap(airline#parts#mode(),0)}%{airline#util#append(airline#parts#paste(),0)}%{airline#util#append(airline#parts#iminsert(),0)}\ %)%#airline_a_to_airline_b#%#airline_b#%(\ %{airline#util#wrap(airline#extensions#branch#get_head(),0)}\ %)%#airline_b_to_airline_c#%#airline_c#%(\ %<%f%m\ %)%#airline_c#\ %#airline_file#%{airline#util#wrap(airline#parts#readonly(),0)}%=%#airline_c_to_airline_x#%#airline_x#%(\ %{airline#util#prepend(airline#extensions#tagbar#currenttag(),0)}%{airline#util#wrap(airline#parts#filetype(),0)}\ %)%#airline_x_to_airline_y#%#airline_y#%(\ %{printf(\"%s%s\",&fenc,strlen(&ff)>0?\"[\".&ff.\"]\":\"\")}\ %)%#airline_y_to_airline_z#%#airline_z#%(\ %3p%%\ %{g:airline_symbols.linenr}\ %3l:%3c\ \ %)%(%#airline_z_to_airline_warning#%#airline_warning#%(\ %{airline#util#wrap(airline#extensions#syntastic#get_warnings(),0)}%{airline#util#wrap(airline#extensions#whitespace#check(),0)}\ %)%)
equalalways make all windows the same size when adding/removing windows
set ea noea
eadirection in which direction 'equalalways' works: "ver", "hor" or "both"
set ead=both
winheight minimal number of lines used for the current window
set wh=1
winminheight minimal number of lines used for any window
set wmh=1
winfixheight keep the height of the window
(local to window)
set nowfh wfh
winfixwidth keep the width of the window
(local to window)
set nowfw wfw
winwidth minimal number of columns used for the current window
set wiw=20
winminwidth minimal number of columns used for any window
set wmw=1
helpheight initial height of the help window
set hh=20
previewheight default height for the preview window
set pvh=12
previewwindow identifies the preview window
(local to window)
set nopvw pvw
hidden don't unload a buffer when no longer shown in a window
set nohid hid
switchbuf "useopen" and/or "split"; which window to use when jumping
to a buffer
set swb=
splitbelow a new window is put below the current one
set nosb sb
splitright a new window is put right of the current one
set nospr spr
scrollbind this window scrolls together with other bound windows
(local to window)
set noscb scb
scrollopt "ver", "hor" and/or "jump"; list of options for 'scrollbind'
set sbo=ver,jump
cursorbind this window's cursor moves together with other bound windows
(local to window)
set nocrb crb
7 multiple tab pages
showtabline 0, 1 or 2; when to use a tab pages line
set stal=1
tabpagemax maximum number of tab pages to open for -p and "tab all"
set tpm=10
tabline custom tab pages line
set tal=
8 terminal
term name of the used terminal
set term=screen-256color
ttytype alias for 'term'
set tty=screen-256color
ttybuiltin check built-in termcaps first
set tbi notbi
ttyfast terminal connection is fast
set tf notf
weirdinvert terminal that requires extra redrawing
set nowiv wiv
esckeys recognize keys that start with <Esc> in Insert mode
set ek noek
scrolljump minimal number of lines to scroll at a time
set sj=1
ttyscroll maximum number of lines to use scrolling instead of redrawing
set tsl=999
title show info in the window title
set notitle title
titlelen percentage of 'columns' used for the window title
set titlelen=85
titlestring when not empty, string to be used for the window title
set titlestring=
titleold string to restore the title to when exiting Vim
set titleold=Thanks\ for\ flying\ Vim
icon set the text of the icon for this window
set noicon icon
iconstring when not empty, text for the icon of this window
set iconstring=
9 using the mouse
mouse list of flags for using the mouse
set mouse=
mousemodel "extend", "popup" or "popup_setpos"; what the right
mouse button is used for
set mousem=extend
mousetime maximum time in msec to recognize a double-click
set mouset=500
ttymouse "xterm", "xterm2", "dec" or "netterm"; type of mouse
set ttym=xterm
10 printing
printoptions list of items that control the format of :hardcopy output
set popt=
printdevice name of the printer to be used for :hardcopy
set pdev=
printexpr expression used to print the PostScript file for :hardcopy
set pexpr=system('lpr'\ .\ (&printdevice\ ==\ ''\ ?\ ''\ :\ '\ -P'\ .\ &printdevice)\ .\ '\ '\ .\ v:fname_in)\ .\ delete(v:fname_in)\ +\ v:shell_error
printfont name of the font to be used for :hardcopy
set pfn=courier
printheader format of the header used for :hardcopy
set pheader=%<%f%h%m%=Page\ %N
printencoding encoding used to print the PostScript file for :hardcopy
set penc=
printmbcharset the CJK character set to be used for CJK output from :hardcopy
set pmbcs=
printmbfont list of font names to be used for CJK output from :hardcopy
set pmbfn=
11 messages and info
terse add 's' flag in 'shortmess' (don't show search message)
set noterse terse
shortmess list of flags to make messages shorter
set shm=filnxtToO
showcmd show (partial) command keys in the status line
set sc nosc
showmode display the current mode in the status line
set smd nosmd
ruler show cursor position below each window
set ru noru
rulerformat alternate format to be used for the ruler
set ruf=
report threshold for reporting number of changed lines
set report=2
verbose the higher the more messages are given
set vbs=0
verbosefile file to write messages in
set vfile=
more pause listings when the screen is full
set more nomore
confirm start a dialog when a command fails
set nocf cf
errorbells ring the bell for error messages
set noeb eb
visualbell use a visual bell instead of beeping
set novb vb
helplang list of preferred languages for finding help
set hlg=en
12 selecting text
selection "old", "inclusive" or "exclusive"; how selecting text behaves
set sel=inclusive
selectmode "mouse", "key" and/or "cmd"; when to start Select mode
instead of Visual mode
set slm=
keymodel "startsel" and/or "stopsel"; what special keys can do
set km=
13 editing text
undolevels maximum number of changes that can be undone
set ul=1000
undoreload maximum number lines to save for undo on a buffer reload
set ur=10000
modified changes have been made and not written to a file
(local to buffer)
set nomod mod
readonly buffer is not to be written
(local to buffer)
set noro ro
modifiable changes to the text are not possible
(local to buffer)
set ma noma
textwidth line length above which to break a line
(local to buffer)
set tw=0
wrapmargin margin from the right in which to break a line
(local to buffer)
set wm=0
backspace specifies what <BS>, CTRL-W, etc. can do in Insert mode
set bs=indent,eol,start
comments definition of what comment lines look like
(local to buffer)
set com=:#
formatoptions list of flags that tell how automatic formatting works
(local to buffer)
set fo=croql
formatlistpat pattern to recognize a numbered list
(local to buffer)
set flp=^\\s*\\d\\+[\\]:.)}\\t\ ]\\s*
formatexpr expression used for "gq" to format lines
(local to buffer)
set fex=
complete specifies how Insert mode completion works for CTRL-N and CTRL-P
(local to buffer)
set cpt=.,w,b,u,t,i
completeopt whether to use a popup menu for Insert mode completion
set cot=menu,menuone,longest,preview
pumheight maximum height of the popup menu
set ph=0
completefunc user defined function for Insert mode completion
(local to buffer)
set cfu=neocomplcache#manual_complete
omnifunc function for filetype-specific Insert mode completion
(local to buffer)
set ofu=javascriptcomplete#CompleteJS
dictionary list of dictionary files for keyword completion
(global or local to buffer)
set dict=
thesaurus list of thesaurus files for keyword completion
(global or local to buffer)
set tsr=
infercase adjust case of a keyword completion match
(local to buffer)
set noinf inf
digraph enable entering digraps with c1 <BS> c2
set nodg dg
tildeop the "~" command behaves like an operator
set notop top
operatorfunc function called for the"g@" operator
set opfunc=
showmatch when inserting a bracket, briefly jump to its match
set nosm sm
matchtime tenth of a second to show a match for 'showmatch'
set mat=5
matchpairs list of pairs that match for the "%" command
(local to buffer)
set mps=(:),{:},[:]
joinspaces use two spaces after '.' when joining a line
set js nojs
nrformats "alpha", "octal" and/or "hex"; number formats recognized for
CTRL-A and CTRL-X commands
(local to buffer)
set nf=octal,hex
14 tabs and indenting
tabstop number of spaces a <Tab> in the text stands for
(local to buffer)
set ts=2
shiftwidth number of spaces used for each step of (auto)indent
(local to buffer)
set sw=2
smarttab a <Tab> in an indent inserts 'shiftwidth' spaces
set nosta sta
softtabstop if non-zero, number of spaces to insert for a <Tab>
(local to buffer)
set sts=2
shiftround round to 'shiftwidth' for "<<" and ">>"
set nosr sr
expandtab expand <Tab> to spaces in Insert mode
(local to buffer)
set et noet
autoindent automatically set the indent of a new line
(local to buffer)
set ai noai
smartindent do clever autoindenting
(local to buffer)
set si nosi
cindent enable specific indenting for C code
(local to buffer)
set nocin cin
cinoptions options for C-indenting
(local to buffer)
set cino=
cinkeys keys that trigger C-indenting in Insert mode
(local to buffer)
set cink=0{,0},0),:,0#,!^F,o,O,e
cinwords list of words that cause more C-indent
(local to buffer)
set cinw=if,else,while,do,for,switch
indentexpr expression used to obtain the indent of a line
(local to buffer)
set inde=GetCoffeeIndent(v:lnum)
indentkeys keys that trigger indenting with 'indentexpr' in Insert mode
(local to buffer)
set indk=0{,0},:,0#,!^F,o,O,e,0],0),0.,=else,=when,=catch,=finally
copyindent copy whitespace for indenting from previous line
(local to buffer)
set noci ci
preserveindent preserve kind of whitespace when changing indent
(local to buffer)
set nopi pi
lisp enable lisp mode
(local to buffer)
set nolisp lisp
lispwords words that change how lisp indenting works
set lw=defun,define,defmacro,set!,lambda,if,case,let,flet,let*,letrec,do,do*,define-syntax,let-syntax,letrec-syntax,destructuring-bind,defpackage,defparameter,defstruct,deftype,defvar,do-all-symbols,do-external-symbols,do-symbols,dolist,dotimes,ecase,etypecase,eval-when,labels,macrolet,multiple-value-bind,multiple-value-call,multiple-value-prog1,multiple-value-setq,prog1,progv,typecase,unless,unwind-protect,when,with-input-from-string,with-open-file,with-open-stream,with-output-to-string,with-package-iterator,define-condition,handler-bind,handler-case,restart-bind,restart-case,with-simple-restart,store-value,use-value,muffle-warning,abort,continue,with-slots,with-slots*,with-accessors,with-accessors*,defclass,defmethod,print-unreadable-object
15 folding
foldenable set to display all folds open
(local to window)
set fen nofen
foldlevel folds with a level higher than this number will be closed
(local to window)
set fdl=1
foldlevelstart value for 'foldlevel' when starting to edit a file
set fdls=-1
foldcolumn width of the column used to indicate folds
(local to window)
set fdc=0
foldtext expression used to display the text of a closed fold
(local to window)
set fdt=foldtext()
foldclose set to "all" to close a fold when the cursor leaves it
set fcl=
foldopen specifies for which commands a fold will be opened
set fdo=block,hor,mark,percent,quickfix,search,tag,undo
foldminlines minimum number of screen lines for a fold to be closed
(local to window)
set fml=5
commentstring template for comments; used to put the marker in
set cms=#\ %s
foldmethod folding type: "manual", "indent", "expr", "marker" or "syntax"
(local to window)
set fdm=indent
foldexpr expression used when 'foldmethod' is "expr"
(local to window)
set fde=0
foldignore used to ignore lines when 'foldmethod' is "indent"
(local to window)
set fdi=#
foldmarker markers used when 'foldmethod' is "marker"
(local to window)
set fmr={{{,}}}
foldnestmax maximum fold depth for when 'foldmethod is "indent" or "syntax"
(local to window)
set fdn=20
16 diff mode
diff use diff mode for the current window
(local to window)
set nodiff diff
diffopt options for using diff mode
set dip=filler
diffexpr expression used to obtain a diff file
set dex=
patchexpr expression used to patch a file
set pex=
17 mapping
maxmapdepth maximum depth of mapping
set mmd=1000
remap recognize mappings in mapped keys
set remap noremap
timeout allow timing out halfway into a mapping
set to noto
ttimeout allow timing out halfway into a key code
set nottimeout ttimeout
timeoutlen time in msec for 'timeout'
set tm=1000
ttimeoutlen time in msec for 'ttimeout'
set ttm=-1
18 reading and writing files
modeline enable using settings from modelines when reading a file
(local to buffer)
set ml noml
modelines number of lines to check for modelines
set mls=0
binary binary file editing
(local to buffer)
set nobin bin
endofline last line in the file has an end-of-line
(local to buffer)
set eol noeol
bomb prepend a Byte Order Mark to the file
(local to buffer)
set nobomb bomb
fileformat end-of-line format: "dos", "unix" or "mac"
(local to buffer)
set ff=unix
fileformats list of file formats to look for when editing a file
set ffs=unix,dos
textmode obsolete, use 'fileformat'
(local to buffer)
set notx tx
textauto obsolete, use 'fileformats'
set ta nota
write writing files is allowed
set write nowrite
writebackup write a backup file before overwriting a file
set wb nowb
backup keep a backup after overwriting a file
set nobk bk
backupskip patterns that specify for which files a backup is not made
set bsk=/tmp/*,/var/folders/g4/dwz50rtd20x7hh8sg2pyftmr0000gn/T/*
backupcopy whether to make the backup as a copy or rename the existing file
set bkc=auto
backupdir list of directories to put backup files in
set bdir=.,/Users/myme/tmp,/Users/myme/
backupext file name extension for the backup file
set bex=~
autowrite automatically write a file when leaving a modified buffer
set noaw aw
autowriteall as 'autowrite', but works with more commands
set noawa awa
writeany always write without asking for confirmation
set nowa wa
autoread automatically read a file when it was modified outside of Vim
(global or local to buffer)
set noar ar
patchmode keep oldest version of a file; specifies file name extension
set pm=
fsync forcibly sync the file to disk after writing it
set fs nofs
shortname use 8.3 file names
(local to buffer)
set nosn sn
cryptmethod encryption method for file writing: zip or blowfish
(local to buffer)
set cm=zip
19 the swap file
directory list of directories for the swap file
set dir=.,/Users/myme/tmp,/var/tmp,/tmp
swapfile use a swap file for this buffer
(local to buffer)
set swf noswf
swapsync "sync", "fsync" or empty; how to flush a swap file to disk
set sws=fsync
updatecount number of characters typed to cause a swap file update
set uc=200
updatetime time in msec after which the swap file will be updated
set ut=4000
maxmem maximum amount of memory in Kbyte used for one buffer
set mm=771142
maxmemtot maximum amount of memory in Kbyte used for all buffers
set mmt=771142
20 command line editing
history how many command lines are remembered
set hi=50
wildchar key that triggers command-line expansion
set wc=9
wildcharm like 'wildchar' but can also be used in a mapping
set wcm=0
wildmode specifies how command line completion works
set wim=longest:full,full
suffixes list of file name extensions that have a lower priority
set su=.bak,~,.o,.h,.info,.swp,.obj
suffixesadd list of file name extensions added when searching for a file
(local to buffer)
set sua=
wildignore list of patterns to ignore files for file name completion
set wig=
wildmenu command-line completion shows a list of matches
set wmnu nowmnu
cedit key used to open the command-line window
set cedit=
cmdwinheight height of the command-line window
set cwh=7
undofile automatically save and restore undo history
set noudf udf
undodir list of directories for undo files
set udir=.
21 executing external commands
shell name of the shell program used for external commands
set sh=/bin/zsh
shellquote character(s) to enclose a shell command in
set shq=
shellxquote like 'shellquote' but include the redirection
set sxq=
shellcmdflag argument for 'shell' to execute a command
set shcf=-c
shellredir used to redirect command output to a file
set srr=>%s\ 2>&1
shelltemp use a temp file for shell commands instead of using a pipe
set stmp nostmp
equalprg program used for "=" command
(global or local to buffer)
set ep=
formatprg program used to format lines with "gq" command
set fp=
keywordprg program used for the "K" command
set kp=man\ -s
warn warn when using a shell command and a buffer has changes
set warn nowarn
22 running make and jumping to errors
errorfile name of the file that contains error messages
set ef=errors.err
errorformat list of formats for error messages
(global or local to buffer)
set efm=Error:\ In\ %f\\,\ %m\ on\ line\ %l,Error:\ In\ %f\\,\ Parse\ error\ on\ line\ %l:\ %m,SyntaxError:\ In\ %f\\,\ %m,%f:%l:%c:\ error:\ %m,%-G%.%#
makeprg program used for the ":make" command
(global or local to buffer)
set mp=make
shellpipe string used to put the output of ":make" in the error file
set sp=2>&1\|\ tee
makeef name of the errorfile for the 'makeprg' command
set mef=
grepprg program used for the ":grep" command
(global or local to buffer)
set gp=grep\ -n\ $*\ /dev/null
grepformat list of formats for output of 'grepprg'
set gfm=%f:%l:%m,%f:%l%m,%f\ \ %l%m
23 language specific
isfname specifies the characters in a file name
set isf=@,48-57,/,.,-,_,+,,,#,$,%,~,=
isident specifies the characters in an identifier
set isi=@,48-57,_,192-255,$
iskeyword specifies the characters in a keyword
(local to buffer)
set isk=@,48-57,_,192-255
isprint specifies printable characters
set isp=@,161-255
quoteescape specifies escape characters in a string
(local to buffer)
set qe=\\
iminsert in Insert mode: 1: use :lmap; 2: use IM; 0: neither
(local to window)
set imi=0
imsearch entering a search pattern: 1: use :lmap; 2: use IM; 0: neither
(local to window)
set ims=0
24 multi-byte characters
encoding character encoding used in Vim: "latin1", "utf-8"
"euc-jp", "big5", etc.
set enc=utf-8
fileencoding character encoding for the current file
(local to buffer)
set fenc=utf-8
fileencodings automatically detected character encodings
set fencs=ucs-bom,utf-8,default,latin1
termencoding character encoding used by the terminal
set tenc=
charconvert expression used for character encoding conversion
set ccv=
delcombine delete combining (composing) characters on their own
set nodeco deco
maxcombine maximum number of combining (composing) characters displayed
set mco=2
ambiwidth width of ambiguous width characters
set ambw=single
25 various
virtualedit when to use virtual editing: "block", "insert" and/or "all"
set ve=
eventignore list of autocommand events which are to be ignored
set ei=
loadplugins load plugin scripts when starting up
set lpl nolpl
exrc enable reading .vimrc/.exrc/.gvimrc in the current directory
set noex ex
secure safer working with script files in the current directory
set nosecure secure
gdefault use the 'g' flag for ":substitute"
set nogd gd
edcompatible 'g' and 'c' flags of ":substitute" toggle
set noed ed
maxfuncdepth maximum depth of function calls
set mfd=100
sessionoptions list of words that specifies what to put in a session file
set ssop=blank,buffers,curdir,folds,help,options,tabpages,winsize
viewoptions list of words that specifies what to save for :mkview
set vop=folds,options,cursor
viewdir directory where to store files with :mkview
set vdir=/Users/myme/.vim/view
viminfo list that specifies what to write in the viminfo file
set vi='100,<50,s10,h
bufhidden what happens with a buffer when it's no longer in a window
(local to buffer)
set bh=
buftype "", "nofile", "nowrite" or "quickfix": type of buffer
(local to buffer)
set bt=
buflisted whether the buffer shows up in the buffer list
(local to buffer)
set bl nobl
debug set to "msg" to see all error messages
set debug=
1: /usr/share/vim/vimrc
2: /Users/myme/.vimrc
3: /Users/myme/configs/vim/vim/autoload/pathogen.vim
4: /Users/myme/configs/vim/vim/colors/railscasts_myme.vim
5: /usr/share/vim/vim73/syntax/syntax.vim
6: /usr/share/vim/vim73/syntax/synload.vim
7: /usr/share/vim/vim73/syntax/syncolor.vim
8: /usr/share/vim/vim73/filetype.vim
9: /Users/myme/configs/vim/vim/bundle/coffee/ftdetect/coffee.vim
10: /Users/myme/configs/vim/vim/bundle/jade.vim/ftdetect/jade.vim
11: /Users/myme/configs/vim/vim/bundle/ultisnips/ftdetect/UltiSnips.vim
12: /Users/myme/configs/vim/vim/bundle/ultisnips/ftdetect/snippets.vim
13: /Users/myme/configs/vim/vim/bundle/vim-less/ftdetect/less.vim
14: /Users/myme/configs/vim/vim/bundle/vim2hs/ftdetect/heist.vim
15: /Users/myme/configs/vim/vim/bundle/vim2hs/ftdetect/jmacro.vim
16: /Users/myme/configs/vim/vim/bundle/vimclojure/ftdetect/clojure.vim
17: /usr/share/vim/vim73/ftplugin.vim
18: /usr/share/vim/vim73/indent.vim
19: /Users/myme/configs/vim/vim/bundle/ack/plugin/ack.vim
20: /Users/myme/configs/vim/vim/bundle/airline/plugin/airline.vim
21: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline.vim
22: /Users/myme/configs/vim/vim/bundle/cscope_macros/plugin/cscope_macros.vim
23: /Users/myme/configs/vim/vim/bundle/ctrlp/plugin/ctrlp.vim
24: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/mrufiles.vim
25: /Users/myme/configs/vim/vim/bundle/fugitive/plugin/fugitive.vim
26: /Users/myme/configs/vim/vim/bundle/gitv/plugin/gitv.vim
27: /Users/myme/configs/vim/vim/bundle/gundo/plugin/gundo.vim
28: /Users/myme/configs/vim/vim/bundle/linediff/plugin/linediff.vim
29: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache/buffer_complete.vim
30: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache/dictionary_complete.vim
31: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache/include_complete.vim
32: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache/syntax_complete.vim
33: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache/tags_complete.vim
34: /Users/myme/configs/vim/vim/bundle/neocomplcache/plugin/neocomplcache.vim
35: /Users/myme/configs/vim/vim/bundle/nerdtree/plugin/NERD_tree.vim
36: /Users/myme/configs/vim/vim/bundle/numbers/plugin/numbers.vim
37: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/autoloclist.vim
38: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/balloons.vim
39: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/checker.vim
40: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/cursor.vim
41: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/highlighting.vim
42: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/loclist.vim
43: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/makeprg_builder.vim
44: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/modemap.vim
45: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/notifiers.vim
46: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/registry.vim
47: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic/signs.vim
48: /Users/myme/configs/vim/vim/bundle/syntastic/plugin/syntastic.vim
49: /Users/myme/configs/vim/vim/bundle/tagbar/plugin/tagbar.vim
50: /Users/myme/configs/vim/vim/bundle/ultisnips/plugin/UltiSnips.vim
51: /Users/myme/configs/vim/vim/bundle/ultisnips/plugin/snipMate_compatibility.vim
52: /Users/myme/configs/vim/vim/bundle/vim2hs/plugin/haskell_tags.vim
53: /Users/myme/configs/vim/vim/bundle/vim2hs/plugin/hpaste.vim
54: /Users/myme/configs/vim/vim/bundle/vim2hs/plugin/offside.vim
55: /Users/myme/configs/vim/vim/bundle/vimclojure/plugin/clojure.vim
56: /Users/myme/configs/vim/vim/bundle/vimclojure/autoload/vimclojure.vim
57: /Users/myme/configs/vim/vim/bundle/vimproc/plugin/vimproc.vim
58: /Users/myme/configs/vim/vim/bundle/zencoding/plugin/zencoding.vim
59: /usr/share/vim/vim73/plugin/getscriptPlugin.vim
60: /usr/share/vim/vim73/plugin/gzip.vim
61: /usr/share/vim/vim73/plugin/matchparen.vim
62: /usr/share/vim/vim73/plugin/netrwPlugin.vim
63: /usr/share/vim/vim73/plugin/rrhelper.vim
64: /usr/share/vim/vim73/plugin/spellfile.vim
65: /usr/share/vim/vim73/plugin/tarPlugin.vim
66: /usr/share/vim/vim73/plugin/tohtml.vim
67: /usr/share/vim/vim73/plugin/vimballPlugin.vim
68: /usr/share/vim/vim73/plugin/zipPlugin.vim
69: /Users/myme/configs/vim/vim/bundle/ultisnips/after/plugin/UltiSnips_after.vim
70: /Users/myme/configs/vim/vim/bundle/vim2hs/after/plugin/tabular_haskell.vim
71: /Users/myme/configs/vim/vim/bundle/vim2hs/autoload/vim2hs.vim
72: /Users/myme/configs/vim/vim/bundle/vim2hs/autoload/vim2hs/haskell/editing.vim
73: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/init.vim
74: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/parts.vim
75: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions.vim
76: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/ctrlp.vim
77: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/tagbar.vim
78: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/branch.vim
79: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/whitespace.vim
80: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/syntastic.vim
81: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/section.vim
82: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/themes/powerlineish.vim
83: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/themes.vim
84: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/builder.vim
85: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/util.vim
86: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/extensions/default.vim
87: /Users/myme/configs/vim/vim/bundle/airline/autoload/airline/highlighter.vim
88: /Users/myme/configs/vim/vim/bundle/syntastic/autoload/syntastic/util.vim
89: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/neocomplcache.vim
90: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/neocomplcache/util.vim
91: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/vital.vim
92: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/vital/_9813ec6.vim
93: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/vital/_9813ec6/prelude.vim
94: /Users/myme/configs/vim/vim/bundle/neocomplcache/autoload/vital/_9813ec6/data/list.vim
95: /Users/myme/configs/vim/vim/bundle/nerdtree/nerdtree_plugin/exec_menuitem.vim
96: /Users/myme/configs/vim/vim/bundle/nerdtree/nerdtree_plugin/fs_menu.vim
97: /Users/myme/configs/vim/vim/bundle/tagbar/autoload/tagbar.vim
98: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp.vim
99: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/utils.vim
100: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/tag.vim
101: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/buffertag.vim
102: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/quickfix.vim
103: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/line.vim
104: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/mixed.vim
105: /Users/myme/configs/vim/vim/bundle/ctrlp/autoload/ctrlp/bookmarkdir.vim
106: /usr/share/vim/vim73/scripts.vim
107: /Users/myme/configs/vim/vim/bundle/coffee/syntax/coffee.vim
108: /usr/share/vim/vim73/syntax/javascript.vim
109: /Users/myme/configs/vim/vim/bundle/coffee/ftplugin/coffee.vim
110: /Users/myme/configs/vim/vim/bundle/coffee/autoload/coffee.vim
111: /Users/myme/configs/vim/vim/bundle/coffee/compiler/coffee.vim
112: /Users/myme/configs/vim/vim/after/ftplugin/coffee.vim
113: /Users/myme/configs/vim/vim/bundle/coffee/indent/coffee.vim
114: /Users/myme/configs/vim/vim/bundle/syntastic/syntax_checkers/coffee/coffee.vim
115: /Users/myme/configs/vim/vim/bundle/syntastic/syntax_checkers/coffee/coffeelint.vim
116: /Users/myme/configs/vim/vim/bundle/syntastic/autoload/syntastic/makeprg.vim
117: /usr/share/vim/vim73/optwin.vim
118: /usr/share/vim/vim73/syntax/vim.vim
119: /usr/share/vim/vim73/syntax/ruby.vim
120: /usr/share/vim/vim73/syntax/python.vim
121: /usr/share/vim/vim73/ftplugin/vim.vim
122: /usr/share/vim/vim73/indent/vim.vim
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan 28 2013 21:02:22)
Compiled by root@apple.com
Normal version without GUI. Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent -clientserver -clipboa
+cmdline_compl +cmdline_hist +cmdline_info +comments -conceal +cryptv +cscope +cursorbind
+cursorshape +dialog_con +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 -mouseshape -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_nett
-mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer -profile +python/dyn -python3 +quickfix
+reltime -rightleft +ruby/dyn +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. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch i386 -arch x86_64 -g -Os -pipe
Linking: gcc -arch i386 -arch x86_64 -o vim -lncurses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment