common: update config
This commit is contained in:
@@ -102,6 +102,14 @@ export EDITOR="nvim"
|
|||||||
# Global CMake clangd fix
|
# Global CMake clangd fix
|
||||||
export CMAKE_EXPORT_COMPILE_COMMANDS=1
|
export CMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||||
|
|
||||||
[[ "$(tty)" == /dev/tty1 ]] && Hyprland
|
if [[ "$(tty)" == /dev/tty1 ]]; then
|
||||||
|
mount -a ; Hyprland
|
||||||
|
fi
|
||||||
|
|
||||||
$(&>/dev/null pw-play --volume=2.0 ~/.alert/ready.mp3 &)
|
$(&>/dev/null pw-play --volume=2.0 ~/.alert/ready.mp3 &)
|
||||||
|
|
||||||
|
## [Completion]
|
||||||
|
## Completion scripts setup. Remove the following line to uninstall
|
||||||
|
[[ -f /home/trianta/.config/.dart-cli-completion/zsh-config.zsh ]] && . /home/trianta/.config/.dart-cli-completion/zsh-config.zsh || true
|
||||||
|
## [/Completion]
|
||||||
|
|
||||||
|
|||||||
@@ -55,12 +55,5 @@ require('nvim-treesitter.configs').setup {
|
|||||||
vim.opt.conceallevel = 1
|
vim.opt.conceallevel = 1
|
||||||
|
|
||||||
-- Colors
|
-- Colors
|
||||||
function ColorMyPencils(color)
|
vim.o.background = "light" -- or "dark" for dark mode
|
||||||
color = color or "catppuccin-frappe"
|
vim.cmd([[colorscheme gruvbox]])
|
||||||
vim.cmd.colorscheme(color)
|
|
||||||
|
|
||||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
|
||||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
|
||||||
end
|
|
||||||
|
|
||||||
ColorMyPencils()
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ return require('lazy').setup({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"catppuccin/nvim",
|
"ellisonleao/gruvbox.nvim",
|
||||||
name = "catppuccin",
|
name = "gruvbox",
|
||||||
priority = 1000
|
priority = 1000
|
||||||
},
|
},
|
||||||
-- colors
|
-- colors
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ vim.opt.expandtab = true
|
|||||||
|
|
||||||
vim.opt.smartindent = true
|
vim.opt.smartindent = true
|
||||||
|
|
||||||
vim.opt.wrap = true
|
vim.opt.wrap = false
|
||||||
|
|
||||||
vim.opt.hlsearch = false
|
vim.opt.hlsearch = false
|
||||||
vim.opt.incsearch = true
|
vim.opt.incsearch = true
|
||||||
@@ -20,7 +20,10 @@ vim.opt.signcolumn = "yes"
|
|||||||
|
|
||||||
vim.opt.updatetime = 50
|
vim.opt.updatetime = 50
|
||||||
|
|
||||||
vim.opt.colorcolumn = "80"
|
-- Original limit
|
||||||
|
-- vim.opt.colorcolumn = "80"
|
||||||
|
-- Obisidian limit
|
||||||
|
vim.opt.colorcolumn = "65"
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,14 @@ set -g pane-base-index 1
|
|||||||
set-window-option -g pane-base-index 1
|
set-window-option -g pane-base-index 1
|
||||||
set-option -g renumber-windows on
|
set-option -g renumber-windows on
|
||||||
|
|
||||||
|
# vi visual bindings
|
||||||
|
setw -g mode-keys vi
|
||||||
|
bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode.
|
||||||
|
bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode.
|
||||||
|
bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode.
|
||||||
|
set-option -g status-keys vi
|
||||||
|
set-option -g mouse on
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
set -g @plugin 'catppuccin/tmux'
|
set -g @plugin 'catppuccin/tmux'
|
||||||
set -g @catppuccin_flavour 'mocha' # or frappe, latte, mocha
|
set -g @catppuccin_flavour 'mocha' # or frappe, latte, mocha
|
||||||
|
|||||||
Reference in New Issue
Block a user