VIM plugin for fossil

Check-in [c2291a7f07]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:a:000
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:c2291a7f07f8b2092c35fd947ea6caa1a652320d
User & Date: cristian 2012-10-17 20:21:06
Context
2012-10-17
20:30
Fcommit was deleted and a command is used instead check-in: bb04664566 user: cristian tags: trunk
20:21
a:000 check-in: c2291a7f07 user: cristian tags: trunk
19:41
Added Gstatus command check-in: 9bd0beb81d user: cristian tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to fossil.vim.

9
10
11
12
13
14
15

16
17
18
19
20
21
22
..
38
39
40
41
42
43
44
45





46

let g:loaded_fossil = 1

" Setting up commands

command -nargs=0  Fdiff  :call s:FossilSDiff()
command -nargs=0  Fvdiff  :call s:FossilVDiff()
command -nargs=0  Fstatus  :call s:FossilStatus()


function s:createScratch() abort
  :enew
  :setlocal buftype=nofile
  :setlocal bufhidden=hide
  :setlocal noswapfile
endfunction
................................................................................
endfunction

function s:FossilStatus() abort
  :split
  call s:createScratch()
  :silent r ! fossil status
endfunction















>







 








>
>
>
>
>

>
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
..
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
let g:loaded_fossil = 1

" Setting up commands

command -nargs=0  Fdiff  :call s:FossilSDiff()
command -nargs=0  Fvdiff  :call s:FossilVDiff()
command -nargs=0  Fstatus  :call s:FossilStatus()
command -nargs=*  Fcommit  :call s:FossilCommit(<f-args>)

function s:createScratch() abort
  :enew
  :setlocal buftype=nofile
  :setlocal bufhidden=hide
  :setlocal noswapfile
endfunction
................................................................................
endfunction

function s:FossilStatus() abort
  :split
  call s:createScratch()
  :silent r ! fossil status
endfunction

function s:FossilCommit(...) abort
  :split
  call s:createScratch()
  :! fossil commit -m a:000 
endfunction