tmuxsh: nvim.sh: startinsert and markdown as default

This commit is contained in:
inkch
2025-08-20 15:04:26 +09:00
parent ef4259d1f1
commit 86ccfa62fa

View File

@@ -4,4 +4,4 @@ tmux neww -n nvim
d=$(date +'%Y%m%dT%H%M%S')
rnd=$(diceware -n 2 --no-cap -d -)
tmux send-keys -t 0 "nvim /tmp/${d}-${rnd}" C-m
tmux send-keys -t 0 "nvim -c startinsert -c 'set ft=markdown' /tmp/${d}-${rnd}" C-m