summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rw-r--r--configs/plugins.vim2
-rw-r--r--configs/vimwiki.vim33
2 files changed, 0 insertions, 35 deletions
diff --git a/configs/plugins.vim b/configs/plugins.vim
index 8178f5b..3367ad0 100644
--- a/configs/plugins.vim
+++ b/configs/plugins.vim
@@ -30,8 +30,6 @@ Plug 'lervag/vimtex', {'for': 'tex'}
Plug 'liuchengxu/graphviz.vim'
-Plug 'vimwiki/vimwiki'
-
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'jackguo380/vim-lsp-cxx-highlight', { 'for': ['cpp', 'c'] }
diff --git a/configs/vimwiki.vim b/configs/vimwiki.vim
deleted file mode 100644
index 78ef1c1..0000000
--- a/configs/vimwiki.vim
+++ /dev/null
@@ -1,33 +0,0 @@
-let g:vimwiki_global_ext=0
-let g:vimwiki_table_mappings=0
-let g:vimwiki_table_auto_fmt=0
-let g:vimwiki_list = [{
- \ 'path': '~/Documents/notes',
- \ 'syntax': 'markdown', 'ext': '.md',
- \ 'custom_wiki2html': '~/.local/bin/wiki2html.sh'
- \ }]
-
-let g:vimwiki_ext2syntax = {'.md': 'markdown',
- \ '.mkd': 'markdown',
- \ '.wiki': 'media'}
-
-" Pandoc sytax work with vimwiki filetype
-augroup pandoc_syntax
- autocmd! FileType vimwiki set syntax=markdown.pandoc
-augroup END
-
-augroup ft_vimwiki
- au!
-
- " Automatically generate a header for new wiki pages.
- " NOTE: Waiting for g:vimwiki_auto_header to get added. Think it's still in the dev branch.
- " Prevent remapping <CR> so i can interact with an open OmniCompletion popup:
- " SOURCE: https://github.com/vimwiki/vimwiki/blob/master/doc/vimwiki.txt#L1491
- " SOURCE: https://github.com/vimwiki/vimwiki/issues/283
- au FileType vimwiki inoremap <silent> <buffer> <expr> <CR>
- \ pumvisible() ? "\<CR>" : "<Esc>:VimwikiReturn 1 5<CR>"
- au FileType vimwiki inoremap <silent> <buffer> <expr> <S-CR>
- \ pumvisible() ? "\<S-CR>" : "<Esc>:VimwikiReturn 2 2<CR>"
-augroup END
-
-au filetype vimwiki silent! iunmap <buffer> <Tab>