Goodbye vimwiki
This commit is contained in:
parent
c53ba05b59
commit
131a852eac
1 changed files with 27 additions and 27 deletions
|
@ -115,7 +115,6 @@ let
|
|||
vim-terraform
|
||||
vim-timedot
|
||||
vimtex
|
||||
vimwiki
|
||||
] ++ extraPlugins;
|
||||
# manually loadable by calling `:packadd $plugin-name`
|
||||
opt = [
|
||||
|
@ -225,35 +224,9 @@ let
|
|||
" Set filetype tex for tikz files
|
||||
au BufNewFile,BufRead *.tikz set filetype=tex
|
||||
|
||||
" vimwiki stuff
|
||||
" let g:vimwiki_global_ext = 0
|
||||
" let g:vimwiki_conceallevel = 0
|
||||
" let g:vimwiki_auto_chdir = 1
|
||||
" let g:vimwiki_list = [
|
||||
" \{'path': '~/zk/'},
|
||||
" \{'path': '~/vimwiki/personal.wiki'}
|
||||
" \]
|
||||
" :autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote
|
||||
" :autocmd FileType vimwiki Goyo 80x20
|
||||
|
||||
" Neuron stuff
|
||||
let g:neuron_dir = "/home/eeva/zk/"
|
||||
|
||||
function! ToggleCalendar()
|
||||
execute ":Calendar"
|
||||
if exists("g:calendar_open")
|
||||
if g:calendar_open == 1
|
||||
execute "q"
|
||||
unlet g:calendar_open
|
||||
else
|
||||
g:calendar_open = 1
|
||||
end
|
||||
else
|
||||
let g:calendar_open = 1
|
||||
end
|
||||
endfunction
|
||||
:autocmd FileType vimwiki map <leader>c :call ToggleCalendar()
|
||||
|
||||
" Thx Mats for the following
|
||||
:cnoremap <C-A> <Home>
|
||||
:cnoremap <C-B> <Left>
|
||||
|
@ -283,3 +256,30 @@ let
|
|||
${extraOptions}
|
||||
'';
|
||||
}
|
||||
|
||||
# " vimwiki stuff
|
||||
# " let g:vimwiki_global_ext = 0
|
||||
# " let g:vimwiki_conceallevel = 0
|
||||
# " let g:vimwiki_auto_chdir = 1
|
||||
# " let g:vimwiki_list = [
|
||||
# " \{'path': '~/zk/'},
|
||||
# " \{'path': '~/vimwiki/personal.wiki'}
|
||||
# " \]
|
||||
# " :autocmd FileType vimwiki map <leader>d :VimwikiMakeDiaryNote
|
||||
# " :autocmd FileType vimwiki Goyo 80x20
|
||||
# "
|
||||
# " function! ToggleCalendar()
|
||||
# " execute ":Calendar"
|
||||
# " if exists("g:calendar_open")
|
||||
# " if g:calendar_open == 1
|
||||
# " execute "q"
|
||||
# " unlet g:calendar_open
|
||||
# " else
|
||||
# " g:calendar_open = 1
|
||||
# " end
|
||||
# " else
|
||||
# " let g:calendar_open = 1
|
||||
# " end
|
||||
# " endfunction
|
||||
# " :autocmd FileType vimwiki map <leader>c :call ToggleCalendar()
|
||||
|
||||
|
|
Loading…
Reference in a new issue