diff --git a/vim/checklist.vim b/vim/checklist.vim index e940536..deb1c5a 100644 --- a/vim/checklist.vim +++ b/vim/checklist.vim @@ -1,10 +1,9 @@ function! Box_clear () mapclear! map :call Flip_box()j^ - map b i[ ] hhh map! [ ] set laststatus=2 - set statusline=%f\ %=\ \[ChkB[x]\ spc,b]\ (%v,%l) + set statusline=%f\ %=\ ([x]\ spc,^b)\ (%v,%l) hi StatusLine ctermfg=cyan ctermbg=black endfunction call Box_clear() diff --git a/vim/vimbox b/vim/vimbox index 4cbb50a..78d9d46 100755 --- a/vim/vimbox +++ b/vim/vimbox @@ -1,7 +1,7 @@ #!/bin/bash function helpexit() { echo Edit a file with check list mod of vim. - echo "Key 'b' inserts a checkbox, space toggles the box." + echo "space toggles the box." echo "Ctrl-b in editing mode inserts a checkbox." echo All switches are passed on to vim. exit