-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rodrigo Melo
committed
Oct 10, 2024
0 parents
commit ca78201
Showing
30 changed files
with
3,017 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[core] | ||
pager = delta | ||
|
||
[interactive] | ||
diffFilter = delta --color-only | ||
|
||
[delta] | ||
navigate = true # use n and N to move between diff sections | ||
|
||
# delta detects terminal colors automatically; set one of these to disable auto-detection | ||
dark = true | ||
# light = true | ||
|
||
[merge] | ||
conflictstyle = diff3 | ||
|
||
[diff] | ||
colorMoved = default | ||
[user] | ||
name = Rodrigo Melo | ||
email = [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
set-option -sa terminal-overrides ",xterm*:Tc" | ||
set -g mouse on | ||
|
||
unbind C-b | ||
set -g prefix C-a | ||
bind -n M-Left select-pane -L | ||
bind -n M-Right select-pane -R | ||
bind -n M-Up select-pane -U | ||
bind -n M-Down select-pane -D | ||
bind -n C-M-Right split-window -h -c "#{pane_current_path}" | ||
bind -n C-M-Down split-window -v -c "#{pane_current_path}" | ||
bind -n M-h select-pane -L | ||
bind -n M-l select-pane -R | ||
bind -n M-k select-pane -U | ||
bind -n M-j select-pane -D | ||
bind -n C-M-l split-window -h -c "#{pane_current_path}" | ||
bind -n C-M-j split-window -v -c "#{pane_current_path}" | ||
bind-key ! break-pane -d -n _hidden_pane | ||
bind-key @ join-pane -s $.0 | ||
|
||
bind-key -T copy-mode y send-keys -X copy-pipe "xclip -selection clipboard" | ||
|
||
set -g base-index 1 | ||
set -g pane-base-index 1 | ||
set-window-option -g pane-base-index 1 | ||
set-option -g renumber-windows on | ||
|
||
# List of plugins | ||
set -g @plugin 'tmux-plugins/tpm' | ||
set -g @plugin 'tmux-plugins/tmux-sensible' | ||
set -g @plugin 'catppuccin/tmux' | ||
|
||
run '~/.tmux/plugins/tpm/tpm' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# PATHS | ||
export PATH="$HOME/.cargo/bin:$PATH" | ||
|
||
export ZSH="$HOME/.oh-my-zsh" | ||
|
||
# THEME | ||
ZSH_THEME="" | ||
|
||
# PLUGINS | ||
plugins=( | ||
fzf-tab | ||
fzf | ||
zsh-autosuggestions | ||
zsh-syntax-highlighting | ||
git | ||
) | ||
|
||
source $ZSH/oh-my-zsh.sh | ||
|
||
# TMUX | ||
if [ "$TMUX" = "" ]; then tmux; fi | ||
|
||
# ALIASES | ||
alias cat="bat --style=auto" | ||
alias sail="./vendor/bin/sail" | ||
alias pint="./vendor/bin/pint" | ||
|
||
# DIRS | ||
alias ..="cd .." | ||
alias ...="cd ../.." | ||
alias ....="cd ../../.." | ||
alias .....="cd ../../../.." | ||
alias ......="cd ../../../../.." | ||
|
||
# EZA | ||
alias ls="eza -l --icons --git -a" | ||
alias lst="eza --tree --level=2 --long --icons --git" | ||
|
||
# STARSHIP | ||
export STARSHIP_CONFIG=~/.config/starship/starship.toml | ||
eval "$(starship init zsh)" | ||
|
||
# ZOXIDE | ||
eval "$(zoxide init zsh)" | ||
|
||
# FZF | ||
export FZF_DEFAULT_OPTS=" \ | ||
--color=bg+:#313244,bg:#1e1e2e,spinner:#f5e0dc,hl:#f38ba8 \ | ||
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \ | ||
--color=marker:#b4befe,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8 \ | ||
--color=selected-bg:#45475a \ | ||
--multi" | ||
source <(fzf --zsh) | ||
|
||
# ASDF | ||
source /opt/asdf-vm/asdf.sh | ||
|
||
PATH=~/.console-ninja/.bin:$PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
column_width = 120 | ||
line_endings = "Unix" | ||
indent_type = "Spaces" | ||
indent_width = 2 | ||
quote_style = "AutoPreferDouble" | ||
call_parentheses = "None" |
Oops, something went wrong.