From 54d3329af748f67dbc9f99f835b9386974745670 Mon Sep 17 00:00:00 2001 From: Anish L Date: Sun, 24 Apr 2022 22:46:41 +1000 Subject: [PATCH] trying to get vimwiki sync to work --- users/profiles/nvim/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/users/profiles/nvim/default.nix b/users/profiles/nvim/default.nix index eefbe670..89831431 100644 --- a/users/profiles/nvim/default.nix +++ b/users/profiles/nvim/default.nix @@ -19,6 +19,15 @@ let 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 { name = "vim-tidal"; src = pkgs.fetchgit { @@ -223,6 +232,7 @@ in map wd :VimwikiMakeYesterdayDiaryNote map zd :Goyo:lua require('cmp').setup.buffer { enabled = false } 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:mapleader="\" @@ -532,6 +542,7 @@ in # experimental vim-tidal + vimwiki-sync # vim-processing ]; withPython3 = true;