Compare commits
5 commits
d7e0433019
...
945fe6011d
Author | SHA1 | Date | |
---|---|---|---|
945fe6011d | |||
809468496e | |||
c003020ec5 | |||
8377dc95e3 | |||
fb16ddbcad |
19 changed files with 70 additions and 7 deletions
|
@ -1,9 +1,11 @@
|
||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
# xbps
|
# xbps
|
||||||
alias xup="xi -Su"
|
alias xup="xi -Su"
|
||||||
# uses custom /usr/bin/xr
|
# uses custom /usr/bin/xr
|
||||||
alias xcln="xr -Oo"
|
alias xcln="xr -Oo"
|
||||||
|
|
||||||
# listing files
|
# eza
|
||||||
eza_params=(
|
eza_params=(
|
||||||
--git --icons --group --group-directories-first --time-style=long-iso
|
--git --icons --group --group-directories-first --time-style=long-iso
|
||||||
--color-scale=all --modified --classify=auto
|
--color-scale=all --modified --classify=auto
|
||||||
|
@ -17,7 +19,7 @@ alias ls="eza $eza_params"
|
||||||
alias l="eza --git-ignore $eza_params"
|
alias l="eza --git-ignore $eza_params"
|
||||||
alias ll="eza $eza_params_long $eza_params"
|
alias ll="eza $eza_params_long $eza_params"
|
||||||
alias la="eza --all $eza_params_long $eza_params"
|
alias la="eza --all $eza_params_long $eza_params"
|
||||||
alias lt="eza $eza_params_long $eza_params --level"
|
alias lt="eza $eza_params_long $eza_params --tree --level"
|
||||||
|
|
||||||
command -v bat &>/dev/null && alias cat="bat -p"
|
command -v bat &>/dev/null && alias cat="bat -p"
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
bxf = bx -f
|
bxf = bx -f
|
||||||
br = branch -m
|
br = branch -m
|
||||||
brx = br -f
|
brx = br -f
|
||||||
|
bl = branch -v
|
||||||
|
|
||||||
mm = merge
|
mm = merge
|
||||||
|
|
||||||
|
|
|
@ -40,10 +40,12 @@ render = true
|
||||||
enable = true
|
enable = true
|
||||||
|
|
||||||
[keys.normal]
|
[keys.normal]
|
||||||
C-s = ":w"
|
f = { f = "file_picker", w = ":write" }
|
||||||
C-o = "file_picker"
|
|
||||||
S-ret = ["open_below", "insert_mode"]
|
|
||||||
|
|
||||||
|
space = { w = { c = ":bc" }, c = { x = ":q" } }
|
||||||
|
C-w = { c = ":buffer-close" }
|
||||||
|
|
||||||
|
B = "extend_to_line_start"
|
||||||
E = "extend_to_line_end"
|
E = "extend_to_line_end"
|
||||||
x = "extend_to_line_bounds"
|
x = "extend_to_line_bounds"
|
||||||
X = "extend_line_below"
|
X = "extend_line_below"
|
||||||
|
@ -54,3 +56,4 @@ c = "change_selection_noyank"
|
||||||
A-c = "change_selection"
|
A-c = "change_selection"
|
||||||
|
|
||||||
S-v = ["extend_to_line_bounds","select_mode"]
|
S-v = ["extend_to_line_bounds","select_mode"]
|
||||||
|
S-ret = ["open_below", "insert_mode"]
|
||||||
|
|
|
@ -5,3 +5,5 @@ italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
|
|
||||||
background_opacity 0.95
|
background_opacity 0.95
|
||||||
|
|
||||||
|
enabled_layouts tall:bias=50;full_size=1,fat:bias=50;full_size=1,stack
|
||||||
|
|
|
@ -29,8 +29,35 @@ bind "y" "messagemode"
|
||||||
bind "u" "messagemode2"
|
bind "u" "messagemode2"
|
||||||
bind "\" "toggleconsole"
|
bind "\" "toggleconsole"
|
||||||
|
|
||||||
bind "space" "+jump"
|
// bind "space" "+jump"
|
||||||
bind "ctrl" "+duck"
|
// bind "ctrl" "+duck"
|
||||||
|
// bind "shift" "+sprint"
|
||||||
|
|
||||||
|
// De-Subtick Movement
|
||||||
|
|
||||||
|
bind "w" "+forward_"
|
||||||
|
bind "a" "+left_"
|
||||||
|
bind "s" "+back_"
|
||||||
|
bind "d" "+right_"
|
||||||
|
bind "space" "+jump_"
|
||||||
|
bind "ctrl" "+duck_"
|
||||||
|
bind "shift" "+sprint_"
|
||||||
|
|
||||||
|
alias +jump_ "exec workaround_jump_start"
|
||||||
|
alias -jump_ "exec workaround_jump_end"
|
||||||
|
alias +duck_ "exec workaround_duck_start"
|
||||||
|
alias -duck_ "exec workaround_duck_end"
|
||||||
|
alias +sprint_ "exec workaround_sprint_start"
|
||||||
|
alias -sprint_ "exec workaround_sprint_end"
|
||||||
|
|
||||||
|
alias +forward_ "exec workaround_forward_start"
|
||||||
|
alias -forward_ "exec workaround_forward_end"
|
||||||
|
alias +left_ "exec workaround_left_start"
|
||||||
|
alias -left_ "exec workaround_left_end"
|
||||||
|
alias +back_ "exec workaround_back_start"
|
||||||
|
alias -back_ "exec workaround_back_end"
|
||||||
|
alias +right_ "exec workaround_right_start"
|
||||||
|
alias -right_ "exec workaround_right_end"
|
||||||
|
|
||||||
bind "mouse3" "player_ping"
|
bind "mouse3" "player_ping"
|
||||||
bind "mouse4" "toggleradarscale"
|
bind "mouse4" "toggleradarscale"
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo back 0
|
||||||
|
toggle back "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo back 0
|
||||||
|
toggle back "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo duck 0
|
||||||
|
toggle duck "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo duck 0
|
||||||
|
toggle duck "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo forward 0
|
||||||
|
toggle forward "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo forward 0
|
||||||
|
toggle forward "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo jump 0
|
||||||
|
toggle jump "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo jump 0
|
||||||
|
toggle jump "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo left 0
|
||||||
|
toggle left "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo left 0
|
||||||
|
toggle left "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo right 0
|
||||||
|
toggle right "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo right 0
|
||||||
|
toggle right "1 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo sprint 0
|
||||||
|
toggle sprint "-999 0 0"
|
|
@ -0,0 +1,2 @@
|
||||||
|
setinfo sprint 0
|
||||||
|
toggle sprint "1 0 0"
|
Loading…
Add table
Reference in a new issue