mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-05 19:02:24 +00:00
Some zed, some other stuff
This commit is contained in:
parent
b528bd5f1f
commit
a4fb67c012
5 changed files with 21816 additions and 30 deletions
|
@ -29,8 +29,8 @@ cursor:
|
|||
blinking: "Never"
|
||||
unfocused_hollow: true
|
||||
font:
|
||||
normal: { "family": "Fira Code" }
|
||||
#normal: { "family": "Fira Code Nerd Font" }
|
||||
#normal: { "family": "Fira Code" }
|
||||
normal: { "family": "Menlo" }
|
||||
#normal: { "family": "APL 385 Unicode" }
|
||||
#normal: { "family": "Fira Code" }
|
||||
#normal: { "family": "Jetbrains Mono" }
|
||||
|
@ -80,5 +80,6 @@ mouse:
|
|||
window:
|
||||
dynamic_padding: true
|
||||
dynamic_title: true
|
||||
padding: { "x": 20, "y": 20 }
|
||||
padding: { "x": 10, "y": 10 }
|
||||
#padding: { "x": 20, "y": 20 }
|
||||
opacity: 1
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,17 +1,27 @@
|
|||
[
|
||||
{
|
||||
"context": "Workspace && !VimWaiting && !menu",
|
||||
"bindings": {}
|
||||
},
|
||||
{
|
||||
"context": "Editor && VimControl && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
// put key-bindings here if you want them to work in normal & visual mode
|
||||
"space m f": "editor::Format",
|
||||
"space c space": "editor::ToggleComments"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
// put key-bindings here if you want them to work only in normal mode
|
||||
"space b c": "pane::CloseActiveItem",
|
||||
":": "command_palette::Toggle",
|
||||
"space p": "file_finder::Toggle",
|
||||
|
||||
"space h": "pane::ActivatePrevItem",
|
||||
"space l": "pane::ActivateNextItem",
|
||||
"space c space": "editor::ToggleComments",
|
||||
|
||||
// multi-cursor
|
||||
"cmd-d": "editor::SelectNext",
|
||||
"cmd-shift-d": "editor::SelectPrevious",
|
||||
"cmd-shift-l": "editor::SelectAllMatches",
|
||||
"ctrl-j": "editor::AddSelectionBelow",
|
||||
"ctrl-k": "editor::AddSelectionAbove",
|
||||
// lsp
|
||||
"space m f": "editor::Format",
|
||||
"space m /": "project_symbols::Toggle",
|
||||
"space m g": "editor::GoToDefinition",
|
||||
"space m d": "editor::Hover",
|
||||
|
@ -22,16 +32,21 @@
|
|||
"space m E": "editor::GoToPrevDiagnostic",
|
||||
"space m v": "editor::ToggleCodeActions",
|
||||
"space m o": "outline::Toggle",
|
||||
"space h": "pane::ActivatePrevItem",
|
||||
"space l": "pane::ActivateNextItem",
|
||||
"space b c": "pane::CloseActiveItem",
|
||||
// diagnostics
|
||||
"space e e": "diagnostics::Deploy",
|
||||
"space e w": "diagnostics::ToggleWarnings",
|
||||
// view
|
||||
"space v f": "project_panel::ToggleFocus",
|
||||
"ctrl-j": "editor::AddSelectionBelow",
|
||||
"ctrl-k": "editor::AddSelectionAbove"
|
||||
"space v n": "editor::ToggleLineNumbers",
|
||||
"space v i": "editor::ToggleInlayHints",
|
||||
// Git
|
||||
"space g b": "editor::ToggleGitBlame"
|
||||
}
|
||||
},
|
||||
{
|
||||
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
|
||||
"bindings": {}
|
||||
},
|
||||
{
|
||||
"context": "((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu",
|
||||
"bindings": {
|
||||
|
@ -48,9 +63,6 @@
|
|||
"bindings": {
|
||||
"n": "editor::SelectLargerSyntaxNode",
|
||||
"N": "editor::SelectSmallerSyntaxNode",
|
||||
"cmd-d": "editor::SelectNext",
|
||||
"cmd-shift-d": "editor::SelectPrevious",
|
||||
"cmd-shift-l": "editor::SelectAllMatches",
|
||||
"m": "vim::SelectNext",
|
||||
"M": "vim::SelectPrevious",
|
||||
",": "editor::SplitSelectionIntoLines"
|
||||
|
@ -59,7 +71,6 @@
|
|||
{
|
||||
"context": "Editor && vim_mode == insert",
|
||||
"bindings": {
|
||||
// put key-bindings here if you want them to work in insert mode
|
||||
"ctrl-w": "editor::DeleteToPreviousWordStart"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,14 +1,27 @@
|
|||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run the `open default settings` command
|
||||
// from the command palette or from `Zed` application menu.
|
||||
{
|
||||
"theme": "Gruvbox Dark Hard",
|
||||
"buffer_font_size": 15,
|
||||
"buffer_font_size": 14,
|
||||
"buffer_font_family": "JetBrainsMono Nerd Font Mono",
|
||||
// "buffer_line_height": { "custom": 1.55 },
|
||||
// "ui_font_family": "Noto Sans",
|
||||
// "buffer_font_family": "Zed Mono",
|
||||
|
||||
// "active_pane_magnification": 1.3,
|
||||
|
||||
"calls": {
|
||||
"mute_on_join": true
|
||||
},
|
||||
"gutter": {
|
||||
"line_numbers": false,
|
||||
"folds": false
|
||||
},
|
||||
"vertical_scroll_margin": 5,
|
||||
"tabs": { "git_status": true },
|
||||
|
||||
"terminal": {
|
||||
"font_family": "JetBrainsMono Nerd Font Mono",
|
||||
"font_size": 14
|
||||
},
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
"use_smartcase_find": true,
|
||||
|
|
173
zellij/.config/zellij/config.kdl
Normal file
173
zellij/.config/zellij/config.kdl
Normal file
|
@ -0,0 +1,173 @@
|
|||
// If you'd like to override the default keybindings completely, be sure to change "keybinds" to "keybinds clear-defaults=true"
|
||||
keybinds clear-defaults=true {
|
||||
resize {
|
||||
bind "h" "Left" { Resize "Left"; }
|
||||
bind "l" "Right" { Resize "Right"; }
|
||||
bind "k" "Up" { Resize "Up"; }
|
||||
bind "j" "Down" { Resize "Down"; }
|
||||
}
|
||||
|
||||
tmux {
|
||||
bind "r" { SwitchToMode "Resize"; }
|
||||
|
||||
bind "t" { NewTab; SwitchToMode "Normal"; }
|
||||
bind "c" { NewPane; SwitchToMode "Normal"; }
|
||||
bind "v" { NewPane "Down"; SwitchToMode "Normal"; }
|
||||
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "Normal"; }
|
||||
|
||||
bind "h" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||
bind "l" { GoToNextTab; SwitchToMode "Normal"; }
|
||||
|
||||
bind "Ctrl h" { GoToPreviousTab; }
|
||||
bind "Ctrl l" { GoToNextTab; }
|
||||
|
||||
bind "j" { FocusPreviousPane; SwitchToMode "Normal"; }
|
||||
bind "k" { FocusNextPane; SwitchToMode "Normal"; }
|
||||
|
||||
bind "Left" { MoveFocus "Left"; }
|
||||
bind "Right" { MoveFocus "Right"; }
|
||||
bind "Up" { MoveFocus "Up"; }
|
||||
bind "Down" { MoveFocus "Down"; }
|
||||
|
||||
bind "p" { GoToPreviousTab; SwitchToMode "Normal"; }
|
||||
bind "n" { GoToNextTab; SwitchToMode "Normal"; }
|
||||
|
||||
bind "," { SwitchToMode "RenameTab"; }
|
||||
|
||||
bind "[" { SwitchToMode "Scroll"; }
|
||||
bind "Ctrl b" { Write 2; SwitchToMode "Normal"; }
|
||||
bind "Space" { NextSwapLayout; }
|
||||
|
||||
bind "x" { CloseFocus; SwitchToMode "Normal"; }
|
||||
}
|
||||
|
||||
shared_except "normal" "locked" {
|
||||
bind "Enter" "Esc" { SwitchToMode "Normal"; }
|
||||
}
|
||||
shared_except "tmux" "locked" {
|
||||
bind "Ctrl b" { SwitchToMode "Tmux"; }
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
tab-bar { path "tab-bar"; }
|
||||
status-bar { path "status-bar"; }
|
||||
strider { path "strider"; }
|
||||
compact-bar { path "compact-bar"; }
|
||||
session-manager { path "session-manager"; }
|
||||
}
|
||||
|
||||
// on_force_close "quit" // or "detach"
|
||||
simplified_ui true
|
||||
|
||||
// Choose the path to override cwd that zellij will use for opening new panes
|
||||
//
|
||||
// default_cwd ""
|
||||
|
||||
pane_frames false
|
||||
|
||||
auto_layout true
|
||||
|
||||
scrollback_lines_to_serialize 100000
|
||||
|
||||
// Define color themes for Zellij
|
||||
// For more examples, see: https://github.com/zellij-org/zellij/tree/main/example/themes
|
||||
// Once these themes are defined, one of them should to be selected in the "theme" section of this file
|
||||
//
|
||||
// themes {
|
||||
// dracula {
|
||||
// fg 248 248 242
|
||||
// bg 40 42 54
|
||||
// red 255 85 85
|
||||
// green 80 250 123
|
||||
// yellow 241 250 140
|
||||
// blue 98 114 164
|
||||
// magenta 255 121 198
|
||||
// orange 255 184 108
|
||||
// cyan 139 233 253
|
||||
// black 0 0 0
|
||||
// white 255 255 255
|
||||
// }
|
||||
// }
|
||||
|
||||
themes {
|
||||
gruvbox-dark {
|
||||
fg "#D5C4A1"
|
||||
bg "#282828"
|
||||
black "#3C3836"
|
||||
red "#CC241D"
|
||||
green "#98971A"
|
||||
yellow "#D79921"
|
||||
blue "#3C8588"
|
||||
magenta "#B16286"
|
||||
cyan "#689D6A"
|
||||
white "#FBF1C7"
|
||||
orange "#D65D0E"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
theme "gruvbox-dark"
|
||||
|
||||
// The name of the default layout to load on startup
|
||||
// Default: "default"
|
||||
//
|
||||
// default_layout "compact"
|
||||
|
||||
// Choose the mode that zellij uses when starting up.
|
||||
// Default: normal
|
||||
//
|
||||
// default_mode "locked"
|
||||
|
||||
scroll_buffer_size 100000
|
||||
|
||||
// Provide a command to execute when copying text. The text will be piped to
|
||||
// the stdin of the program to perform the copy. This can be used with
|
||||
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||
// that will be used by default if this option is not set.
|
||||
// Examples:
|
||||
//
|
||||
// copy_command "xclip -selection clipboard" // x11
|
||||
// copy_command "wl-copy" // wayland
|
||||
// copy_command "pbcopy" // osx
|
||||
|
||||
// Choose the destination for copied text
|
||||
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||
// Does not apply when using copy_command.
|
||||
// Options:
|
||||
// - system (default)
|
||||
// - primary
|
||||
//
|
||||
// copy_clipboard "primary"
|
||||
|
||||
// Enable or disable automatic copy (and clear) of selection when releasing mouse
|
||||
// Default: true
|
||||
//
|
||||
// copy_on_select false
|
||||
|
||||
// Path to the default editor to use to edit pane scrollbuffer
|
||||
// Default: $EDITOR or $VISUAL
|
||||
//
|
||||
// scrollback_editor "/usr/bin/vim"
|
||||
|
||||
// When attaching to an existing session with other users,
|
||||
// should the session be mirrored (true)
|
||||
// or should each user have their own cursor (false)
|
||||
// Default: false
|
||||
//
|
||||
// mirror_session true
|
||||
|
||||
// The folder in which Zellij will look for layouts
|
||||
//
|
||||
// layout_dir "/path/to/my/layout_dir"
|
||||
|
||||
// The folder in which Zellij will look for themes
|
||||
//
|
||||
// theme_dir "/path/to/my/theme_dir"
|
||||
|
||||
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||
// May need to be disabled for certain unsupported terminals
|
||||
// Default: true
|
||||
//
|
||||
// styled_underlines false
|
Loading…
Reference in a new issue