" alias vimbox="vim -S ~/BTSync/Homeshare/lib/chkl.vim" map cr :so chkl.vim function! Box_clear () mapclear! map :call Flip_box() map a i[ ] set laststatus=2 set statusline=%f\ %=\ \[ChkLst\ spc,a]\ (%v,%l)\ HEX:%B endfunction call Box_clear() function! Flip_box () s!^\(\s*\)\[ \]!\1[xXx]!e s!^\(\s*\)\[x\]!\1[ ]!e s!\[xXx\]![x]!e endfunction