Added VIM tools, and help pages to all scripts missing one

This commit is contained in:
ville rantanen
2015-04-02 12:07:42 +03:00
parent 85928b7326
commit 029e2f5ad0
15 changed files with 85 additions and 18 deletions

View File

@@ -4,14 +4,14 @@ map cr :so chkl.vim<CR>
function! Box_clear ()
mapclear!
map <space> :<C-U>call Flip_box()<CR>
map a i[ ] <ESC>
map a i[ ] <ESC>hhh
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!\[ \]![xXx]!e
s!^\(\s*\)\[x\]!\1[ ]!e
s!\[xXx\]![x]!e
endfunction