Skip to content

Instantly share code, notes, and snippets.

@0xack13
Last active March 31, 2025 15:32
Show Gist options
  • Save 0xack13/bf16bfdaae82722beb9d67cd95487640 to your computer and use it in GitHub Desktop.
Save 0xack13/bf16bfdaae82722beb9d67cd95487640 to your computer and use it in GitHub Desktop.
wezterm
❯ cat ~/.wezterm.lua
-- Pull in the wezterm API
local wezterm = require("wezterm")

-- This will hold the configuration.
local config = wezterm.config_builder()

-- This is where you actually apply your config choices

-- For example, changing the color scheme:
config.color_scheme = "Gruvbox Dark (Gogh)"
config.enable_tab_bar = true
config.font_size = 21

config.keys = {
        {key="LeftArrow", mods="OPT", action=wezterm.action{SendString="\x1bb"}},
        {key="RightArrow", mods="OPT", action=wezterm.action{SendString="\x1bf"}},
}

-- and finally, return the configuration to wezterm
return config

set -g @plugin 'tmux-plugins/tpm' # mandatory
set -g @plugin 'tmux-plugins/tmux-sensible' # optional recommended

set -g @plugin 'egel/tmux-gruvbox'
# set desired theme options...
set -g @tmux-gruvbox 'dark' # or 'dark256', 'light', 'light256'

#source-file ${HOME}/.tmux-themepack/powerline/default/green.tmuxtheme
#setw -g mouse on
#bind -T copy-mode-vi y send -X copy-pipe "xclip -selection c"
#bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys
#-M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=;
#copy-mode -e; send-keys -M'"
#bind -n WheelDownPane select-pane -t= \; send-keys -M
#bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
#bind -T copy-mode-vi    C-WheelUpPane   send-keys -X halfpage-up
#bind -T copy-mode-vi    C-WheelDownPane send-keys -X halfpage-down
#bind -T copy-mode-emacs C-WheelUpPane   send-keys -X halfpage-up
#bind -T copy-mode-emacs C-WheelDownPane send-keys -X halfpage-down

# To copy, left click and drag to highlight text in yellow,
# once you release left click yellow text will disappear and will
#automatically be available in clibboard
# # Use vim keybindings in copy mode
#setw -g mode-keys vi
# Update default binding of `Enter` to also use copy-pipe
#unbind -T copy-mode-vi Enter
#bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
#bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X
#copy-pipe-and-cancel "pbcopy"
#bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."

run '~/.tmux/plugins/tpm/tpm'
❯ cat  ~/.config/nvim/lua/plugins/colorscheme.lua
return {
  -- add gruvbox
  { "ellisonleao/gruvbox.nvim" },

  -- Configure LazyVim to load gruvbox
  {
    "LazyVim/LazyVim",
    opts = {
      colorscheme = "gruvbox",
    },
  },
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment