File tree 1 file changed +26
-3
lines changed
1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 85
85
cat > " $HOME " /.bashrc.d/alias/general.sh << 'EOF '
86
86
alias c="reset;clear"
87
87
alias d="diff --color=auto"
88
- alias e ="yazi"
88
+ alias x ="yazi"
89
89
alias f="fzf -i --print0 | xclip -selection clipboard"
90
90
alias g="grep --color"
91
91
alias h="history"
92
- alias hx ="helix"
92
+ alias e ="helix"
93
93
alias ll="lsd -laS --color=auto"
94
94
alias l="lsd -lahS --color=auto"
95
95
alias md="glow --line-numbers --pager"
96
96
alias o="dolphin . &> /dev/null &"
97
97
alias r="source ~/.bashrc"
98
+ alias p="btop"
98
99
EOF
99
100
100
101
cat > " $HOME " /.bashrc.d/alias/git.sh << 'EOF '
113
114
cat > " $HOME " /.bashrc.d/env/general.sh << 'EOF '
114
115
export BROWSER=firefox
115
116
export CLICOLOR=1
116
- export EDITOR=vim
117
+ export EDITOR=helix
117
118
export GOPATH=$HOME/go
118
119
export LS_COLORS="di=1:fi=0:ln=31:pi=5:so=5:bd=5:cd=5:or=31"
119
120
export PATH=$PATH:$(go env GOPATH)/bin
@@ -608,6 +609,28 @@ theme = "adwaita-dark"
608
609
609
610
[keys.normal]
610
611
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
+ ]
611
634
612
635
EOF
613
636
}
You can’t perform that action at this time.
0 commit comments