Skip to content

Commit b2877b5

Browse files
Save changes at: 1742459699
1 parent c098853 commit b2877b5

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

profile.sh

+26-3
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,17 @@ EOF
8585
cat > "$HOME"/.bashrc.d/alias/general.sh << 'EOF'
8686
alias c="reset;clear"
8787
alias d="diff --color=auto"
88-
alias e="yazi"
88+
alias x="yazi"
8989
alias f="fzf -i --print0 | xclip -selection clipboard"
9090
alias g="grep --color"
9191
alias h="history"
92-
alias hx="helix"
92+
alias e="helix"
9393
alias ll="lsd -laS --color=auto"
9494
alias l="lsd -lahS --color=auto"
9595
alias md="glow --line-numbers --pager"
9696
alias o="dolphin . &> /dev/null &"
9797
alias r="source ~/.bashrc"
98+
alias p="btop"
9899
EOF
99100

100101
cat > "$HOME"/.bashrc.d/alias/git.sh << 'EOF'
@@ -113,7 +114,7 @@ EOF
113114
cat > "$HOME"/.bashrc.d/env/general.sh << 'EOF'
114115
export BROWSER=firefox
115116
export CLICOLOR=1
116-
export EDITOR=vim
117+
export EDITOR=helix
117118
export GOPATH=$HOME/go
118119
export LS_COLORS="di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31"
119120
export PATH=$PATH:$(go env GOPATH)/bin
@@ -608,6 +609,28 @@ theme = "adwaita-dark"
608609
609610
[keys.normal]
610611
y = "yank_joined_to_clipboard"
612+
p = "paste_clipboard_before"
613+
C-up = [ # scroll selections up one line
614+
"ensure_selections_forward",
615+
"extend_to_line_bounds",
616+
"extend_char_right",
617+
"extend_char_left",
618+
"delete_selection",
619+
"move_line_up",
620+
"add_newline_above",
621+
"move_line_up",
622+
"replace_with_yanked"
623+
]
624+
C-down = [ # scroll selections down one line
625+
"ensure_selections_forward",
626+
"extend_to_line_bounds",
627+
"extend_char_right",
628+
"extend_char_left",
629+
"delete_selection",
630+
"add_newline_below",
631+
"move_line_down",
632+
"replace_with_yanked"
633+
]
611634
612635
EOF
613636
}

0 commit comments

Comments
 (0)