This commit is contained in:
Andrew Haynes
2026-03-10 12:09:51 -04:00
parent 6fcba0c4ab
commit 89bc50163e
4 changed files with 69 additions and 17 deletions
+11 -7
View File
@@ -20,7 +20,7 @@ require("lazy").setup({
{ "ibhagwan/fzf-lua", dependencies = { "nvim-tree/nvim-web-devicons" } },
{ "saghen/blink.cmp", version = "v1.*", opts = {} },
{
dir = "/home/andrew/personal/Projects/Lua/polydev/",
dir = "/Users/andrew/personal/Projects/Lua/polydev/",
opts = {
terminal = {
mode = "split",
@@ -92,12 +92,14 @@ vim.g.netrw_winsize = 25
vim.opt.wrapscan = true -- begin search from top of the file when nothng is found
vim.opt.cursorline = true -- enable cursorline
vim.opt.cursorlineopt = { "screenline", "number" } -- cursorline look
vim.opt.shortmess =
'aF' -- abbreviates messages and prevents file name being echoed when opened
vim.opt.ignorecase = true -- ignore cases when searching
vim.opt.smartcase = true -- However if we use a capital in search string we then consider case-sensitivity, ignorecase is disabled
vim.opt.smartindent = true -- smarter indentation
vim.opt.smarttab = true -- make tab behaviour smarter
vim.opt.foldmethod = "indent"
vim.opt.foldcolumn = "1"
vim.opt.foldenable = false
vim.opt.shortmess = 'aF' -- abbreviates messages and prevents file name being echoed when opened
vim.opt.ignorecase = true -- ignore cases when searching
vim.opt.smartcase = true -- However if we use a capital in search string we then consider case-sensitivity, ignorecase is disabled
vim.opt.smartindent = true -- smarter indentation
vim.opt.smarttab = true -- make tab behaviour smarter
vim.opt.laststatus = 3
vim.cmd.colorscheme("tokyonight-moon")
vim.lsp.enable({ "lua_ls", "clangd" })
@@ -126,3 +128,5 @@ vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references)
vim.keymap.set("n", "<leader>gR", vim.lsp.buf.rename)
vim.keymap.set("n", "<leader>gc", vim.lsp.buf.code_action)
vim.keymap.set("n", "<leader>uu", ":UndotreeToggle<CR>")
vim.keymap.set("n", "<leader>[", "<c-w>H", { silent = true, noremap = true, })
vim.keymap.set("n", "<leader>]", "<c-w>K", { silent = true, noremap = true, })
+21 -8
View File
@@ -1,17 +1,28 @@
unbind C-x
set -g prefix M-,
bind M-, send-prefix
# unbind C-x
unbind M-,
set -g prefix C-Space
bind C-Space send-prefix
set -g focus-events on
# set -g default-terminal "screen-256color"
set -ga terminal-features ',xterm-ghostty:RGB'
set-option -g default-shell $SHELL
# set -ga terminal-features ',xterm-ghostty:RGB'
# macOS specific (Ghostty)
if-shell '[[ $(uname) == "Darwin" ]]' {
set -ga terminal-features ',xterm-ghostty:RGB'
set -as terminal-overrides ',xterm-ghostty:Tc'
}
set -g status-style 'fg=#ff757f bg=default'
# Linux specific (Foot)
if-shell '[[ $(uname) == "Linux" ]]' {
set -ga terminal-features ',foot:RGB'
set -as terminal-overrides ',foot:Tc'
}
set-option -g default-shell $SHELL
set -g status-style 'fg=#c3e88d bg=#1b1d2b'
set -g status-left-length 100
set -g status-right-length 20
set -g status-left "#[fg=#828bb8, bold] #S #[fg=#828bb8,nobold]- "
set -g status-right "#[fg=#ff757f] %m-%d-%Y #[fg=#828bb8] %H:%M"
set -g status-left "#[fg=#ffc777, bold] [#S] #[fg=#ffc777,nobold]~ "
set -g status-right "#[fg=#c3e88d] %m-%d-%Y #[fg=#ffc777] %H:%M "
set -g base-index 1
set -g pane-base-index 1
@@ -21,6 +32,8 @@ set -g set-clipboard on
set -s escape-time 0
set -g status-position top
bind-key h previous-window
bind-key l next-window
bind -r f run-shell "tmux neww ~/.local/bin/tmux-windowizer"
bind -r v run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
bind-key z resize-pane -Z