This commit is contained in:
Geoffrey Frogeye 2017-06-27 08:14:12 +02:00
parent d11432643f
commit b44b414829
4 changed files with 29 additions and 13 deletions

2
bashrc
View file

@ -46,8 +46,6 @@ alias dmesg='dmesg --ctime'
# Frequent mistakes
alias systemclt=systemctl
alias docker='sudo docker'
alias docker-compose='sudo docker-compose'
# Shortcuts for commonly used commands
alias ll="ls -l $LS_OPTIONS"

36
inputrc
View file

@ -1,16 +1,34 @@
$include /etc/inputrc
set bell-style none
set completion-ignore-case on
set completion-prefix-display-length 4
set completion-query-items 200
set editing-mode vi
set history-preserve-point on
set history-size 10000
set horizontal-scroll-mode on
set mark-directories on
set mark-modified-lines off
set mark-symlinked-directories on
set match-hidden-files on
set page-completions on
set print-completions-horizontally on
set revert-all-at-newline off
set show-all-if-ambiguous on
set show-all-if-unmodified on
set skip-completed-text on
set visible-stats on
set page-completions off
$if mode=vi
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward
set keymap vi-command
# these are for vi-command mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
set keymap vi-insert
# these are for vi-insert mode
"\e[A": history-search-backward
"\e[B": history-search-forward
Control-l: clear-screen
$endif

View file

@ -280,7 +280,7 @@ if [ $EXTRA == 1 ]; then
inst sl ffmpeg youtube-dl
if [ $ARCH == 1 ]; then
altInst pdftk translate-shell git-lfs js-beautify
altInst pdftk translate-shell git-lfs js-beautify insect
fi
# Extra GUI

2
vimrc
View file

@ -44,7 +44,7 @@ nmap <F7> :UndotreeToggle<CR>:UndotreeFocus<CR>
""" CTRLP """
let g:ctrlp_custom_ignore = {
\ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output)$',
\ 'dir': '\v([\/]\.(git|hg|svn)|node_modules|bower_components|__pycache__|vendor|output|buildroot)$',
\ 'file': '\v\.(exe|so|dll)$',
\ 'link': 'SOME_BAD_SYMBOLIC_LINKS',
\ }