all repos

dotfiles @ a182ef72b938b229735caffb97045089eb34fc86

i use rach linux btw
2 files changed, 124 insertions(+), 0 deletions(-)
zellij: add config
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-11-20 17:50:11 +0200
Authored at: 2025-11-16 00:27:25 +0200
Parent: f863a17
A config/zellij/config.kdl
···
        
        1
        +show_release_notes false

      
        
        2
        +show_startup_tips false

      
        
        3
        +simplified_ui true

      
        
        4
        +auto_layout false

      
        
        5
        +pane_frames false

      
        
        6
        +mouse_mode true

      
        
        7
        +show_tips false

      
        
        8
        +

      
        
        9
        +theme "tokyonight"

      
        
        10
        +default_shell "fish"

      
        
        11
        +default_layout "defaulty"

      
        
        12
        +scrollback_editor "nvim"

      
        
        13
        +scroll_buffer_size 10000

      
        
        14
        +

      
        
        15
        +ui {

      
        
        16
        +    tab_bar { location "top"; }

      
        
        17
        +}

      
        
        18
        +

      
        
        19
        +keybinds clear-defaults=true {

      
        
        20
        +    normal {

      
        
        21
        +        bind "Ctrl t" { SwitchToMode "tmux"; }

      
        
        22
        +

      
        
        23
        +        bind "Alt 1" { GoToTab 1; SwitchToMode "normal"; }

      
        
        24
        +        bind "Alt 2" { GoToTab 2; SwitchToMode "normal"; }

      
        
        25
        +        bind "Alt 3" { GoToTab 3; SwitchToMode "normal"; }

      
        
        26
        +        bind "Alt 4" { GoToTab 4; SwitchToMode "normal"; }

      
        
        27
        +        bind "Alt 5" { GoToTab 5; SwitchToMode "normal"; }

      
        
        28
        +    }

      
        
        29
        +

      
        
        30
        +    tmux {

      
        
        31
        +        bind "Ctrl t" { Write 20; SwitchToMode "normal"; }

      
        
        32
        +        bind "Space" { NextSwapLayout; }

      
        
        33
        +

      
        
        34
        +        bind "d" { Detach; }

      
        
        35
        +        bind "tab" { GoToPreviousTab; SwitchToMode "normal"; }

      
        
        36
        +        bind "t" { NewTab; SwitchToMode "normal"; }

      
        
        37
        +        bind "y" { SwitchToMode "renametab"; TabNameInput 0; }

      
        
        38
        +        bind "," { MoveTab "left"; SwitchToMode "normal"; }

      
        
        39
        +        bind "." { MoveTab "right"; SwitchToMode "normal"; }

      
        
        40
        +

      
        
        41
        +        bind "esc" { SwitchToMode "normal"; }

      
        
        42
        +        bind "/" { SwitchToMode "entersearch"; }

      
        
        43
        +        bind "s" { SwitchToMode "scroll"; }

      
        
        44
        +

      
        
        45
        +        bind "h" { MoveFocus "Left"; SwitchToMode "normal"; }

      
        
        46
        +        bind "j" { MoveFocus "Down"; SwitchToMode "normal"; }

      
        
        47
        +        bind "k" { MoveFocus "Up"; SwitchToMode "normal"; }

      
        
        48
        +        bind "l" { MoveFocus "Right"; SwitchToMode "normal"; }

      
        
        49
        +        bind "n" { NewPane; SwitchToMode "normal"; }

      
        
        50
        +        bind "N" { NewPane "down"; SwitchToMode "normal"; }

      
        
        51
        +

      
        
        52
        +        bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }

      
        
        53
        +        bind "w" { CloseFocus; SwitchToMode "normal"; }

      
        
        54
        +        bind "+" "=" { Resize "Increase"; SwitchToMode "normal"; }

      
        
        55
        +        bind "-" { Resize "Decrease"; SwitchToMode "normal";  }

      
        
        56
        +

      
        
        57
        +        bind "o" {

      
        
        58
        +            LaunchOrFocusPlugin "session-manager" {

      
        
        59
        +                floating true

      
        
        60
        +                move_to_focused_tab true

      
        
        61
        +            }

      
        
        62
        +            SwitchToMode "normal";

      
        
        63
        +        }

      
        
        64
        +    }

      
        
        65
        +

      
        
        66
        +    renametab {

      
        
        67
        +        bind "esc" { UndoRenameTab; SwitchToMode "normal"; }

      
        
        68
        +        bind "enter" { SwitchToMode "normal"; }

      
        
        69
        +    }

      
        
        70
        +

      
        
        71
        +    entersearch {

      
        
        72
        +        bind "esc" { SwitchToMode "normal"; }

      
        
        73
        +        bind "enter" { SwitchToMode "search"; }

      
        
        74
        +    }

      
        
        75
        +

      
        
        76
        +    search {

      
        
        77
        +        bind "esc" "q" { SwitchToMode "normal"; }

      
        
        78
        +        bind "/" { SwitchToMode "entersearch"; }

      
        
        79
        +        bind "c" { SearchToggleOption "CaseSensitivity"; }

      
        
        80
        +        bind "n" { Search "down"; }

      
        
        81
        +        bind "N" { Search "up"; }

      
        
        82
        +        bind "p" { Search "up"; }

      
        
        83
        +    }

      
        
        84
        +

      
        
        85
        +    scroll {

      
        
        86
        +        bind "esc" { SwitchToMode "normal"; }

      
        
        87
        +        bind "/" { SwitchToMode "entersearch"; SearchInput 0; }

      
        
        88
        +        bind "e" { EditScrollback; SwitchToMode "normal"; }

      
        
        89
        +        bind "j" { ScrollDown; }

      
        
        90
        +        bind "k" { ScrollUp; }

      
        
        91
        +        bind "Ctrl d" { HalfPageScrollDown; }

      
        
        92
        +        bind "Ctrl u" { HalfPageScrollUp; }

      
        
        93
        +        bind "g" { ScrollToTop; }

      
        
        94
        +        bind "G" { ScrollToBottom; }

      
        
        95
        +    }

      
        
        96
        +}

      
        
        97
        +

      
        
        98
        +plugins {

      
        
        99
        +    compact-bar location="zellij:compact-bar"

      
        
        100
        +    configuration location="zellij:configuration"

      
        
        101
        +    session-manager location="zellij:session-manager"

      
        
        102
        +}

      
        
        103
        +

      
        
        104
        +themes {

      
        
        105
        +    tokyonight {

      
        
        106
        +        fg "#c0caf5"

      
        
        107
        +        bg "#292e42"

      
        
        108
        +        black "#1a1b26"

      
        
        109
        +        red "#f7768e"

      
        
        110
        +        yellow "#e0af68"

      
        
        111
        +        blue "#7aa2f7"

      
        
        112
        +        magenta "#bb9af7"

      
        
        113
        +        cyan "#7dcfff"

      
        
        114
        +        green "#7aa2f7" // #9ece6a

      
        
        115
        +        white "#a9b1d6"

      
        
        116
        +        orange "#ff9e64"

      
        
        117
        +    }

      
        
        118
        +}

      
A config/zellij/layouts/defaulty.kdl
···
        
        1
        +layout {

      
        
        2
        +    pane size=1 borderless=true {

      
        
        3
        +        plugin location="compact-bar"

      
        
        4
        +    }

      
        
        5
        +    pane

      
        
        6
        +}