Compare commits
5 commits
bf6b00726e
...
cf04e67425
Author | SHA1 | Date | |
---|---|---|---|
![]() |
cf04e67425 | ||
![]() |
5abb77dd80 | ||
![]() |
07eeb5e442 | ||
![]() |
9bf822b894 | ||
![]() |
f3c1fbb724 |
12 changed files with 79 additions and 47 deletions
|
@ -1,16 +0,0 @@
|
||||||
layout {
|
|
||||||
cwd "/Users/gal.szkolnik"
|
|
||||||
tab name="CS-DBG" hide_floating_panes=true {
|
|
||||||
pane size=1 borderless=true {
|
|
||||||
plugin location="zellij:tab-bar"
|
|
||||||
}
|
|
||||||
pane command="zsh" cwd="/Users/gal.szkolnik" size="55%" {
|
|
||||||
args "-ic" "ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa cs-dbg"
|
|
||||||
start_suspended true
|
|
||||||
}
|
|
||||||
pane size=1 borderless=true {
|
|
||||||
plugin location="zellij:status-bar"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../_home/private_dot_config/zellij/layouts/cs-dbg.kdl
|
|
@ -1,16 +0,0 @@
|
||||||
layout {
|
|
||||||
cwd "/Users/gal.szkolnik"
|
|
||||||
tab name="Teleport" hide_floating_panes=true {
|
|
||||||
pane size=1 borderless=true {
|
|
||||||
plugin location="zellij:tab-bar"
|
|
||||||
}
|
|
||||||
pane command="zsh" cwd="/Users/gal.szkolnik" size="55%" {
|
|
||||||
args "-ic" "vast-teleport launch --from-zellij"
|
|
||||||
start_suspended true
|
|
||||||
}
|
|
||||||
pane size=1 borderless=true {
|
|
||||||
plugin location="zellij:status-bar"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../../../_home/private_dot_config/zellij/layouts/teleport.kdl
|
|
@ -5,6 +5,11 @@
|
||||||
Host crater-kfs2
|
Host crater-kfs2
|
||||||
HostName crater-kfs2
|
HostName crater-kfs2
|
||||||
|
|
||||||
|
Host cs-dbg-tmp l3136
|
||||||
|
HostName l3136
|
||||||
|
User vastdata
|
||||||
|
IdentityFile ~/.ssh/vast.id_rsa
|
||||||
|
|
||||||
Host my-loop sales-devvm-gal-szkolnik-spot
|
Host my-loop sales-devvm-gal-szkolnik-spot
|
||||||
User centos
|
User centos
|
||||||
HostName 10.91.1.10
|
HostName 10.91.1.10
|
||||||
|
|
|
@ -2,4 +2,7 @@
|
||||||
/**/.git/**
|
/**/.git/**
|
||||||
|
|
||||||
.config/vim/autoload
|
.config/vim/autoload
|
||||||
|
.config/raycast/node_modules
|
||||||
|
!.config/raycast/extensions/*/package.json
|
||||||
|
.config/raycast/extensions/*/*/**
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
|
ZNAP_REPO="${XDG_DATA_HOME:-${HOME}/.local/share}/znap/_"
|
||||||
|
|
||||||
|
# Download Znap, if it's not there yet.
|
||||||
|
[[ -r "${ZNAP_REPO}/znap.zsh" ]] ||
|
||||||
|
git clone --depth 1 -- \
|
||||||
|
https://github.com/marlonrichert/zsh-snap.git "${ZNAP_REPO}"
|
||||||
|
source "${ZNAP_REPO}/znap.zsh" # Start Znap
|
||||||
|
|
|
@ -1,7 +1,31 @@
|
||||||
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
zinit light 'marlonrichert/zsh-autocomplete'
|
if [ -n "$ZI_HOME" ]; then
|
||||||
zinit light 'zsh-users/zsh-autosuggestions'
|
zinit light 'marlonrichert/zsh-autocomplete'
|
||||||
|
zinit light 'zsh-users/zsh-autosuggestions'
|
||||||
|
else
|
||||||
|
znap source 'marlonrichert/zsh-autocomplete'
|
||||||
|
znap source 'zsh-users/zsh-autosuggestions'
|
||||||
|
|
||||||
|
# Make Tab and ShiftTab cycle completions on the command line
|
||||||
|
# bindkey '^I' menu-complete
|
||||||
|
# bindkey "$terminfo[kcbt]" reverse-menu-complete
|
||||||
|
|
||||||
|
# Make Tab and ShiftTab go to the menu
|
||||||
|
bindkey '^I' menu-select
|
||||||
|
bindkey "$terminfo[kcbt]" menu-select
|
||||||
|
|
||||||
|
# Make Tab and ShiftTab change the selection in the menu
|
||||||
|
bindkey -M menuselect '^I' menu-complete
|
||||||
|
bindkey -M menuselect "$terminfo[kcbt]" reverse-menu-complete
|
||||||
|
|
||||||
|
# Make ← and → always move the cursor on the command line
|
||||||
|
# bindkey -M menuselect '^[[D' .backward-char '^[OD' .backward-char
|
||||||
|
# bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
|
||||||
|
|
||||||
|
# `znap install` adds new commands and completions.
|
||||||
|
znap install aureliojargas/clitest zsh-users/zsh-completions
|
||||||
|
fi
|
||||||
|
|
||||||
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
zinit ice depth=1
|
if [ -n "$ZI_HOME" ]; then
|
||||||
zinit light jeffreytse/zsh-vi-mode
|
zinit ice depth=1
|
||||||
|
zinit light jeffreytse/zsh-vi-mode
|
||||||
|
else
|
||||||
|
znap source jeffreytse/zsh-vi-mode
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "jeffreytse/zsh-vi-mode loaded"
|
[[ -n "${DBG}" ]] && echo "jeffreytse/zsh-vi-mode loaded"
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S zsh -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
autoload -Uz _zi
|
if [ -n "$ZI_HOME" ]; then
|
||||||
(( ${+_comps} )) && _comps[zi]=_zi
|
autoload -Uz _zi
|
||||||
|
(( ${+_comps} )) && _comps[zi]=_zi
|
||||||
|
|
||||||
autoload -Uz +X compinit bashcompinit && compinit && bashcompinit
|
autoload -Uz +X compinit bashcompinit && compinit && bashcompinit
|
||||||
[[ -n "${DBG}" ]] && echo "zinit/zi loaded available"
|
[[ -n "${DBG}" ]] && echo "zinit/zi loaded available"
|
||||||
|
fi
|
||||||
|
|
||||||
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
if is_cmd atuin; then
|
if is_cmd atuin; then
|
||||||
|
|
||||||
# . <( atuin init "${BASE_SHELL}" )
|
if [ -n "$ZI_HOME" ]; then
|
||||||
zinit light atuinsh/atuin
|
# . <( atuin init "${BASE_SHELL}" )
|
||||||
|
zinit light atuinsh/atuin
|
||||||
|
else
|
||||||
|
znap source atuinsh/atuin
|
||||||
|
fi
|
||||||
|
|
||||||
[[ -n "${DBG}" ]] && echo "atuin loaded."
|
[[ -n "${DBG}" ]] && echo "atuin loaded."
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||||
|
|
||||||
zicompinit
|
if [ -n "$ZI_HOME" ]; then
|
||||||
|
zicompinit
|
||||||
|
fi
|
||||||
|
|
||||||
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:
|
||||||
|
|
||||||
|
|
|
@ -284,10 +284,14 @@ config.keys = {
|
||||||
-- { key = 'Q', mods = 'SHIFT|CTRL', action = act.QuitApplication },
|
-- { key = 'Q', mods = 'SHIFT|CTRL', action = act.QuitApplication },
|
||||||
-- { key = 'R', mods = 'CTRL', action = act.ReloadConfiguration },
|
-- { key = 'R', mods = 'CTRL', action = act.ReloadConfiguration },
|
||||||
-- { key = 'R', mods = 'SHIFT|CTRL', action = act.ReloadConfiguration },
|
-- { key = 'R', mods = 'SHIFT|CTRL', action = act.ReloadConfiguration },
|
||||||
{ key = 'T', mods = 'CTRL', action = act.ShowLauncher },
|
-- { key = 'T', mods = 'CTRL', action = act.ShowLauncher },
|
||||||
{ key = 't', mods = 'CTRL', action = act.ShowLauncher },
|
-- { key = 't', mods = 'CTRL', action = act.ShowLauncher },
|
||||||
{ key = 't', mods = 'SUPER', action = act.ShowLauncher },
|
{ key = 'T', mods = 'SHIFT|CTRL', action = act.ShowLauncher },
|
||||||
{ key = 'T', mods = 'SUPER', action = act.ShowLauncher },
|
{ key = 't', mods = 'SHIFT|CTRL', action = act.ShowLauncher },
|
||||||
|
-- { key = 't', mods = 'SUPER', action = act.ShowLauncher },
|
||||||
|
-- { key = 'T', mods = 'SUPER', action = act.ShowLauncher },
|
||||||
|
{ key = 't', mods = 'SHIFT|SUPER', action = act.ShowLauncher },
|
||||||
|
{ key = 'T', mods = 'SHIFT|SUPER', action = act.ShowLauncher },
|
||||||
{ key = 'U', mods = 'CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } },
|
{ key = 'U', mods = 'CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } },
|
||||||
{ key = 'U', mods = 'SHIFT|CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } },
|
{ key = 'U', mods = 'SHIFT|CTRL', action = act.CharSelect{ copy_on_select = true, copy_to = 'ClipboardAndPrimarySelection' } },
|
||||||
{ key = 'V', mods = 'CTRL', action = act.PasteFrom 'Clipboard' },
|
{ key = 'V', mods = 'CTRL', action = act.PasteFrom 'Clipboard' },
|
||||||
|
@ -355,6 +359,10 @@ config.keys = {
|
||||||
{ key = 'PageUp', mods = 'SUPER', action = act.ActivateTabRelative(-1) },
|
{ key = 'PageUp', mods = 'SUPER', action = act.ActivateTabRelative(-1) },
|
||||||
{ key = 'PageDown', mods = 'SUPER', action = act.ActivateTabRelative(1) },
|
{ key = 'PageDown', mods = 'SUPER', action = act.ActivateTabRelative(1) },
|
||||||
|
|
||||||
|
{ key = 'd', mods = 'SUPER', action = wezterm.action.SendKey { key = 'd', mods = 'CTRL' } },
|
||||||
|
{ key = 'c', mods = 'SUPER', action = wezterm.action.SendKey { key = 'c', mods = 'CTRL' } },
|
||||||
|
{ key = 'r', mods = 'SUPER', action = wezterm.action.SendKey { key = 'r', mods = 'CTRL' } },
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config.key_tables = {
|
config.key_tables = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue