dw editor updates
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
" -: * unordered
|
" -: * unordered
|
||||||
" 1: - ordered list
|
" 1: - ordered list
|
||||||
" c: <code bash file.sh>\n</code>
|
" c: <code bash file.sh>\n</code>
|
||||||
|
" t: <todo>
|
||||||
|
|
||||||
imapclear
|
imapclear
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
@@ -37,6 +38,7 @@ imap <C-w>un ____<Esc>hi
|
|||||||
imap <C-w>dd <lt>del><lt>/del><Esc>5hi
|
imap <C-w>dd <lt>del><lt>/del><Esc>5hi
|
||||||
" ==== Lists ====
|
" ==== Lists ====
|
||||||
imap <C-w>- <esc>^i<space><space>*<space>
|
imap <C-w>- <esc>^i<space><space>*<space>
|
||||||
|
imap <C-b> *<space>
|
||||||
imap <C-w>1 <esc>^i<space><space>-<space>
|
imap <C-w>1 <esc>^i<space><space>-<space>
|
||||||
imap <C-w>, <esc>:s!^ ! !e<CR>l:noh<CR>a
|
imap <C-w>, <esc>:s!^ ! !e<CR>l:noh<CR>a
|
||||||
imap <C-w>. <esc>:s!^! !e<CR>l:noh<CR>a
|
imap <C-w>. <esc>:s!^! !e<CR>l:noh<CR>a
|
||||||
@@ -53,7 +55,7 @@ imap <C-w>c <code bash file.sh><CR><CR></code><Esc>ki
|
|||||||
map wc i<code bash file.sh><CR><CR></code><Esc>ki
|
map wc i<code bash file.sh><CR><CR></code><Esc>ki
|
||||||
|
|
||||||
" ==== Todo ====
|
" ==== Todo ====
|
||||||
map wt i<todo></todo><Esc>6hi
|
map wt i<todo><Esc>$a</todo><Esc>
|
||||||
imap <C-t> <todo></todo><Esc>6hi
|
imap <C-t> <todo></todo><Esc>6hi
|
||||||
imap <C-w>t <todo></todo><Esc>6hi
|
imap <C-w>t <todo></todo><Esc>6hi
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ Ctrl-w -: * unordered
|
|||||||
Ctrl-w 1: - ordered list
|
Ctrl-w 1: - ordered list
|
||||||
Ctrl-w , and .: de-indent and indent
|
Ctrl-w , and .: de-indent and indent
|
||||||
Ctrl-w c: <code bash file.sh>\n</code>
|
Ctrl-w c: <code bash file.sh>\n</code>
|
||||||
|
Ctrl-w t: <todo>
|
||||||
|
|
||||||
normal mode:
|
normal mode:
|
||||||
Space toggles <todo>
|
Space toggles <todo>
|
||||||
|
|||||||
Reference in New Issue
Block a user