From 37e25bb697b2cb75c39049b91f52b4536442dc3e Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Sat, 3 Jun 2023 21:47:11 +1000 Subject: [PATCH] curve: move kitaab alias --- home/profiles/cli/default.nix | 2 -- home/profiles/nvim/default.nix | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/home/profiles/cli/default.nix b/home/profiles/cli/default.nix index 0a4730b3..e3feb165 100644 --- a/home/profiles/cli/default.nix +++ b/home/profiles/cli/default.nix @@ -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;"; diff --git a/home/profiles/nvim/default.nix b/home/profiles/nvim/default.nix index c5c41d70..3273b047 100644 --- a/home/profiles/nvim/default.nix +++ b/home/profiles/nvim/default.nix @@ -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 = ''