# aliaseseses
alias ls='ls --color=auto'
-# alias git-pushall='git-pushall ' # for alias chaining
+alias grep='grep--color=auto'
alias dotfiles='git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
alias suckless-clean='make clean && rm -rf config.h && git reset --hard home/master'
alias musicdl="youtube-dl -f bestaudio"
alias mpv="mpv --no-input-default-bindings"
alias darkmpv='mpv --vf=sub,lavfi="negate"'
-# alias lockscreen='slock -m "$(figlet locked xd | cowsay -f cheese -n)"'
alias nmaplocal='nmap -sn 192.168.1.0/24'
alias refreshusb='udevadm control --reload-rules'
alias vpnup='nmcli connection up pinovpn'
alias drill-srs='drill-srs 2>/dev/null'
+
+alias v="$EDITOR"
+alias z="$READER"
+alias b="$BROWSER"
+
# connect to wifi
# nmcli device wifi connect WIFI_NAME password PASSWORD
+# record
+# ffmpeg -y -f x11grab -s 1600x900 -i :0.0 -f alsa -i default -c:v libx264 -r 30 -c:a flac $filename
+
source fzfutil
music_directory "~/Music"
-playlist_directory "~/.config/mpd/playlists"
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
/* execute_on_song_change = notify-send "Now Playing: $(mpc current)" -i "" */
+/* mpd_host = 192.168.1.31 */
+/* mpd_port = 8000 */
+
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "toggle_visualizer"
visualizer_sync_interval = "30"
snippet enum "enumerate" w
\begin{enumerate}[$1]
- $0
+ \item $0
\end{enumerate}
endsnippet
+snippet list "Itemized List" w
+\begin{itemize}
+ \item $0
+\end{itemize}
+endsnippet
+
+snippet def "Definition" w
+\textbf{$1} - $2
+endsnippet
+
snippet align "align" w
\begin{align*}
$0
# OTHERS
snippet implies "Implies" w
-\Rightarrow
+\to
+endsnippet
+
+snippet iff "If and only if" w
+\leftrightarrow
endsnippet
snippet mod "Mod" w
set encoding=utf-8
set tabstop=4
set shiftwidth=4
-set expandtab
+" set expandtab
set nrformats+=alpha "inc/dec alpha
set hidden
Plug 'PietroPate/vim-tex-conceal'
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-commentary'
+Plug 'rlue/vim-barbaric'
" Plug 'ptzz/lf.vim'
" Plug 'voldikss/vim-floaterm'
let g:tex_conceal='abdmgs'
let g:vimtex_compiler_latexmk = {
- \'build_dir': '/home/pinosaur/.cache/latexaux/',
+ \'build_dir': '/home/pinosaur/.cache/latexaux/'
\}
" Ctrlp
" Lf
" let g:lf_replace_netrw = 1 " weird behavior rn
+" vim-barbaric
+let g:barbaric_ime = 'ibus'
+set ttimeoutlen=0
+
" Run after plugins
autocmd FileType * set formatoptions-=o
screen_name="$screen_dir/$screen_name.png"
+sleep 0.3
+
case $1 in
-f|--full) scrot "$screen_name" && notify-send "Fullscreen screenshot taken - $screen_name" -i "";;
-b|--box) scrot -s "$screen_name" && notify-send "Windowed screenshot taken - $screen_name" -i "";;