mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 11:51:50 +08:00
see below
Kitty: add ctrl+shift+n to open new window in $PWD .zshrc: use exa for better ls implementation sway: remove mouse accel for pointers
This commit is contained in:
parent
90fb6ff11e
commit
3b355ac8f1
@ -1112,7 +1112,7 @@ symbol_map U+23FB-U+23FE,U+2B58,U+E200-U+E2A9,U+E0A0-U+E0A3,U+E0B0-U+E0BF,U+E0C0
|
||||
|
||||
#: For more details, see launch.
|
||||
|
||||
# map kitty_mod+n new_os_window
|
||||
map kitty_mod+n new_os_window_with_cwd
|
||||
|
||||
#: Works like new_window above, except that it opens a top level OS
|
||||
#: kitty window. In particular you can use new_os_window_with_cwd to
|
||||
|
@ -70,6 +70,11 @@ input 1:1:AT_Translated_Set_2_keyboard {
|
||||
xkb_options "ctrl:swapcaps"
|
||||
}
|
||||
|
||||
input type:pointer {
|
||||
accel_profile flat
|
||||
pointer_accel 0
|
||||
}
|
||||
|
||||
###END###
|
||||
|
||||
# Start a terminal
|
||||
|
11
.zshrc
11
.zshrc
@ -22,11 +22,13 @@ source "$HOME/.zinit/bin/zinit.zsh"
|
||||
zinit ice compile'(pure|async).zsh' pick'async.zsh' src'pure.zsh'
|
||||
zinit light sindresorhus/pure
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
zinit light zsh-users/zsh-history-substring-search
|
||||
|
||||
zinit ice lucid wait
|
||||
zinit light zdharma/fast-syntax-highlighting
|
||||
zinit light zsh-users/zsh-history-substring-search
|
||||
zinit ice lucid wait
|
||||
zinit light agkozak/zsh-z
|
||||
|
||||
autoload -Uz _zinit
|
||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||
|
||||
@ -134,9 +136,9 @@ alias free='free -h'
|
||||
alias g='git'
|
||||
alias grep='grep --color=auto'
|
||||
alias ip='ip -color=auto'
|
||||
alias la='ls -a --color=auto'
|
||||
alias ll='ls -lh --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
alias la='exa -a'
|
||||
alias ll='exa -l'
|
||||
alias ls='exa'
|
||||
alias nya='doas'
|
||||
alias pd='pandoc --pdf-engine=xelatex -V "mainfont:Source Han Sans CN"'
|
||||
alias pls='echo "doas "$(fc -ln -1) && doas $(fc -ln -1)'
|
||||
@ -144,6 +146,7 @@ alias se='doas emerge'
|
||||
alias sp='doas pacman'
|
||||
alias ssh='TERM="xterm-256color" ssh'
|
||||
alias sv='doasedit.sh'
|
||||
alias p='python'
|
||||
alias v='nvim'
|
||||
alias vw='nvim -c VimwikiIndex'
|
||||
alias yt-dl='yt-dlp --sub-lang en,zh-Hant --audio-format best'
|
||||
|
Loading…
Reference in New Issue
Block a user