Compare commits

..

7 Commits

Author SHA1 Message Date
tgrosinger c06ef9a626 Fish: Add go/bin and npm/global/bin to path 2026-06-02 10:55:34 -07:00
tgrosinger 6287f40b07 Install: Add codex and claude 2026-06-02 10:51:22 -07:00
tgrosinger d05329471d Neovim: Disable markdownlint warnings for line length 2026-06-02 10:51:01 -07:00
tgrosinger 272e3ee138 Tmux: Hotkey to kill the current session 2026-05-15 09:36:21 -07:00
tgrosinger 583b78abad Tmux: Save sessions periodically and restore when reopening 2026-05-15 09:31:00 -07:00
tgrosinger f8fd24a8fb Neovim: Add persistence to reopen previous files on restart
Based on the directory, open whatever files were previously open when
vim was closed (intentionally or unexpectedly).
2026-05-15 09:30:09 -07:00
tgrosinger c77adc9234 Tmux: Mouse mode on by default 2026-05-15 09:19:25 -07:00
6 changed files with 59 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:4300
SETUVAR fish_user_paths:/home/tgrosinger/\x2edotfiles/bin/linux
SETUVAR fish_user_paths:/home/tgrosinger/go/bin\x1e/home/tgrosinger/\x2enpm\x2dglobal/bin\x1e/home/tgrosinger/\x2edotfiles/bin/linux
@@ -0,0 +1,7 @@
{
// markdownlint-cli2 base config used by nvim-lint (see lua/plugins/markdown.lua).
"config": {
// Disable line-length errors; long lines are soft-wrapped on purpose.
"MD013": false
}
}
@@ -0,0 +1,12 @@
return {
-- Point markdownlint-cli2 at a global config so MD013 (line-length) stays
-- disabled everywhere. The linter runs over stdin, so it can't reliably
-- auto-discover a per-project config; pass --config explicitly instead.
{
"mfussenegger/nvim-lint",
opts = function()
local config = vim.fn.stdpath("config") .. "/.markdownlint-cli2.jsonc"
require("lint").linters["markdownlint-cli2"].args = { "--config", config, "-" }
end,
},
}
@@ -0,0 +1,20 @@
return {
"folke/persistence.nvim",
init = function()
vim.api.nvim_create_autocmd("VimEnter", {
group = vim.api.nvim_create_augroup("PersistenceAutoload", { clear = true }),
nested = true,
callback = function()
if vim.fn.argc() == 0 then
require("persistence").load()
end
end,
})
vim.api.nvim_create_autocmd({ "BufWritePost", "FocusLost" }, {
group = vim.api.nvim_create_augroup("PersistenceCrashSave", { clear = true }),
callback = function()
require("persistence").save()
end,
})
end,
}
+13 -1
View File
@@ -14,7 +14,11 @@ set -g set-clipboard on
### Reload the config with r
bind-key r source-file ~/.tmux.conf\; display-message "Reloaded config"
### Toggle Mouse Mode
### Kill the current session
bind-key X confirm-before -p "Kill session #S? (y/n)" kill-session
### Mouse mode on by default; toggle with prefix + m
set -g mouse on
bind-key m set-window-option mouse\; display-message "mouse support is now #{?mouse,on,off}"
### Open LazyGit in a popup
@@ -73,6 +77,14 @@ set -g @catppuccin_window_status_enable "no"
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
# Session persistence (resurrect + continuum)
set -g @continuum-restore 'on'
set -g @continuum-save-interval '10'
set -g @resurrect-capture-pane-contents 'on'
set -g @resurrect-strategy-nvim 'session'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
+6 -1
View File
@@ -12,7 +12,9 @@ echo "Installing homebrew"
# npm config set prefix $HOME/.npm-global
# fish_add_path $HOME/.npm-global/bin
# npm install -g @anthropic-ai/sandbox-runtime
#
# NOTE: claude was installed using the install script:
# curl -fsSL https://claude.ai/install.sh | bash
brew install \
anomalyco/tap/opencode \
@@ -45,6 +47,9 @@ brew install \
#stripe-cli \
#visidata \
# OpenAI Codex
brew install --cask codex
brew services start atuin
# Previously these were installed with npm because I didn't want to use brew to