mirror of
https://codeberg.org/Mo8it/dotfiles.git
synced 2025-04-06 21:23:08 +00:00
Compare commits
3 commits
9de3e68c95
...
3b30ada5ce
Author | SHA1 | Date | |
---|---|---|---|
3b30ada5ce | |||
49b6124728 | |||
e1fed7f10d |
4 changed files with 32 additions and 98 deletions
.config
|
@ -32,6 +32,7 @@ render = true
|
|||
[keys.normal]
|
||||
d = ["delete_selection_noyank"]
|
||||
D = ["delete_selection"]
|
||||
c = ["change_selection_noyank"]
|
||||
V = "extend_to_line_end"
|
||||
|
||||
C-k = "goto_next_buffer"
|
||||
|
@ -53,6 +54,7 @@ esc = ["collapse_selection", "normal_mode"]
|
|||
[keys.select]
|
||||
d = ["delete_selection_noyank"]
|
||||
D = ["delete_selection"]
|
||||
c = ["change_selection_noyank"]
|
||||
V = "extend_to_line_end"
|
||||
|
||||
esc = ["collapse_selection", "keep_primary_selection", "normal_mode"]
|
||||
|
|
|
@ -1,81 +1,67 @@
|
|||
scroll_buffer_size 100000
|
||||
|
||||
// mouse_mode false
|
||||
|
||||
default_shell "/usr/bin/fish"
|
||||
scrollback_editor "hx"
|
||||
|
||||
theme "dracula"
|
||||
|
||||
default_shell "/var/home/mo8it/.cargo/bin/fish"
|
||||
default_layout "compact"
|
||||
on_force_close "quit"
|
||||
scroll_buffer_size 100000
|
||||
session_serialization false
|
||||
disable_session_metadata true
|
||||
show_startup_tips false
|
||||
|
||||
keybinds clear-defaults=true {
|
||||
normal {
|
||||
bind "Alt L" { SwitchToMode "locked"; }
|
||||
bind "Alt l" { SwitchToMode "locked"; }
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
bind "Alt p" { SwitchToMode "pane"; }
|
||||
bind "Alt r" { SwitchToMode "resize"; }
|
||||
bind "Alt s" { SwitchToMode "scroll"; }
|
||||
bind "Alt m" { SwitchToMode "move"; }
|
||||
bind "Alt d" { SwitchToMode "session"; }
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Alt k" { FocusNextPane; }
|
||||
bind "Alt j" { FocusPreviousPane; }
|
||||
bind "Alt +" { Resize "Increase"; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt t" { NewTab; }
|
||||
bind "Alt o" { GoToNextTab; }
|
||||
bind "Alt i" { GoToPreviousTab; }
|
||||
bind "Alt X" { CloseTab; }
|
||||
bind "Alt J" { ScrollDown; }
|
||||
bind "Alt +" { Resize "Increase"; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt K" { ScrollUp; }
|
||||
bind "Alt L" { PageScrollDown; }
|
||||
bind "Alt J" { ScrollDown; }
|
||||
bind "Alt H" { PageScrollUp; }
|
||||
bind "Alt L" { PageScrollDown; }
|
||||
}
|
||||
locked {
|
||||
bind "Alt L" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Esc" { SwitchToMode "normal"; }
|
||||
bind "Alt l" { SwitchToMode "normal"; }
|
||||
}
|
||||
pane {
|
||||
bind "h" { MoveFocus "Left"; }
|
||||
bind "l" { MoveFocus "Right"; }
|
||||
bind "j" { MoveFocus "Down"; }
|
||||
bind "k" { MoveFocus "Up"; }
|
||||
bind "d" { NewPane "Down"; SwitchToMode "normal"; }
|
||||
bind "r" { NewPane "Right"; SwitchToMode "normal"; }
|
||||
bind "h" { MoveFocus "left"; }
|
||||
bind "j" { MoveFocus "down"; }
|
||||
bind "k" { MoveFocus "up"; }
|
||||
bind "l" { MoveFocus "right"; }
|
||||
bind "d" { NewPane "down"; SwitchToMode "normal"; }
|
||||
bind "r" { NewPane "right"; SwitchToMode "normal"; }
|
||||
bind "x" { CloseFocus; SwitchToMode "normal"; }
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
|
||||
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
|
||||
}
|
||||
resize {
|
||||
bind "h" { Resize "Left"; }
|
||||
bind "j" { Resize "Down"; }
|
||||
bind "k" { Resize "Up"; }
|
||||
bind "l" { Resize "Right"; }
|
||||
bind "h" { Resize "Increase left"; }
|
||||
bind "j" { Resize "Increase down"; }
|
||||
bind "k" { Resize "Increase up"; }
|
||||
bind "l" { Resize "Increase right"; }
|
||||
}
|
||||
move {
|
||||
bind "h" { MovePane "Left"; }
|
||||
bind "j" { MovePane "Down"; }
|
||||
bind "k" { MovePane "Up"; }
|
||||
bind "l" { MovePane "Right"; }
|
||||
bind "h" { MovePane "left"; }
|
||||
bind "j" { MovePane "down"; }
|
||||
bind "k" { MovePane "up"; }
|
||||
bind "l" { MovePane "right"; }
|
||||
}
|
||||
scroll {
|
||||
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||
bind "h" { PageScrollUp; }
|
||||
bind "j" { ScrollDown; }
|
||||
bind "k" { ScrollUp; }
|
||||
bind "l" { PageScrollDown; }
|
||||
bind "h" { PageScrollUp; }
|
||||
}
|
||||
session {
|
||||
bind "d" { Detach; }
|
||||
bind "m" {
|
||||
LaunchOrFocusPlugin "zellij:session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
};
|
||||
SwitchToMode "Normal";
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "esc" { SwitchToMode "normal"; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,36 +0,0 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo8it/code/info-monitor"
|
||||
|
||||
tab name="hx" split_direction="vertical" focus=true {
|
||||
pane size="70%" {
|
||||
focus true
|
||||
command "fish"
|
||||
args "-C" "hx src/main.rs"
|
||||
close_on_exit true
|
||||
}
|
||||
pane {
|
||||
command "bacon"
|
||||
}
|
||||
}
|
||||
tab name="git" split_direction="vertical" {
|
||||
pane {
|
||||
command "fish"
|
||||
args "-C" "gitui"
|
||||
close_on_exit true
|
||||
}
|
||||
}
|
||||
tab name="bg" split_direction="vertical"{
|
||||
pane {
|
||||
command "podman"
|
||||
args "run" "-it" "--name" "info-monitor-pg" "--tz" "Europe/Berlin" "-e" "TZ=Europe/Berlin" "-e" "PGTZ=Europe/Berlin" "--rm" "-p" "5432:5432" "-v" "/home/mo8it/.tmp/info-monitor-db:/var/lib/postgresql/data:Z" "--env-file" ".env" "docker.io/library/postgres:17"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
layout {
|
||||
default_tab_template {
|
||||
children
|
||||
pane size=1 borderless=true {
|
||||
plugin location="zellij:compact-bar"
|
||||
}
|
||||
}
|
||||
|
||||
cwd "/home/mo8it/code/pgp"
|
||||
|
||||
tab name="jupyterlab" focus=true {
|
||||
pane {
|
||||
focus true
|
||||
command "fish"
|
||||
args "-c" "./container.fish"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue