Tmux config
This commit is contained in:
@@ -4,7 +4,7 @@ import = ["~/.config/alacritty/themes/rose-pine.toml"]
|
||||
TERM = "xterm-256color"
|
||||
|
||||
[font]
|
||||
size = 14.0
|
||||
size = 16.0
|
||||
|
||||
[font.bold]
|
||||
style = "Bold"
|
||||
@@ -33,8 +33,8 @@ decorations = "none"
|
||||
opacity = 0.95
|
||||
|
||||
[window.dimensions]
|
||||
columns = 108
|
||||
lines = 32
|
||||
columns = 98
|
||||
lines = 28
|
||||
|
||||
[window.padding]
|
||||
x = 0
|
||||
|
||||
@@ -16,14 +16,15 @@ enable_audio_bell no
|
||||
hide_window_decorations yes
|
||||
|
||||
# tab bar at bottom
|
||||
tab_bar_style powerline
|
||||
# if ever wanted to use bottom tab bar change tab_bar_style to powerline from hidden
|
||||
tab_bar_style hidden
|
||||
tab_bar_min_tabs 1
|
||||
tab_title_template "{index}:{tab.active_exe}"
|
||||
active_tab_title_template "{index}:{tab.active_exe}*"
|
||||
tab_bar_background none
|
||||
|
||||
macos_quit_when_last_window_closed yes
|
||||
macos_titlebar_color none
|
||||
macos_titlebar_color background
|
||||
macos_show_window_title_in none
|
||||
|
||||
shell_integration enabled
|
||||
@@ -31,16 +32,6 @@ shell_integration enabled
|
||||
map kitty_mod+enter no_op
|
||||
map cmd+enter no_op
|
||||
|
||||
map cmd+n launch --location=hsplit --cwd=current
|
||||
map cmd+shift+n launch --location=vsplit --cwd=current
|
||||
|
||||
map cmd+\ resize_window reset
|
||||
|
||||
# use tmux(idk skill issues)
|
||||
map ctrl+h neighboring_window left
|
||||
map ctrl+l neighboring_window right
|
||||
map ctrl+k neighboring_window up
|
||||
map ctrl+j neighboring_window down
|
||||
|
||||
# Jump to tabs
|
||||
map cmd+1 goto_tab 1
|
||||
|
||||
@@ -93,8 +93,9 @@ return {
|
||||
[server_name] = {
|
||||
analyses = {
|
||||
unusedparams = true,
|
||||
shadow = true,
|
||||
},
|
||||
usePlaceholders = true,
|
||||
staticcheck = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -110,6 +111,21 @@ return {
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
||||
["gopls"] = function()
|
||||
lspconfig.gopls.setup({
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
gopls = {
|
||||
gofumpt = true,
|
||||
},
|
||||
},
|
||||
flags = {
|
||||
debounce_text_changes = 150,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
})
|
||||
end,
|
||||
|
||||
@@ -22,7 +22,7 @@ return {
|
||||
|
||||
vim.keymap.set('n', '<leader>f', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<c-p>', builtin.git_files, {})
|
||||
-- vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<C-f>', builtin.live_grep, {})
|
||||
-- vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|
||||
end
|
||||
}
|
||||
|
||||
1
.config/tmux/plugins/catppuccin-tmux
Submodule
1
.config/tmux/plugins/catppuccin-tmux
Submodule
Submodule .config/tmux/plugins/catppuccin-tmux added at b4e0715356
1
.config/tmux/plugins/tmux
Submodule
1
.config/tmux/plugins/tmux
Submodule
Submodule .config/tmux/plugins/tmux added at 2ff900dc7a
1
.config/tmux/plugins/tmux-sensible
Submodule
1
.config/tmux/plugins/tmux-sensible
Submodule
Submodule .config/tmux/plugins/tmux-sensible added at 25cb91f42d
1
.config/tmux/plugins/tmux-yank
Submodule
1
.config/tmux/plugins/tmux-yank
Submodule
Submodule .config/tmux/plugins/tmux-yank added at acfd36e4fc
1
.config/tmux/plugins/tpm
Submodule
1
.config/tmux/plugins/tpm
Submodule
Submodule .config/tmux/plugins/tpm added at 99469c4a9b
1
.config/tmux/plugins/vim-tmux-navigator
Submodule
1
.config/tmux/plugins/vim-tmux-navigator
Submodule
Submodule .config/tmux/plugins/vim-tmux-navigator added at 38b1d0402c
33
.config/tmux/tmux.conf
Normal file
33
.config/tmux/tmux.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
set-option -sa terminal-overrides ',xterm*:Tc'
|
||||
set -s escape-time 0
|
||||
|
||||
unbind-key C-b
|
||||
set-option -g prefix C-x
|
||||
bind-key C-x send-prefix
|
||||
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @catppuccin_user 'on'
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
|
||||
run '~/.config/tmux/plugins/tpm/tpm'
|
||||
|
||||
set -g mouse on
|
||||
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
|
||||
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind - split-window -v -c #{pane_current_path}'
|
||||
bind _ split-window -h -c #{pane_current_path}'
|
||||
|
||||
bind -r ^ last-window
|
||||
bind -r k select-pane -U
|
||||
bind -r j select-pane -D
|
||||
bind -r h select-pane -L
|
||||
bind -r l select-pane -R
|
||||
Reference in New Issue
Block a user