From 62ed4ca6f1bd29d32fc58c40582c1d674f245351 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 2 Jul 2026 11:53:51 +0200 Subject: [PATCH] setup stow --- .DS_Store | Bin 0 -> 6148 bytes glow/.config/glow/glow.yml | 8 +++++++ micro/.config/micro/bindings.json | 4 ++++ micro/.config/micro/settings.json | 5 +++++ nvim/init.lua | 8 ------- nvim/lazy-lock.json | 7 ------ nvim/lua/config/lazy.lua | 35 ------------------------------ nvim/lua/plugins/gruvbox.lua | 1 - nvim/lua/plugins/telescope.lua | 9 -------- nvim/lua/plugins/toggleterm.lua | 10 --------- tmux/.tmux.conf | 19 ++++++++++++++++ vim/.vimrc | 0 zsh/.zshrc | 12 ++++++++++ 13 files changed, 48 insertions(+), 70 deletions(-) create mode 100644 .DS_Store create mode 100644 glow/.config/glow/glow.yml create mode 100644 micro/.config/micro/bindings.json create mode 100644 micro/.config/micro/settings.json delete mode 100644 nvim/init.lua delete mode 100644 nvim/lazy-lock.json delete mode 100644 nvim/lua/config/lazy.lua delete mode 100644 nvim/lua/plugins/gruvbox.lua delete mode 100644 nvim/lua/plugins/telescope.lua delete mode 100644 nvim/lua/plugins/toggleterm.lua create mode 100644 tmux/.tmux.conf mode change 100644 => 100755 vim/.vimrc create mode 100644 zsh/.zshrc diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..9da8318fa1fc4222fd21dd98c7b6bad0ca8df6f4 GIT binary patch literal 6148 zcmeH~JqiLr422W55Nx)zoW=uqgF*BJUO;pU3&BEctmf#x{IK9^Eg~Lpbz%*K+(W*X% zSl-*ACF^Qx3ypTs96mJPtTx5KG}=WAHZZL&3?x7TBLdUdcXs~o;GgFIQ46;uKmvb8 zKxf40|N", builtin.find_files, { desc = "Find files" }) - end, -} diff --git a/nvim/lua/plugins/toggleterm.lua b/nvim/lua/plugins/toggleterm.lua deleted file mode 100644 index e357594..0000000 --- a/nvim/lua/plugins/toggleterm.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - 'akinsho/toggleterm.nvim', - version = "*", - config = function() - require("toggleterm").setup({}) - -- Map to toggle terminal - vim.keymap.set("n", "", "ToggleTerm", { desc = "Toggle terminal" }) - vim.keymap.set("t", "", "ToggleTerm", { desc = "Toggle terminal" }) - end, -} diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..9490397 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,19 @@ +# ─── General settings ──────────────────────────────────────────── +set -g default-terminal "tmux-256color" +set -g base-index 1 +setw -g pane-base-index 1 + +# ─── Plugins (managed by TPM) ──────────────────────────────────── +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-resurrect' +set -g @plugin 'tmux-plugins/tmux-continuum' + +# ─── Resurrect settings ───────────────────────────────────────── +set -g @resurrect-capture-pane-contents 'on' +set -g @resurrect-strategy-vim 'session' + +# ─── Continuum settings (auto-save & restore) ─────────────────── +set -g @continuum-restore 'on' + +# ─── Initialize TPM (keep this at the very bottom) ────────────── +run '~/.tmux/plugins/tpm/tpm' diff --git a/vim/.vimrc b/vim/.vimrc old mode 100644 new mode 100755 diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..b96746e --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,12 @@ +# Auto-launch tmux +if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then + # If no tmux server running, start one (continuum will auto-restore) + # Otherwise attach to existing session + if ! tmux has-session 2>/dev/null; then + exec tmux new-session + else + exec tmux attach-session + fi +fi + +