aurum / test / cmd-record.in

:W{{{1 edit-commit-vimdiff
:R call writefile([''], 'hglines.lst')
:R AuRecord
:silent 1/M
AiG,D
:WW
do:silent write!
:wincmd j
:bwipeout!
:
:bwipeout!
:
:W{{{1 i mapping
:R AuRecord
:silent 1/M
AiAbc:silent write
:
:
:WT
:W{{{1 BufWriteCmd event
:R AuRecord
A:silent write
:
Def:silent write
:
:
:WT
:W{{{1 ARiX
:R AuRecord
ARiX
:
:
:WT
:W{{{1 2A2RiX
:R AuRecord
2A2RiX
:
:WT
:W{{{1 message, {count}A
:R AuRecord message Ghi
2Ai
:
:
:WT
:W{{{1 message, user, date
:let date=strftime('%Y-%m-%d_%H:%M', 1200873600)
:exe 'R AuRecord message Jkl user B\ <b@example.org> date '.date
Ai
:
:
:WT!
:W{{{1 edit-discard
:R silent edit nohglinesrev.lst
:call append('$', 'This is a new text')
:silent write
:bwipeout!
:R AuRecord message Mno
OGdo:silent write
:
:
,xiX
:
:
:WT
:W{{{1 edit-discardall
:R AuRecord message Mno
OGdo:silent write
:
:
,X
:
:
:WT
:W{{{1 edit-edit-ignore
:R AuRecord message Mno
OGdo:silent write
:
:
jOzRggdd,RiX
:
:
:WT
:W{{{1 edit-commit
:R AuRecord message Mno
OGdo,i
:
:
:WT
:W{{{1 edit-commit-discard-commit
:R call writefile([''], '1')
:R call writefile([''], '2')
:R call writefile([''], '3')
:R AuRecord
Ai,XjAiAdded 1 and 2:silent write
:
:
:WT
:Run silent AuStatus
:bwipeout!
:
:W{{{1 edit-add-edit-remove-remove
:command -nargs=1 -bar WThree :R call WriteFile(<q-args>.': '.tr(glob('3*'), "\n", ' '))
:R AuRecord
:WThree Initial state
O:w
:wincmd p
:WThree After edit
:Run 0
A:WThree After add
:Run 0
O:w
:wincmd p
:WThree After edit
:Run 0
R:WThree After first remove
:Run 0
R:WThree After second remove
:Run 0
:bwipeout!
:
:source addmessages.vim
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 ProjectModifiedEvent.java.
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.