bm* files, shortcuts and alias to .config
This commit is contained in:
32
.config/aliasrc
Normal file
32
.config/aliasrc
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
alias ka="killall" \
|
||||
mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \
|
||||
magit="nvim -c Magit" \
|
||||
p="sudo pacman" \
|
||||
SS="sudo systemctl" \
|
||||
f="vifm" \
|
||||
g="git" \
|
||||
trem="transmission-remote" \
|
||||
e="$EDITOR" \
|
||||
v="$EDITOR" \
|
||||
x="sxiv -ft *" \
|
||||
sdn="sudo shutdown -h now" \
|
||||
gua="git remote | xargs -L1 git push --all" \
|
||||
ls="ls -hN --color=auto --group-directories-first" \
|
||||
grep="grep --color=auto" \
|
||||
diff="diff --color=auto" \
|
||||
ccat="highlight --out-format=ansi" \
|
||||
yt="youtube-dl --add-metadata -i -o '%(upload_date)s-%(title)s.%(ext)s'" \
|
||||
yta="yt -x -f bestaudio/best" \
|
||||
YT="youtube-viewer" \
|
||||
ref="shortcuts >/dev/null; source ~/.config/shortcutrc" \
|
||||
upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \
|
||||
lsp="pacman -Qett --color=always | less" \
|
||||
ffmpeg="ffmpeg -hide_banner"
|
||||
|
||||
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present.
|
||||
|
||||
shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;}
|
||||
se() { du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;}
|
||||
sv() { vcopy "$(du -a ~/.scripts/* ~/.config/* | awk '{print $2}' | fzf)" ;}
|
||||
vf() { fzf | xargs -r -I % $EDITOR % ;}
|
||||
10
.config/bmdirs
Normal file
10
.config/bmdirs
Normal file
@@ -0,0 +1,10 @@
|
||||
# You can add comments to these files with #
|
||||
h ~/
|
||||
d ~/Documents
|
||||
D ~/Downloads
|
||||
m ~/Music
|
||||
pp ~/Pictures
|
||||
vv ~/Videos
|
||||
cf ~/.config
|
||||
sc ~/.scripts
|
||||
mn /mnt
|
||||
17
.config/bmfiles
Normal file
17
.config/bmfiles
Normal file
@@ -0,0 +1,17 @@
|
||||
bf ~/.bmfiles
|
||||
bd ~/.bmdirs
|
||||
cfb ~/.bashrc
|
||||
cfa ~/.aliasrc
|
||||
cfz ~/.zshrc
|
||||
cfv ~/.config/nvim/init.vim
|
||||
cfr ~/.config/ranger/rc.conf
|
||||
cfi ~/.config/i3/config
|
||||
cfm ~/.config/mutt/muttrc
|
||||
eb ~/Documents/LaTeX/uni.bib
|
||||
cv ~/Documents/LaTeX/cv.tex
|
||||
cfd ~/.Xdefaults
|
||||
cfu ~/.config/newsboat/urls
|
||||
cfn ~/.config/newsboat/config
|
||||
cfmb ~/.config/ncmpcpp/bindings
|
||||
cfmc ~/.config/ncmpcpp/config
|
||||
er ~/.referbib
|
||||
@@ -1,5 +1,5 @@
|
||||
" vim: filetype=vim
|
||||
source ~/.vifmshortcuts
|
||||
source ~/.config/vifm/vifmshortcuts
|
||||
|
||||
map <C-h> <C-w>h
|
||||
map <C-j> <C-w>j
|
||||
|
||||
Reference in New Issue
Block a user