aurum / test /

:set undolevels&vim
:cd `=g:curtest."repo"`
:function GetFirstLastLine(file)
:  let r=readfile(a:file, 'b')
:  let lastempty=empty(get(r, -1, 1))
:  if len(r)>4+lastempty
:    call remove(r, 2, -3-lastempty)
:  endif
:  return r
:command -nargs=1 -bar RZ   :call WriteFile([<q-args>]+getline(1, '$'))
:command -nargs=1 -bar RZC  :RZ <args> | bwipeout!
:command -nargs=1 -bar WG   :call WriteFile(tr(glob(<q-args>, 1), "\n", ' '))
:command -nargs=1 -bar WF   :call WriteFile(<q-args>.':'.string(GetFirstLastLine(<q-args>)))
:command -nargs=1 -bar WGF  :WG * | WF <args>
:command -nargs=* -bar WGFs :WG * | for file in [<f-args>] | execute 'WF' file | endfor
:W{{{1 no fullundo
:let g:aurum_fullundo=0
uAi:RZC{{{2 Add
ui:RZ{{{2 Undo
i:RZC{{{2 Redo
jAi:RZC{{{2 Add
2ui:RZ{{{2 2 Undo
2i:RZC{{{2 2 Redo
:W{{{1 fullundo
:let g:aurum_fullundo=1
OAbcdef,A:W{{{2 Edit
:WGF addeddef
u:W{{{2 Undo
:WGF addeddef
:W{{{2 Redo
:WGF addeddef
OAhijkl,A:W{{{2 Edit 2
:WGF nohglinesrev.lst
2u:W{{{2 2 Undo
:WGFs addeddef nohglinesrev.lst
2:W{{{2 2 Redo
:WGFs addeddef nohglinesrev.lst
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.