tmuxsh: nvim.sh: startinsert and markdown as default
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user