tmux conf, and minor changes
This commit is contained in:
parent
184e72e8af
commit
1e373444d6
5 changed files with 71 additions and 5 deletions
|
@ -1,7 +1,6 @@
|
||||||
# Alias File
|
# Alias File
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
|
|
||||||
|
|
||||||
alias ls="exa --icons"
|
alias ls="exa --icons"
|
||||||
alias tree="exa --icons --tree"
|
alias tree="exa --icons --tree"
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,8 @@ if status is-interactive
|
||||||
end
|
end
|
||||||
|
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
export TERMINAL="kitty"
|
export TERMINAL="alacritty"
|
||||||
export TERMINAL_PROG="kitty"
|
export TERMINAL_PROG="alacritty"
|
||||||
export BROWSER="firefox"
|
export BROWSER="firefox"
|
||||||
export PAGER="bat"
|
export PAGER="bat"
|
||||||
|
|
||||||
|
@ -18,12 +18,13 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
export MANROFFOPT="-c"
|
export MANROFFOPT="-c"
|
||||||
|
|
||||||
source $XDG_CONFIG_HOME/fish/aliasrc
|
source $XDG_CONFIG_HOME/fish/aliasrc
|
||||||
bind \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh
|
|
||||||
|
|
||||||
fish_default_key_bindings
|
fish_default_key_bindings
|
||||||
#fish_vi_key_bindings
|
#fish_vi_key_bindings
|
||||||
bind \cH backward-kill-path-component
|
bind \cH backward-kill-path-component
|
||||||
bind "[3;5~" kill-word
|
bind "[3;5~" kill-word
|
||||||
|
bind \cf $XDG_DATA_HOME/scripts/tmux-sessionizer.sh
|
||||||
|
|
||||||
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/tsousa/.ghcup/bin $PATH # ghcup-env
|
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/tsousa/.ghcup/bin $PATH # ghcup-env
|
||||||
fish_add_path $HOME/.local/share/nvim/mason/bin/
|
fish_add_path $HOME/.local/share/nvim/mason/bin/
|
||||||
|
|
42
.config/fish/config.fish.bak
Normal file
42
.config/fish/config.fish.bak
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
|
|
||||||
|
export EDITOR="nvim"
|
||||||
|
export TERMINAL="kitty"
|
||||||
|
export TERMINAL_PROG="kitty"
|
||||||
|
export BROWSER="firefox"
|
||||||
|
export PAGER="bat"
|
||||||
|
|
||||||
|
export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
export XDG_DATA_HOME="$HOME/.local/share"
|
||||||
|
export XDG_CACHE_HOME="$HOME/.cache"
|
||||||
|
|
||||||
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
|
|
||||||
|
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
|
||||||
|
export MANROFFOPT="-c"
|
||||||
|
|
||||||
|
source $XDG_CONFIG_HOME/fish/aliasrc
|
||||||
|
|
||||||
|
fish_vi_key_bindings
|
||||||
|
bind \cH backward-kill-path-component
|
||||||
|
bind "[3;5~" kill-word
|
||||||
|
|
||||||
|
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /home/tsousa/.ghcup/bin $PATH # ghcup-env
|
||||||
|
fish_add_path $HOME/.local/share/nvim/mason/bin/
|
||||||
|
fish_add_path $HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin
|
||||||
|
fish_add_path $HOME/.cargo/bin/
|
||||||
|
fish_add_path $HOME/.config/emacs/bin
|
||||||
|
# google cloud bin
|
||||||
|
fish_add_path /opt/google-cloud-cli/bin
|
||||||
|
|
||||||
|
starship init fish | source
|
||||||
|
|
||||||
|
# >>> conda initialize >>>
|
||||||
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
|
if test -f /home/tsousa/.miniconda3/bin/conda
|
||||||
|
eval /home/tsousa/.miniconda3/bin/conda "shell.fish" "hook" $argv | source
|
||||||
|
end
|
||||||
|
# <<< conda initialize <<<
|
||||||
|
conda deactivate
|
|
@ -230,7 +230,7 @@ assign [class="discord"] 5
|
||||||
# startup programs
|
# startup programs
|
||||||
exec --no-startup-id nextcloud
|
exec --no-startup-id nextcloud
|
||||||
exec --no-startup-id nitrogen --restore
|
exec --no-startup-id nitrogen --restore
|
||||||
exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 1; exec kitty'
|
exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 1; exec $terminal'
|
||||||
exec --no-startup-id picom -b
|
exec --no-startup-id picom -b
|
||||||
exec --no-startup-id openrgb -d 0 -m off -d 1 -m off
|
exec --no-startup-id openrgb -d 0 -m off -d 1 -m off
|
||||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||||
|
|
24
.config/tmux/tmux.conf
Normal file
24
.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||||
|
|
||||||
|
unbind C-b
|
||||||
|
set-option -g prefix C-a
|
||||||
|
bind-key C-a send-prefix
|
||||||
|
set -g status-style 'bg=#181926 fg=#cad3f5'
|
||||||
|
set-option -g status-position top
|
||||||
|
set -g status-left-length 20
|
||||||
|
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
set -g base-index 1
|
||||||
|
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||||
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||||
|
|
||||||
|
# vim-like pane switching
|
||||||
|
bind -r ^ last-window
|
||||||
|
bind -r k select-pane -U
|
||||||
|
bind -r j select-pane -D
|
||||||
|
bind -r h select-pane -L
|
||||||
|
bind -r l select-pane -R
|
||||||
|
|
Loading…
Reference in a new issue