Commit 0d3e596

HPCesia <me@hpcesia.com>
2025-09-05 17:13:13
feat: update editor packages and configs
1 parent 3540b30
Changed files (2)
home
base
tui
editors
home/base/tui/editors/zide/layouts/default.kdl
@@ -7,39 +7,34 @@ layout {
             }
         }
     }
-
     swap_tiled_layout name="more_pane" {
         ui min_panes=4 {
             pane split_direction="vertical" {
                 filepicker size=40 name="picker"
                 pane split_direction="horizontal" {
                     editor
-                    pane stacked=true { children; }
+                    pane stacked=true {
+                        children
+                    }
                 }
             }
         }
     }
-
     pane_template name="filepicker" {
         command "zide-pick"
     }
-
     pane_template name="editor" {
         command "$EDITOR"
     }
-
     pane_template name="help_bar" {
         borderless true
         plugin location="status-bar"
     }
-
     pane_template name="zide_rename" command="zide-rename" close_on_exit=true
-
     tab_template name="ui" {
         children
         help_bar size=1
     }
-
     default_tab_template {
         pane split_direction="vertical" {
             filepicker size=40 name="picker"
@@ -48,55 +43,66 @@ layout {
         help_bar size=1
     }
 }
-
 // keybinds from yazelix
 // https://github.com/luccahuguet/yazelix/blob/main/zellij/layouts/yazelix.kdl
 keybinds {
     shared {
         // Previously: Ctrl + o (in helix: jump_backward)
-        bind "Ctrl e" { SwitchToMode "Session"; }
+        bind "Ctrl e" {
+            SwitchToMode "Session"
+        }
         unbind "Ctrl o"
-
         // Previously: Ctrl + s (in helix: save_selection)
         // bind "Alt 1" { SwitchToMode "Scroll"; }
-        bind "Ctrl y" { SwitchToMode "Scroll"; }
+        bind "Ctrl y" {
+            SwitchToMode "Scroll"
+        }
         unbind "Ctrl s"
-
         // Previously: Alt + i (in helix: shrink_selection)
-        bind "Alt w" { MoveTab "Left"; }
+        bind "Alt w" {
+            MoveTab "Left"
+        }
         unbind "Alt i"
-
         // Previously: Alt + o (in helix: expand_selection)
-        bind "Alt q" { MoveTab "Right"; }
+        bind "Alt q" {
+            MoveTab "Right"
+        }
         unbind "Alt o"
-
         // Previously: Alt + n (in helix: select_next_sibling)
-        bind "Alt m" { NewPane; }
+        bind "Alt m" {
+            NewPane
+        }
         unbind "Alt n"
-
         // Previously: Ctrl + b (in helix: move_page_up)
-        bind "Alt 2" { SwitchToMode "Tmux"; }
+        bind "Alt 2" {
+            SwitchToMode "Tmux"
+        }
         unbind "Ctrl b"
-
-        bind "Alt f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
+        bind "Alt f" {
+            ToggleFocusFullscreen
+            SwitchToMode "Normal"
+        }
     }
-
     session {
         // Exit session mode
-        bind "Ctrl e" { SwitchToMode "Normal"; }
+        bind "Ctrl e" {
+            SwitchToMode "Normal"
+        }
         unbind "Ctrl o"
     }
-
     scroll {
         // Exit scroll mode
         // bind "Alt 1" { SwitchToMode "Normal"; }
-        bind "Ctrl y" { SwitchToMode "Normal"; }
+        bind "Ctrl y" {
+            SwitchToMode "Normal"
+        }
         unbind "Ctrl s"
     }
-
     tmux {
         // Exit tmux mode
-        bind "Alt 2" { SwitchToMode "Normal"; }
+        bind "Alt 2" {
+            SwitchToMode "Normal"
+        }
         unbind "Ctrl b"
     }
 }
home/base/tui/editors/packages.nix
@@ -24,9 +24,7 @@
     mdx-language-server
     texlab # LaTeX LSP
     tex-fmt # LaTeX Formatter
-
-    # -- Miscs
-    copilot-language-server-fhs
+    pandoc # Document converter
 
     # === General Purpose Languages === #
     # -- C/C++
@@ -41,6 +39,7 @@
     lldb
 
     # -- Python
+    pipx # Install and Run Python Applications in Isolated Environments
     uv # Python package manager in rust
     pixi # Python package manager in rust, supports conda
     ruff # Python LSP and formatter