generation 547 25.11.20250714.62e0f05
This commit is contained in:
@@ -186,7 +186,10 @@ super + bracket{left,right}
|
||||
super + {o}
|
||||
sh nf daily
|
||||
|
||||
super + {i}
|
||||
super + {;}
|
||||
sh nf idk
|
||||
|
||||
super + {m}
|
||||
sh nf idk
|
||||
|
||||
# open my notes without goyo and with nvimteee
|
||||
|
||||
@@ -220,11 +220,20 @@ alias dnsblock-add="nvim /home/synchronous/nix-cfg/system/networking/blockers.sh
|
||||
alias focus-wifi="nvim /home/synchronous/nix-cfg/system/networking/blockers.sh"
|
||||
alias verus-dir="cd /home/synchronous/code/verus"
|
||||
alias cure="cd /home/synchronous/code/cure53"
|
||||
alias scripts="cd /home/synchronous/nix-cfg/home/scripts"
|
||||
alias bookmarks="vim -c '80' /home/synchronous/nix-cfg/home/programs/firefox/default.nix"
|
||||
|
||||
stack() {
|
||||
find . -type f -exec echo -e "\n--- {} ---\n" \; -exec cat {} \;
|
||||
}
|
||||
|
||||
stack-fast() {
|
||||
rg -l . | while read -r file; do
|
||||
echo -e "\n--- $file ---\n"
|
||||
cat "$file"
|
||||
done
|
||||
}
|
||||
|
||||
stack-b() {
|
||||
(
|
||||
while IFS= read -r -d '' file; do
|
||||
|
||||
@@ -159,6 +159,14 @@ search_by_title() {
|
||||
fi
|
||||
}
|
||||
|
||||
open_misc() {
|
||||
tf=$(mktemp --suffix=.md)
|
||||
# sh -c keeps window open for nvim, then deletes file immediately on exit
|
||||
alacritty -t "scratch" -e sh -c "nvim '$tf' \
|
||||
-c 'execute \"lua vim.g.goyo_if = 1\" | Goyo | set wrap | autocmd BufEnter * let b:coc_suggest_disable=1'; \
|
||||
rm '$tf'" &!
|
||||
}
|
||||
|
||||
run_command() {
|
||||
case $1 in
|
||||
"search") search ;;
|
||||
@@ -168,6 +176,7 @@ run_command() {
|
||||
"find") notes_find ;;
|
||||
"tags") search_by_tags ;;
|
||||
"title") search_by_title ;;
|
||||
"misc") open_misc ;;
|
||||
*)
|
||||
esac
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user