From 4bb416d3782f7752a84dd3c495d2af3020ece48e Mon Sep 17 00:00:00 2001 From: Antoine Date: Tue, 26 Mar 2024 17:34:48 +0100 Subject: [PATCH] add sync_dotfiles --- bash_profile | 2 ++ bashrc | 2 ++ init.lua | 2 +- tmux.conf | 13 +++++++++++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bash_profile b/bash_profile index f7ec86a..ba1ceaa 100644 --- a/bash_profile +++ b/bash_profile @@ -14,4 +14,6 @@ alias n="cd ~/notes" alias nv="nvim" alias t="tmux" alias d="cd ~/dev" +alias sd="cd ~ && cd \$(find . -type d | fzf)" +alias c="clear" eval "$(starship init bash)" diff --git a/bashrc b/bashrc index 7796a23..7e8e0a5 100644 --- a/bashrc +++ b/bashrc @@ -4,4 +4,6 @@ alias ~="cd ~" alias n="cd ~/notes" alias nv="nvim" alias t="tmux" + +alias sd="cd ~ && cd \$(find . -type d | fzf)" eval "$(starship init bash)" diff --git a/init.lua b/init.lua index 3f87e60..3933983 100644 --- a/init.lua +++ b/init.lua @@ -2,5 +2,5 @@ return{ plugins = { { "catppuccin/nvim", name = "catppuccin", priority = 1000 } }, - colorscheme = "catppuccin-macchiato" + colorscheme = "catppuccin-macchiato" } diff --git a/tmux.conf b/tmux.conf index 67565a3..e1970e6 100644 --- a/tmux.conf +++ b/tmux.conf @@ -7,6 +7,19 @@ set -g focus-events on set -g mouse on +# remap prefix to Ctrl-f +unbind C-b +set-option -g prefix C-f +bind-key C-f send-prefix + +# vim keybindings to navigate across panes +# Set Vim-style pane navigation +bind-key -n C-h select-pane -L +bind-key -n C-j select-pane -D +bind-key -n C-k select-pane -U +bind-key -n C-l select-pane -R + + # status bar set -g window-status-current-style 'fg=white' set -g window-style default