1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 20:01:49 +08:00

Compare commits

..

No commits in common. "2c322b6afed039e385fc1222f3d7b0e9fa551c84" and "5b0fa53fddb4dae203ca0279bed8debf78048bc9" have entirely different histories.

2 changed files with 14 additions and 32 deletions

View File

@ -24,7 +24,7 @@ exec dbus-update-activation-environment --all
bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh bindsym $mod+Ctrl+l exec ~/.config/sway/scripts/logout.sh
bindsym $mod+Print exec ~/.config/sway/scripts/grimshot-ui.sh bindsym $mod+Print exec ~/.config/sway/scripts/grimshot-ui.sh
bindsym $mod+m exec swaync-client -t -sw bindsym $mod+n exec swaync-client -t -sw
#set gtk theme #set gtk theme
@ -77,12 +77,10 @@ bindsym $mod+Shift+s floating toggle ; sticky toggle ; resize set 800 600 ; move
# Start a terminal # Start a terminal
bindsym $mod+Return exec $term bindsym $mod+Return exec $term
bindsym $mod+n exec $term
# Kill focused window # Kill focused window
bindsym $mod+w kill bindsym $mod+w kill
# Start your launcher # Start your launcher
bindsym $mod+Shift+Return exec $menu bindsym $mod+Shift+Return exec $menu
bindsym $mod+Shift+n exec $menu
floating_modifier $mod normal floating_modifier $mod normal

42
.zshrc
View File

@ -34,44 +34,33 @@ zinit light zsh-users/zsh-history-substring-search
autoload -Uz _zinit autoload -Uz _zinit
(( ${+_comps} )) && _comps[zinit]=_zinit (( ${+_comps} )) && _comps[zinit]=_zinit
eval `dircolors` zstyle ':completion:*' auto-description 'specify: %F{magenta}%d%f'
# The following lines were added by compinstall zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle ':completion:*' auto-description 'Specify: %F{magenta}%d%f'
zstyle ':completion:*' completer _oldlist _expand _complete _ignored _match _correct _approximate _prefix
zstyle ':completion:*' completions 1
zstyle ':completion:*' expand prefix suffix zstyle ':completion:*' expand prefix suffix
zstyle ':completion:*' file-sort access zstyle ':completion:*' file-sort name
zstyle ':completion:*' format 'Completing %F{magenta}%d%f' zstyle ':completion:*' format 'Completing %F{magenta}%d%f'
zstyle ':completion:*' glob 1
zstyle ':completion:*' group-name '' zstyle ':completion:*' group-name ''
zstyle ':completion:*' ignore-parents parent pwd ..
zstyle ':completion:*' insert-unambiguous true zstyle ':completion:*' insert-unambiguous true
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s zstyle ':completion:*' list-suffixes true
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' zstyle ':completion:*' matcher-list '' 'm:{[:lower:]}={[:upper:]} m:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 8 numeric
zstyle ':completion:*' menu select=1 zstyle ':completion:*' menu select=1
zstyle ':completion:*' original false zstyle ':completion:*' original true
zstyle ':completion:*' preserve-prefix '//[^/]##/' zstyle ':completion:*' preserve-prefix '//[^/]##/'
zstyle ':completion:*' prompt 'Completing, with %e errors' zstyle ':completion:*' select-prompt %SScrolling active: current selection at %F{blue}%p%s%f %l
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s zstyle ':completion:*' verbose true
zstyle ':completion:*' substitute 1
zstyle ':completion:*' use-compctl true
zstyle :compinstall filename '/home/juan/.zshrc' zstyle :compinstall filename '/home/juan/.zshrc'
autoload -Uz compinit autoload -Uz compinit
compinit compinit
# End of lines added by compinstall HISTFILE=~/.cache/.zhistory
# Lines configured by zsh-newuser-install
HISTFILE=~/.cache/zhistory
HISTSIZE=8192 HISTSIZE=8192
SAVEHIST=8192 SAVEHIST=8192
setopt autocd extendedglob nomatch notify auto_pushd setopt autocd extendedglob nomatch notify auto_pushd
unsetopt beep unsetopt beep
bindkey -v zmodload zsh/complist
# End of lines configured by zsh-newuser-install
#vi mone
bindkey -v
export KEYTIMEOUT=1 export KEYTIMEOUT=1
#edit in vim #edit in vim
@ -79,7 +68,6 @@ autoload edit-command-line
zle -N edit-command-line zle -N edit-command-line
bindkey '' edit-command-line bindkey '' edit-command-line
zmodload zsh/complist
bindkey -M menuselect 'h' vi-backward-char bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char bindkey -M menuselect 'l' vi-forward-char
@ -87,13 +75,9 @@ bindkey -M menuselect 'j' vi-down-line-or-history
bindkey '^[[A' history-substring-search-up bindkey '^[[A' history-substring-search-up
bindkey '^[[B' history-substring-search-down bindkey '^[[B' history-substring-search-down
bindkey '' history-substring-search-up
bindkey '' history-substring-search-down
bindkey ' ' magic-space bindkey ' ' magic-space
bindkey '' autosuggest-execute
#config location #config location
export GOPATH=$HOME/.cache/go export GOPATH=$HOME/.cache/go
export LESSHISTFILE=/dev/null export LESSHISTFILE=/dev/null