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

View file

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