Second try on markdown
This commit is contained in:
parent
57eab85b44
commit
a3f54fb6ae
1 changed files with 3 additions and 1 deletions
|
@ -195,7 +195,6 @@ let
|
|||
\{'path': '~/vimwiki/personal.wiki'}
|
||||
\]
|
||||
au BufRead,BufNewFile *.wiki set filetype=vimwiki
|
||||
au BufRead,BufNewFile *.md set filetype=markdown
|
||||
:autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote
|
||||
function! ToggleCalendar()
|
||||
execute ":Calendar"
|
||||
|
@ -212,6 +211,9 @@ let
|
|||
endfunction
|
||||
:autocmd FileType vimwiki map <leader>c :call ToggleCalendar()
|
||||
|
||||
" Still, edit md as markdown
|
||||
au BufRead,BufNewFile *.md set filetype=markdown
|
||||
|
||||
" Thx Mats for the following
|
||||
:cnoremap <C-A> <Home>
|
||||
:cnoremap <C-B> <Left>
|
||||
|
|
Loading…
Reference in a new issue