No markdown for wiki
This commit is contained in:
parent
a3f54fb6ae
commit
1a110d252d
1 changed files with 1 additions and 5 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue