dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit a8dc4487b9a111489e35f4a713e5af3012af0fb4
parent 3044765949d3df3da699f67ef70955d2cbc409ec
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Sat, 25 Apr 2020 00:01:18 +0200

vim: misc + re-enable vimwiki globally for .wiki

I made my own fork of vimwiki and restricted it to only certain
filetypes (i.e. those listed in g:vimwiki_list).


Former-commit-id: 8dc78a82cd23601e74af53a0e4ac6585667b53ec
Diffstat:
Mvim/vimrc | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -9,6 +9,7 @@ if empty(glob('~/.vim/autoload/plug.vim')) endif call plug#begin('~/.vim/plugged') +Plug 'junegunn/vader.vim' " A color table with xterm color codes Plug 'guns/xterm-color-table.vim', { 'on': 'Colors' } @@ -32,7 +33,7 @@ Plug 'tpope/vim-eunuch' Plug 'majutsushi/tagbar', { 'on': ['TagbarToggle', 'TagbarOpen'] } " Personal hypertext files -Plug 'vimwiki/vimwiki', { 'on': '<Plug>VimwikiIndex', 'for': 'vimwiki' } +Plug 'vimwiki/vimwiki' ", { 'on': '<Plug>VimwikiIndex', 'for': 'vimwiki' } " Git wrapper from tpope Plug 'tpope/vim-fugitive' @@ -276,7 +277,7 @@ function! s:build_quickfix_list(lines) endfunction let g:fzf_action = { \ 'ctrl-f': function('s:build_quickfix_list'), - \ 'ctrl-t': 'tab split', + \ 'ctrl-t': 'tabedit', \ 'ctrl-i': 'split', \ 'ctrl-v': 'vsplit' } let g:fzf_layout = {'window': { 'width': 0.9, 'height': 0.4 } } @@ -304,7 +305,7 @@ let wiki.template_ext = '.tpl' let wiki.syntax = 'default' let wiki.ext = '.txt' let g:vimwiki_list = [wiki] -let g:vimwiki_global_ext = 0 +let g:vimwiki_global_ext = 1 let g:vimwiki_ext2syntax = {'.wiki': 'default'} nnoremap <leader>wc :VimwikiCheckLinks<CR>