From: Daniel Liu Date: Fri, 18 Dec 2020 21:58:46 +0000 (-0500) Subject: update X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=f7b515eabe10128f2e478e6ec16e387467d8d6a4;p=dotfiles.git update --- diff --git a/.bashrc b/.bashrc index 20289aa..0472eac 100644 --- a/.bashrc +++ b/.bashrc @@ -21,7 +21,7 @@ export QT_IM_MODULE=ibus #ibus-daemon -drx # Enivormentals -export PATH=$HOME/Scripts:$HOME/Scripts/dmenu:$HOME/Scripts/statusbar:$PATH +export PATH=$HOME/Scripts:$HOME/Scripts/dmenu:$HOME/Scripts/statusbar:$HOME/Scripts/acpi:$PATH export XDG_CONFIG_HOME=$HOME/.config export EDITOR="vim" @@ -34,7 +34,7 @@ export WM="dwm" alias ls='ls --color=auto' alias dotfiles='/usr/bin/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 -o ~/Music/%(title)s.%(ext)s" +alias musicdl="youtube-dl -f bestaudio" alias mpv="mpv --no-input-default-bindings" alias slock='slock -m "$(figlet locked xd | cowsay -f cheese -n)"' diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index a6b72d4..f767eec 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -106,6 +106,16 @@ snippet floor "Floor" w endsnippet +snippet cubert "Cube root" w +\sqrt[\leftroot{-2}\uproot{2}3]{$1} +endsnippet + + +snippet nroot "Root" w +\sqrt[\leftroot{-2}\uproot{2}$1]{$2} +endsnippet + + snippet ceil "Ceiling" w \lceil $1 \rceil endsnippet diff --git a/.vimrc b/.vimrc index 54035ba..afb2c7d 100644 --- a/.vimrc +++ b/.vimrc @@ -37,7 +37,7 @@ if empty(glob('~/.vim/autoload/plug.vim')) call plug#begin('~/.vim/plugged') -Plug 'sirver/ultisnips' +" Plug 'sirver/ultisnips' Plug 'lervag/vimtex' Plug 'jiangmiao/auto-pairs' Plug 'PietroPate/vim-tex-conceal' diff --git a/Scripts/fzfutil b/Scripts/fzfutil index 8d15256..6080d4c 100755 --- a/Scripts/fzfutil +++ b/Scripts/fzfutil @@ -1,6 +1,6 @@ #!/bin/sh -fuzzy_dirs="$HOME/Scripts/* $HOME/School/* $HOME/.vim/mysnippets/* $HOME/.bashrc $HOME/.xinitrc $HOME/.Xresources $HOME/.Xmodmap $HOME/.config/*" +fuzzy_dirs="$HOME/Scripts/* $HOME/School/* $HOME/.vim/mysnippets/* $HOME/.bashrc $HOME/.xinitrc $HOME/.Xresources $HOME/.Xmodmap $HOME/.config/* $HOME/Repos/* $HOME/installs/*" ffi() { # standard fzf on files fname="$(find $fuzzy_dirs -type f | fzf)"