From d2ac9d3822de613c60380efed1e2a20da04c681b Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Tue, 8 Oct 2024 20:30:38 +0200 Subject: [PATCH] Update wiki file types --- .vim/after/plugin/wiki.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.vim/after/plugin/wiki.vim b/.vim/after/plugin/wiki.vim index 91a63f7..33f1602 100644 --- a/.vim/after/plugin/wiki.vim +++ b/.vim/after/plugin/wiki.vim @@ -11,10 +11,9 @@ nm ww (wiki-index) " nm v (wiki-link-follow-vsplit) autocmd BufEnter *.md if expand('%:t') =~ '_' | echo 'hierarchical relation' | endif -autocmd BufEnter *.md if expand('%:t') =~ '--' | echo 'non-hierarchical relation' | endif +autocmd BufEnter *.md if expand('%:t') =~ '--' | echo 'relation' | endif autocmd BufEnter *.md if expand('%:t') =~ '<>' | echo 'dichotomy' | endif autocmd BufEnter *.md if expand('%:t') =~ 'my-' | echo 'personal file' | endif -autocmd BufEnter *.md if expand('%:t') =~ 'project-' | echo 'project file' | endif autocmd BufEnter *.md if expand('%:t') =~ 'project_' | echo 'project file' | endif " Only load wiki.vim for zk directory