From 810d4857551bf8af2f651b83890572dbaebd4d87 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Wed, 2 Dec 2015 13:22:08 +0200 Subject: [PATCH] remove b key from vimbox --- vim/checklist.vim | 3 +-- vim/vimbox | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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