No markdown for wiki

This commit is contained in:
Martin Potier 2020-04-08 16:52:17 +03:00
parent a3f54fb6ae
commit 1a110d252d
No known key found for this signature in database
GPG Key ID: D4DD957DBA4AD89E
1 changed files with 1 additions and 5 deletions

View File

@ -191,10 +191,9 @@ let
let g:vimwiki_conceallevel = 0
let g:vimwiki_auto_chdir = 1
let g:vimwiki_list = [
\{'path': '~/zk/', 'syntax': 'markdown', 'ext': '.md'},
\{'path': '~/zk/'},
\{'path': '~/vimwiki/personal.wiki'}
\]
au BufRead,BufNewFile *.wiki set filetype=vimwiki
:autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote
function! ToggleCalendar()
execute ":Calendar"
@ -211,9 +210,6 @@ 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>