vimwiki and vim-pandoc

This commit is contained in:
Till 2026-02-04 13:38:28 +01:00
parent f511922568
commit d4474ef5ce
3 changed files with 31 additions and 19 deletions

View file

@ -67,9 +67,9 @@
{
plugin = goyo;
config = ''
nnoremap yog :Goyo<return>
nnoremap [og :Goyo 80<return>
nnoremap ]og :Goyo!<return>
nnoremap <silent> yog :Goyo<CR>
nnoremap <silent> [og :Goyo 80<return>
nnoremap <silent> ]og :Goyo!<return>
'';
}
{
@ -151,6 +151,14 @@
vim-fish
vim-nix
{
plugin = vim-pandoc;
config = ''
let g:pandoc#modules#disabled = ["completion", "command", "menu", "completion"]
'';
}
vim-repeat
{
@ -170,17 +178,25 @@
vim-snippets
vim-speeddating
vim-surround
vim-unimpaired
{
plugin = vim-unimpaired;
config = ''
nnoremap =p <Nop>
nnoremap =P <Nop>
nnoremap =s <Nop>
'';
}
{
plugin = vimwiki;
config = ''
let g:vimwiki_list = [
{
'path': '~/notes/',
'syntax': 'markdown',
'ext': '.md'
}
]
let g:vimwiki_list = [ { 'path': '~/notes/', 'syntax': 'markdown', 'ext': '.md' } ]
nnoremap <Leader>wt <Nop>
nnoremap <Leader>w<Leader>t <Nop>
nmap <C-j> <Plug>VimwikiNextLink
nmap <C-k> <Plug>VimwikiPrevLink
let g:vimwiki_key_mappings = { 'headers': 0, 'text_objs': 0, 'lists': 0, 'lists_return': 0, 'html': 0 }
'';
}
];