switch back to nvim for now

This commit is contained in:
Daniel Lundin 2024-04-10 17:35:43 +02:00
parent 36a8248ef3
commit 1b9788a000
No known key found for this signature in database
4 changed files with 4 additions and 4 deletions

View file

@ -25,7 +25,7 @@ if status is-interactive
## Utilities
export EDITOR=helix
export EDITOR=nvim
function tree
eza --tree --color=always $argv | bat --wrap=never

View file

@ -1 +1 @@
tmux-hx-helper
tmux-nvim-helper

View file

@ -41,4 +41,4 @@ tmux-shortcut 1 env \
helix "${_file}"
sleep 0.1
tmux send-keys Escape &&
tmux send-keys ":open ${_file}" Enter
tmux send-keys ":open ${_file}" Enter ":reload" Enter

View file

@ -23,7 +23,7 @@ _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"
# nvim is not running/listening on remote socket, so start it.
tmux new-window -S -t 43 -n nvim \
tmux new-window -S -t 42 -n nvim \
-e "AR=$AR" \
-e "AS=$AS" \
-e "BUILD_COMMAND=$BUILD_COMMAND" \