1" Add the following to your .vimrc to automatically load this on startup
3" if filereadable(".vim.custom")
7function StripTrailingWhitespace()
9 let mycolumn = col(".")
11 call cursor(myline, mycolumn)
14" enable syntax highlighting
17" search for the tags file anywhere between here and /
20" highlight tabs and trailing spaces
21set listchars=tab:‗‗,trail:‗
25map <F2> :exec ":!hasktags -x -c --ignore src"<CR><CR>
27" strip trailing whitespace before saving
28" au BufWritePre *.hs,*.markdown silent! cal StripTrailingWhitespace()
30" rebuild hasktags after saving
31au BufWritePost *.hs silent! :exec ":!hasktags -x -c --ignore src"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list