change key
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
function! Box_clear ()
|
||||
mapclear!
|
||||
map <space> :<C-U>call Flip_box()<CR>
|
||||
map a i[ ] <ESC>hhh
|
||||
map b i[ ] <ESC>hhh
|
||||
set laststatus=2
|
||||
set statusline=%f\ %=\ \[ChkB[x]\ spc,a]\ (%v,%l)
|
||||
set statusline=%f\ %=\ \[ChkB[x]\ spc,b]\ (%v,%l)
|
||||
endfunction
|
||||
call Box_clear()
|
||||
|
||||
function! Flip_box ()
|
||||
s!\[ \]![xXx]!e
|
||||
s!\[x\]![ ]!e
|
||||
s!\[xXx\]![x]!e
|
||||
s!\[ \]![xXx]!eg
|
||||
s!\[x\]![ ]!eg
|
||||
s!\[xXx\]![x]!eg
|
||||
endfunction
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user