neo2005/config/plugins/aw/default.nix
Barna Máté 09ebce4613 Added activity watch
- added code companion
- added neogen for annotations
- remapped trouble keybinds
- some other stuff idk
2024-12-15 09:31:17 +01:00

28 lines
664 B
Nix

{ pkgs, ... }: {
# Activity watch for vim to keep track of time in files. Fuck wakatime
extraPlugins = with pkgs; [
{
plugin = pkgs.vimUtils.buildVimPlugin {
pname = "aw-watcher-vim";
version = "1.0.0"; # dummy version
src = pkgs.fetchFromGitHub {
owner = "ActivityWatch";
repo = "aw-watcher-vim";
rev = "4ba86d05a940574000c33f280fd7f6eccc284331";
hash = "sha256-I7YYvQupeQxWr2HEpvba5n91+jYvJrcWZhQg+5rI908=";
};
};
}
];
autoCmd = [
# Start aw-watcher-vim on startup
{
command = ":AWStart'";
event = [
"VimEnter"
];
}
];
}