modules/neovim: Add vimwiki and vimwiki-markdown
This commit is contained in:
parent
6a425d4eac
commit
252ecb2bc3
|
@ -8,6 +8,7 @@
|
|||
nixpkgs-fmt
|
||||
gopls
|
||||
pyright
|
||||
vimwiki-markdown
|
||||
(python3.withPackages (ps: with ps; [
|
||||
black
|
||||
flake8
|
||||
|
@ -59,6 +60,9 @@
|
|||
goyo-vim
|
||||
|
||||
conflict-marker-vim
|
||||
vimwiki
|
||||
|
||||
|
||||
];
|
||||
extraConfig = ''
|
||||
set nocompatible
|
||||
|
@ -144,6 +148,16 @@
|
|||
" Enter goyo mode
|
||||
nmap <Leader>gy :Goyo 50%x100%<CR>
|
||||
|
||||
let g:vimwiki_list = [{
|
||||
\ 'path': '~/workspace/vimwiki',
|
||||
\ 'template_path': '~/workspace/vimwiki/templates/',
|
||||
\ 'template_default': 'default',
|
||||
\ 'syntax': 'markdown',
|
||||
\ 'ext': '.md',
|
||||
\ 'path_html': '~/workspace/vimwiki/site_html/',
|
||||
\ 'custom_wiki2html': 'vimwiki_markdown',
|
||||
\ 'template_ext': '.tpl'}]
|
||||
|
||||
lua << EOF
|
||||
require("bufferline").setup{}
|
||||
|
||||
|
|
Loading…
Reference in a new issue