Skip to content
Snippets Groups Projects
Commit 388bbfb8 authored by iliya's avatar iliya
Browse files

backups

parents
No related branches found
No related tags found
No related merge requests found
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 80
...
go/
Subproject commit bd9b64625e8e510d5c301757fdc5797259a5eef1
plugins/
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
set-option -g default-shell /bin/zsh
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'rose-pine/tmux'
set -g @plugin '27medkamal/tmux-session-wizard'
# Changing prefix from 'Ctrl+b' to 'Ctrl+a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Smart pane switching with awareness of vim splits
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Shift Alt vim keys to switch windows
bind -n M-H previous-window
bind -n M-L next-window
# FZF change sessions
set -g @session-wizard 's'
set -g @rose_pine_variant 'main' # Options are 'main', 'moon' or 'dawn'
set -g @rose_pine_host 'on' # Enables hostname in the status bar
set -g @rose_pine_date_time '%a %d %b %H:%M' # It accepts the date UNIX command format (man date for info)
# Example values for these can be:
set -g @rose_pine_left_separator ' > ' # The strings to use as separators are 1-space padded
set -g @rose_pine_right_separator ' < ' # Accepts both normal chars & nerdfont icons
set -g @rose_pine_field_separator ' | ' # Again, 1-space padding, it updates with prefix + I
# These are not padded
set -g @rose_pine_session_icon '' # Changes the default icon to the left of the session name
set -g @rose_pine_current_window_icon '' # Changes the default icon to the left of the active window name
set -g @rose_pine_folder_icon '' # Changes the default icon to the left of the current directory folder
set -g @rose_pine_username_icon '' # Changes the default icon to the right of the hostname
set -g @rose_pine_hostname_icon '󰒋' # Changes the default icon to the right of the hostname
set -g @rose_pine_date_time_icon '󰃰' # Changes the default icon to the right of the date module
set -g @rose_pine_window_status_separator "  " # Changes the default icon that appears between window names
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
[submodule ".config/nvim"]
path = .config/nvim
url = ssh://git@ssh.hesge.ch:10572/iliya.saroukha/nvim_config.git
.zshrc 0 → 100644
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Use powerline
USE_POWERLINE="true"
# Has weird character width
# Example:
#  is not a diamond
HAS_WIDECHARS="false"
# Source manjaro-zsh-configuration
if [[ -e /usr/share/zsh/manjaro-zsh-config ]]; then
source /usr/share/zsh/manjaro-zsh-config
fi
# Use manjaro zsh prompt
if [[ -e /usr/share/zsh/manjaro-zsh-prompt ]]; then
source /usr/share/zsh/manjaro-zsh-prompt
fi
# ---------- ALIASES -----------
alias py="ipython"
alias vim="nvim"
alias vpy="cd && source .venv/bin/activate && cd - > /dev/null"
alias a="tmux a"
alias ipa="ip -br -c a"
alias lg="lazygit"
# ------------ FZF -------------
#
source /usr/share/fzf/key-bindings.zsh
source /usr/share/fzf/completion.zsh
export FZF_DEFAULT_COMMAND="fd -t f . $HOME"
export FZF_ALT_C_COMMAND="fd --type d --max-depth 5 . $HOME"
# Preview file content using bat (https://github.com/sharkdp/bat)
export FZF_CTRL_T_OPTS="
--preview 'bat -n --color=always {}'
--bind 'ctrl-/:change-preview-window(down|hidden|)'"
export FZF_DEFAULT_OPTS="--color=fg:#f8f8f2,bg:-1,hl:#bd93f9,gutter:-1 --color=fg+:#f8f8f2,bg+:#44475a,hl+:#bd93f9 \
--color=info:#ffb86c,prompt:#50fa7b,pointer:#ff79c6 --color=marker:#ff79c6,spinner:#ffb86c,header:#6272a4 \
--height=100% --layout=default --info=inline --border --margin=1 --padding=1"
# --------- GOLANG ---------
export PATH=$PATH:/usr/local/go/bin
export GOPATH=$(go env GOPATH)
export PATH="$GOPATH/bin:$PATH"
# --------- NVM ---------
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# --------- JAVA ---------
export JAVA_HOME="/usr/lib/jvm/java-21-openjdk"
export PATH_TO_FX="/usr/lib/javafx-sdk-21.0.1/lib"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment