Compare commits
No commits in common. "557d8422ea78bf7f5044f6822715606903c517d0" and "c4c5b5fc9a0afd9eb4a8d5759809d3f15017168f" have entirely different histories.
557d8422ea
...
c4c5b5fc9a
3 changed files with 3 additions and 21 deletions
|
@ -58,17 +58,7 @@ hook global WinSetOption filetype=go %{
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
eval %sh{
|
eval %sh{
|
||||||
# https://github.com/alexherbo2/kakoune.cr/issues/33#issuecomment-1112160325
|
test -n "$WAYLAND_DISPLAY" && echo '
|
||||||
if test -n "$TMUX"; then echo "
|
|
||||||
define-command tmux-terminal-popup -params 1.. -shell-completion -docstring '
|
|
||||||
tmux-terminal-popup <program> [<arguments>]: create a new terminal as a tmux popup
|
|
||||||
The program passed as argument will be executed in the new popup' \
|
|
||||||
%{
|
|
||||||
tmux-terminal-impl 'display-popup -E -h 75% -w 75% -d #{pane_current_path}' %arg{@}
|
|
||||||
}
|
|
||||||
alias global terminal-popup tmux-terminal-popup
|
|
||||||
"
|
|
||||||
elif test -n "$WAYLAND_DISPLAY"; then echo '
|
|
||||||
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
||||||
define-command terminal-popup -params 1.. -shell-completion %{
|
define-command terminal-popup -params 1.. -shell-completion %{
|
||||||
set-option global termcmd "footclient --app-id=fzf sh -c"
|
set-option global termcmd "footclient --app-id=fzf sh -c"
|
||||||
|
@ -76,7 +66,6 @@ eval %sh{
|
||||||
set-option global termcmd "footclient sh -c"
|
set-option global termcmd "footclient sh -c"
|
||||||
}
|
}
|
||||||
'
|
'
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# ------------
|
# ------------
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
set -sg escape-time 20
|
|
||||||
set -g history-limit 100000
|
|
||||||
|
|
||||||
set -g default-terminal "tmux-256color"
|
|
||||||
set -ga terminal-overrides ",*:Tc"
|
|
|
@ -31,10 +31,8 @@ Probablemente incompleto.
|
||||||
apk add zsh zsh-vcs fzf kak
|
apk add zsh zsh-vcs fzf kak
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Para editor mejorado
|
#### Para desktop/IDE
|
||||||
|
|
||||||
(requiere tmux o Wayland+foot)
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
apk add kakoune-cr kakoune-cr-commands bat fd
|
apk add kakoune-cr kakoune-cr-commands foot sway
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue