mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
sync: from WSL
This commit is contained in:
parent
7d220c3873
commit
85f6d8799c
5 changed files with 25 additions and 8 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -35,6 +35,8 @@ PowerToys/
|
|||
Justfile
|
||||
# Nushell
|
||||
tools/nushell/
|
||||
# fzf
|
||||
common/fzfrc
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ bind C-a send-prefix
|
|||
|
||||
# Options
|
||||
set-option -g mouse on
|
||||
set-option -g default-terminal "screen-256color"
|
||||
set-option -g default-terminal "tmux-256color"
|
||||
set-option -g allow-rename on
|
||||
set-option -g alternate-screen on
|
||||
set-option -g visual-activity on
|
||||
|
|
@ -54,8 +54,17 @@ bind ` resize-pane -Z
|
|||
|
||||
# Status Bar
|
||||
# -----------------
|
||||
# set -g status-position top
|
||||
# set-option -g status-bg black
|
||||
# set-option -g status-fg white
|
||||
# set-option -g status-left '#[fg=green][#S] '
|
||||
# setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W '
|
||||
|
||||
set -g status-position top
|
||||
set-option -g status-bg black
|
||||
set-option -g status-fg white
|
||||
set-option -g status-left '#[fg=green][#S] '
|
||||
setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W '
|
||||
set -g @catppuccin_flavor "frappe"
|
||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||
set -g status-right-length 100
|
||||
set -g status-left-length 100
|
||||
set -g status-left ""
|
||||
set -g status-right "#{E:@catppuccin_status_application}"
|
||||
set -ag status-right "#{E:@catppuccin_status_session}"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
# Defines the interop commands between WSL and Windows
|
||||
|
||||
export FILE_EXPLORER="dopus.exe" # Directory Opus
|
||||
export FILE_EXPLORER="explorer.exe" # Directory Opus
|
||||
|
||||
alias clip="clip.exe"
|
||||
alias xclip="clip.exe"
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ alias pulldots="cd $DOTFILES && git pull"
|
|||
# Editors #
|
||||
alias v=nvim
|
||||
alias c=code
|
||||
alias sv="sudo vim"
|
||||
alias sn="sudo nvim"
|
||||
alias sv="sudo vim -u ~/.config/vim/vimrc"
|
||||
alias sn="sudo nvim -u ~/.config/nvim/init.lua"
|
||||
|
||||
# lsd - modern ls
|
||||
if command -v lsd > /dev/null; then
|
||||
|
|
@ -37,6 +37,9 @@ if command -v lsd > /dev/null; then
|
|||
alias tree='lsd --tree -I .DS_Store -I .git'
|
||||
fi
|
||||
|
||||
# fzf - Fuzzy Finder
|
||||
# export FZF_DEFAULT_OPTS_FILE=~/.dotfiles/common/fzfrc
|
||||
|
||||
# Functions #
|
||||
mkcd() {
|
||||
mkdir -p $1 && cd $1
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ HIST_STAMPS="yyyy-mm-dd"
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
|
||||
export LANG=zh_CN.UTF-8
|
||||
export LC_ALL=zh_CN.UTF-8
|
||||
|
||||
|
||||
# Manually manage plugins 手动管理插件
|
||||
# Load zsh-syntax-highlighting before zsh-history-substring-search
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue