Compare commits
No commits in common. "5d16b49967c016a389cbe0f692326151b0139bc3" and "2f1c1460a607ab5ef61af670f32fbb7c7b458b56" have entirely different histories.
5d16b49967
...
2f1c1460a6
|
@ -7,7 +7,6 @@ set -ag terminal-overrides ",xterm-256color:RGB"
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
setw -g automatic-rename on
|
setw -g automatic-rename on
|
||||||
set-window-option -g xterm-keys on
|
set-window-option -g xterm-keys on
|
||||||
set -sg escape-time 0
|
|
||||||
|
|
||||||
# Setup vi-mode with better keybindings
|
# Setup vi-mode with better keybindings
|
||||||
# TODO: Escape does not work properly for leaving
|
# TODO: Escape does not work properly for leaving
|
||||||
|
|
|
@ -71,12 +71,10 @@ if hash devcontainer 2>/dev/null; then
|
||||||
|
|
||||||
if [[ "$1" == "nvim" ]]; then
|
if [[ "$1" == "nvim" ]]; then
|
||||||
tmux set-option -pt 0 @pane-is-vim 1
|
tmux set-option -pt 0 @pane-is-vim 1
|
||||||
devcontainer exec --workspace-folder "$WORKSPACE_FOLDER" bash -c "$@"
|
|
||||||
tmux set-option -pt 0 @pane-is-vim 0
|
|
||||||
else
|
|
||||||
devcontainer exec --workspace-folder "$WORKSPACE_FOLDER" $@
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
devcontainer exec --workspace-folder "$WORKSPACE_FOLDER" $@
|
||||||
|
tmux set-option -pt 0 @pane-is-vim 0
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
builtin cd ..
|
builtin cd ..
|
||||||
|
|
Loading…
Reference in New Issue
Block a user