trying to get vimwiki sync to work

This commit is contained in:
Anish L 2022-04-24 22:46:41 +10:00
parent 3f6cb9a8ce
commit 54d3329af7

View file

@ -19,6 +19,15 @@ let
sha256 = "rs3NTZwWdsmBGXnrgUeVxUiNjbN/ULxJHifPYJD9mT4="; sha256 = "rs3NTZwWdsmBGXnrgUeVxUiNjbN/ULxJHifPYJD9mT4=";
}; };
}; };
vimwiki-sync = pkgs.vimUtils.buildVimPlugin {
name = "vimwiki-sync";
src = pkgs.fetchFromGitHub {
owner = "michal-h21";
repo = "vimwiki-sync";
rev = "f362dcf0c9ab2a9ad4def899d95390289053c04d";
sha256 = "1fzKmknfVlEYwqeXgbKITbb2/PJ023iJyMz6vak3qh4="; #TODO
};
};
vim-tidal = pkgs.vimUtils.buildVimPluginFrom2Nix { vim-tidal = pkgs.vimUtils.buildVimPluginFrom2Nix {
name = "vim-tidal"; name = "vim-tidal";
src = pkgs.fetchgit { src = pkgs.fetchgit {
@ -223,6 +232,7 @@ in
map <leader>wd :VimwikiMakeYesterdayDiaryNote map <leader>wd :VimwikiMakeYesterdayDiaryNote
map <leader>zd :Goyo<CR>:lua require('cmp').setup.buffer { enabled = false }<CR> map <leader>zd :Goyo<CR>:lua require('cmp').setup.buffer { enabled = false }<CR>
let g:vimwiki_list = [{ 'path': '~/kitaab/vimwiki', 'auto_tags': 1, 'auto_diary_index': 1, 'auto_generate_links': 1 }] let g:vimwiki_list = [{ 'path': '~/kitaab/vimwiki', 'auto_tags': 1, 'auto_diary_index': 1, 'auto_generate_links': 1 }]
let g:sync_taskwarrior = 0
let g:zettel_format = "%y%m%d-%H%M" let g:zettel_format = "%y%m%d-%H%M"
let g:mapleader="\<Space>" let g:mapleader="\<Space>"
@ -532,6 +542,7 @@ in
# experimental # experimental
vim-tidal vim-tidal
vimwiki-sync
# vim-processing # vim-processing
]; ];
withPython3 = true; withPython3 = true;