Add complete edit history using fre

This commit is contained in:
Daniel Lundin 2024-04-01 11:04:47 +02:00
parent 6bc5bcee50
commit 182abc1ad0
5 changed files with 12 additions and 2 deletions

View file

@ -16,6 +16,8 @@ else
fre --store_name "$_store" --add "$_file"
fi
fre --store_name "edit-history" --add "$_file"
_nvim_socket="$XDG_RUNTIME_DIR/nvim-persistent.sock"
(tmux select-window -t nvim 2>/dev/null && tmux select-pane -t 0) && exec nvim --server "$_nvim_socket" --remote "$_file"