feat: Simplify the dotfiles to what is useful
This commit is contained in:
parent
9232cf030b
commit
126d9892e2
11 changed files with 35 additions and 452 deletions
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Typical verbosity and settings.
|
||||
alias \
|
||||
mkd='mkdir -pv' \
|
||||
ffmepg='ffmpeg -hidebanner'
|
||||
|
||||
# Colorize when possible.
|
||||
alias \
|
||||
ls='ls -h -N -G --group-directories-first' \
|
||||
grep='grep --color=auto'
|
||||
|
||||
# Shortenings
|
||||
alias \
|
||||
d='docker' \
|
||||
h='history' \
|
||||
l='less' \
|
||||
s='sudo'
|
||||
|
|
@ -1,47 +0,0 @@
|
|||
$include /etc/inputrc
|
||||
|
||||
set colored-stats On
|
||||
set completion-prefix-display-length 6
|
||||
set mark-symlinked-directories On
|
||||
|
||||
set bell-style none
|
||||
set completion-ignore-case off
|
||||
set show-all-if-ambiguous on
|
||||
set menu-complete-display-prefix on
|
||||
|
||||
"\e[Z": menu-complete
|
||||
"\e[A": history-search-backward
|
||||
"\e[B": history-search-forward
|
||||
|
||||
# "\eOd": backward-word
|
||||
# "\eOc": forward-word
|
||||
#
|
||||
# # for linux console
|
||||
# "\e[1~": beginning-of-line
|
||||
# "\e[4~": end-of-line
|
||||
# "\e[5~": beginning-of-history
|
||||
# "\e[6~": end-of-history
|
||||
# "\e[3~": delete-char
|
||||
# "\e[2~": quoted-insert
|
||||
#
|
||||
# # for xterm
|
||||
# "\eOH": beginning-of-line
|
||||
# "\eOF": end-of-line
|
||||
|
||||
set editing-mode vi
|
||||
$if mode=vi
|
||||
|
||||
set show-mode-in-prompt on
|
||||
set vi-ins-mode-string \1\e\[6 q\2
|
||||
set vi-cmd-mode-string \1\e\[2 q\2
|
||||
|
||||
set keymap vi-command
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
|
||||
set keymap vi-insert
|
||||
Control-l: clear-screen
|
||||
Control-a: beginning-of-line
|
||||
"\C-i": menu-complete
|
||||
|
||||
$endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue