This commit is contained in:
wooshdude
2024-12-02 17:00:02 -08:00
parent 6c4a8d81f8
commit a55e5d45ea
4 changed files with 800 additions and 702 deletions
+13 -1
View File
@@ -32,5 +32,17 @@
"folder": " ", "folder": " ",
"file": " ", "file": " ",
"interface": "󱃖 " "interface": "󱃖 "
} },
"coc.source.OmniSharp.enable": true,
"omnisharp.trace.server": "information",
"omnisharp.debug.server": true,
"omnisharp.path": "/usr/local/bin/omnisharp",
"diagnostic.enableMessage": "never",
"diagnostic.enable": true,
"diagnostic.errorSign": "✗",
"diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "➤",
"diagnostic.virtualText": true,
"diagnostic.virtualTextCurrentLineOnly": true
} }
+638 -614
View File
File diff suppressed because it is too large Load Diff
+79 -17
View File
@@ -1,24 +1,86 @@
# ~/.tmux.conf set-option -sa terminal-overrides ",xterm*:Tc"
# Options to make tmux more pleasant
set -g mouse on set -g mouse on
set -g default-terminal "tmux-256color"
set -a terminal-features 'xterm-256color:RGB'
# Configure the catppuccin plugin unbind C-b
set -g @catppuccin_flavor "mocha" set -g prefix C-Space
bind C-Space send-prefix
# Spawn a new window (tab equivalent)
bind -n M-c new-window
# Close the current pane
bind -n M-x kill-pane
# Switch to the previous window (tab equivalent)
bind -n M-b previous-window
# Switch to the next window (tab equivalent)
bind -n M-n next-window
# Split the window horizontally
bind -n M-v split-window -h
# Split the window vertically
bind -n M-g split-window -v
# Activate the pane on the left
bind -n M-h select-pane -L
# Activate the pane below
bind -n M-j select-pane -D
# Activate the pane above
bind -n M-k select-pane -U
# Activate the pane on the right
bind -n M-l select-pane -R
# Resize the pane to the left
bind -n M-Left resize-pane -L 5
# Resize the pane to the right
bind -n M-Right resize-pane -R 5
# Resize the pane down
bind -n M-Down resize-pane -D 5
# Resize the pane up
bind -n M-Up resize-pane -U 5
# Start windows and panes at 1, not 0
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator'
#set -g @plugin 'catppuccin/tmux'
#set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
set -g @plugin 'wooshdude/catppuccin-tmux'
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @catppuccin_flavour 'mocha'
set -g @catppuccin_window_status_style "rounded" set -g @catppuccin_window_status_style "rounded"
# Load catppuccin
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
# For TPM, instead use `run ~/.config/tmux/plugins/tmux/catppuccin.tmux`
# Make the status line pretty and add some modules
set -g status-right-length 100 set -g status-right-length 100
set -g status-left-length 100 set -g status-left-length 100
set -g status-left "" set -g status-left ""
set -g status-right "#{E:@catppuccin_date_time}" set -g @catppuccin_window_current_number_color "#{@thm_magenta}"
run ~/.config/tmux/plugins/tmux-plugins/tmux-cpu/cpu.tmux #set -g @catppuccin_status_middle_separator ""
run ~/.config/tmux/plugins/tmux-plugins/tmux-battery/battery.tmux set -g @catppuccin_status_right_separator ""
# Or, if using TPM, just run TPM set -g @catppuccin_status_left_separator ""
run '~/.tmux/plugins/tpm/tpm'
# set vi-mode
set-window-option -g mode-keys vi
# keybindings
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
bind '"' split-window -v -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
+70 -70
View File
@@ -20,76 +20,76 @@ config.window_decorations = "RESIZE"
-- tmux -- tmux
config.keys = { config.keys = {
{ -- {
mods = "ALT", -- mods = "ALT",
key = "c", -- key = "c",
action = wezterm.action.SpawnTab("CurrentPaneDomain"), -- action = wezterm.action.SpawnTab("CurrentPaneDomain"),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "x", -- key = "x",
action = wezterm.action.CloseCurrentPane({ confirm = false }), -- action = wezterm.action.CloseCurrentPane({ confirm = false }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "b", -- key = "b",
action = wezterm.action.ActivateTabRelative(-1), -- action = wezterm.action.ActivateTabRelative(-1),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "n", -- key = "n",
action = wezterm.action.ActivateTabRelative(1), -- action = wezterm.action.ActivateTabRelative(1),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "v", -- key = "v",
action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }), -- action = wezterm.action.SplitHorizontal({ domain = "CurrentPaneDomain" }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "g", -- key = "g",
action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }), -- action = wezterm.action.SplitVertical({ domain = "CurrentPaneDomain" }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "h", -- key = "h",
action = wezterm.action.ActivatePaneDirection("Left"), -- action = wezterm.action.ActivatePaneDirection("Left"),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "j", -- key = "j",
action = wezterm.action.ActivatePaneDirection("Down"), -- action = wezterm.action.ActivatePaneDirection("Down"),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "k", -- key = "k",
action = wezterm.action.ActivatePaneDirection("Up"), -- action = wezterm.action.ActivatePaneDirection("Up"),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "l", -- key = "l",
action = wezterm.action.ActivatePaneDirection("Right"), -- action = wezterm.action.ActivatePaneDirection("Right"),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "LeftArrow", -- key = "LeftArrow",
action = wezterm.action.AdjustPaneSize({ "Left", 5 }), -- action = wezterm.action.AdjustPaneSize({ "Left", 5 }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "RightArrow", -- key = "RightArrow",
action = wezterm.action.AdjustPaneSize({ "Right", 5 }), -- action = wezterm.action.AdjustPaneSize({ "Right", 5 }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "DownArrow", -- key = "DownArrow",
action = wezterm.action.AdjustPaneSize({ "Down", 5 }), -- action = wezterm.action.AdjustPaneSize({ "Down", 5 }),
}, -- },
{ -- {
mods = "ALT", -- mods = "ALT",
key = "UpArrow", -- key = "UpArrow",
action = wezterm.action.AdjustPaneSize({ "Up", 5 }), -- action = wezterm.action.AdjustPaneSize({ "Up", 5 }),
}, -- },
} }
config.window_padding = { config.window_padding = {