Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
xvzc committed Jul 7, 2024
1 parent ea1905e commit b2314d8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
4 changes: 1 addition & 3 deletions dot_config/tmux/tmux.options.conf.tmpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# vim:filetype=tmux :tw=80:et

# set -g default-terminal "xterm-256color"
# set -g default-terminal 'xterm-256color'
set-option -g default-terminal "tmux-256color"
set -g default-terminal "screen-256color"
set -as terminal-features ",xterm-256color:RGB"

# 0 is too far from ` ;)
Expand Down
2 changes: 1 addition & 1 deletion dot_scripts/tmux/executable_new-session
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ selected_name=$(basename "$selected" | tr . _)
tmux_running=$(pgrep tmux)

if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then
tmux new-session -s $selected_name -c $selected
tmux -u new-session -s $selected_name -c $selected
exit 0
fi

Expand Down
7 changes: 6 additions & 1 deletion dot_wezterm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ config.window_padding = {
bottom = 0,
}

config.font_size = 12.0
if os.getenv("CUR_OS") == "Linux" then
config.font_size = 15.0
else
config.font_size = 12.0
end

config.font = wezterm.font_with_fallback({
"JetBrainsMonoNL Nerd Font",
"D2Coding",
Expand Down
7 changes: 3 additions & 4 deletions dot_zsh/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,11 @@ alias czf='chezmoi forget'
# ┌──────┐
# │ TMUX │
# └──────┘
alias tre='tmux attach'
alias tat='tmux attach-session -t'
alias tat='tmux -u attach-session -t'
alias tdt='tmux detach'
alias tkt='tmux kill-session -t'
alias tst='tmux switch -t'
alias tns='tmux new -c ~ -s'
alias tst='tmux -u switch -t'
alias tns='tmux -u new -c ~ -s'
alias tls='tmux ls'

# ┌────────┐
Expand Down
4 changes: 4 additions & 0 deletions dot_zsh/keymap.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ zle -N zle-line-init
autoload -Uz edit-command-line
zle -N edit-command-line

# Remove keymaps
bindkey -r "^S"
bindkey -r "^D"

bindkey "^E" edit-command-line

# bindkey '^[[Z' reverse-menu-complete
Expand Down

0 comments on commit b2314d8

Please sign in to comment.