switch back to nvim for now
This commit is contained in:
parent
36a8248ef3
commit
1b9788a000
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1 +1 @@
|
|||
tmux-hx-helper
|
||||
tmux-nvim-helper
|
|
@ -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
|
||||
|
|
|
@ -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" \
|
||||
|
|
Loading…
Reference in a new issue