curve: move kitaab alias

This commit is contained in:
Anish Lakhwara 2023-06-03 21:47:11 +10:00
parent a06cb1231f
commit 37e25bb697
2 changed files with 5 additions and 2 deletions

View file

@ -211,8 +211,6 @@
"...." = "cd ../../..";
"....." = "cd ../../../..";
# kitaab recents
kr = "cd /home/anish/kitaab/vimwiki; exa --sort=modified --reverse | fzf --preview 'bat --style=numbers --color=always --terminal-width -1 ./{}'";
icat = "kitty +kitten icat";
yt = "ytfzf -T kitty -t ";
gen-secret = "< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c\${1:-32};echo;";

View file

@ -145,7 +145,12 @@ in
home.sessionVariables.EDITOR = "nvim";
home.shellAliases = {
k = "cd ~/kitaab/vimwiki; vim -c :VimwikiIndex; cd $OLDPWD";
# kitaab zettel
kz = "cd ~/kitaab/vimwiki; vim -c :VimwikiIndex -c :ZettelNew; cd $OLDPWD";
# kitaab recents
kr = "cd /home/anish/kitaab/vimwiki; exa --sort=modified --reverse | fzf --preview 'bat --style=numbers --color=always --terminal-width -1 ./{}';cd $OLDPWD";
# kitaab get by tagged
# kt = "cd /home/anish/kitaab/vimwiki; ${pkgs.poonam}/bin/main getNoTags | fzf --preview 'bat --style=numbers --color=always --terminal-width -1 ./{};cd $OLDPWD";
};
# Add %update to the highlight clause for vimwiki files
home.file.".config/nvim/after/syntax/vimwiki.vim".text = ''