From 71870cceb43de26481ef35bfd5cc3bf41ce270f6 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 6 Mar 2016 22:19:58 +0100 Subject: Expand _vimwiki_ settings * hide line numbers, enable autoreload * define HTML target and template --- vim/.vimrc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 7812223..bd7417c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -49,7 +49,7 @@ autocmd InsertLeave * :setlocal hlsearch autocmd FocusGained *.wiki :redraw! autocmd FileType scheme setlocal shiftwidth=2 tabstop=2 expandtab -autocmd FileType vimwiki setlocal noswapfile +autocmd FileType vimwiki setlocal noswapfile nonumber foldcolumn=1 autoread vnoremap cc "+y nnoremap cc "+p @@ -89,7 +89,13 @@ let g:airline#extensions#tabline#show_close_button = 0 let g:airline#extensions#tabline#show_splits = 0 let g:airline#extensions#tabline#show_tab_nr = 0 -let g:vimwiki_list = [{'path': '~/note/'}] +let g:vimwiki_list = [{ + \ 'path': '~/note/', + \ 'path_html': '~/share/note/', + \ 'template_path': '~/share/note/assets/', + \ 'template_default': 'default', + \ 'template_ext': '.tpl' }] + let g:gitgutter_enabled = 0 let g:gitgutter_highlight_lines = 1 let g:goyo_width = 90 @@ -101,4 +107,6 @@ nnoremap :GitGutterToggle nnoremap :set cursorline! nnoremap :Goyo -map t :VimwikiToggleListItem +map t :VimwikiToggleListItem +nmap wtl VimwikiTableMoveColumnLeft +nmap wtr VimwikiTableMoveColumnRight -- cgit v1.2.3