remove b key from vimbox
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
function! Box_clear ()
|
function! Box_clear ()
|
||||||
mapclear!
|
mapclear!
|
||||||
map <space> :<C-U>call Flip_box()<CR>j^
|
map <space> :<C-U>call Flip_box()<CR>j^
|
||||||
map b i[ ] <ESC>hhh
|
|
||||||
map! <C-b> [ ]
|
map! <C-b> [ ]
|
||||||
set laststatus=2
|
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
|
hi StatusLine ctermfg=cyan ctermbg=black
|
||||||
endfunction
|
endfunction
|
||||||
call Box_clear()
|
call Box_clear()
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
function helpexit() {
|
function helpexit() {
|
||||||
echo Edit a file with check list mod of vim.
|
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 "Ctrl-b in editing mode inserts a checkbox."
|
||||||
echo All switches are passed on to vim.
|
echo All switches are passed on to vim.
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user