continuous improvement
This commit is contained in:
parent
2fc06ae9df
commit
5a227bfc45
9 changed files with 131 additions and 71 deletions
|
|
@ -54,3 +54,10 @@ xnoremap al $o0
|
|||
onoremap <silent> al :normal val<return>
|
||||
xnoremap i% GoggV
|
||||
onoremap <silent> i% :normal vi%<return>
|
||||
|
||||
function CreateNote(title)
|
||||
execute "file ~/notes/" . strftime("%Y-%m-%d") . "_" . join(split(tolower(a:title)), "_") . ".md"
|
||||
execute "set ft=markdown"
|
||||
execute "normal! i" . a:title
|
||||
execute "normal V\<tab>yaml_note\<tab>"
|
||||
endfunction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue