diff --git a/.config/aliasrc b/.config/aliasrc index 5ba8b5c..c0226ad 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -23,10 +23,12 @@ alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME" src() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;} srd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;} - # grep alias grep="grep --color=auto" +# haste +haste() { a=$(cat); curl -X POST -s -d "$a" https://paste.tiyn.eu/documents | awk -F '"' '{print "https://paste.tiyn.eu/"$4}'; } + #khal alias calendar="khal" diff --git a/.config/nvim/UltiSnips/html.snippets b/.config/nvim/UltiSnips/html.snippets index 0d236bf..ee188c8 100644 --- a/.config/nvim/UltiSnips/html.snippets +++ b/.config/nvim/UltiSnips/html.snippets @@ -48,7 +48,9 @@ $2 endsnippet snippet ,p "Paragraph" A -

$1

+

+ $1 +

$2 endsnippet @@ -63,19 +65,17 @@ endsnippet snippet ,ul "Itemization" A endsnippet snippet ,li "List Element" A +
  • $1
  • -$2 endsnippet snippet ,ol "Enumeration" A
    1. $1
    2. - $2
    endsnippet diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 15b87a0..637aa94 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -83,9 +83,6 @@ set softtabstop=4 set shiftwidth=4 " Splits open at the bottom and right, which is non-retarded, unlike vim defaults. set splitbelow splitright -" Set lines and colors -set cursorline -set cursorcolumn " Disable case sensitive matching set ignorecase " Enable nocompatible mode @@ -100,6 +97,9 @@ set termguicolors set encoding=utf-8 " Show relative numbers on left side set number relativenumber +" Speedup vim with long lines +set ttyfast +set lazyredraw " enable persistent undo if has('persistent_undo') diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc new file mode 100644 index 0000000..09db9b4 --- /dev/null +++ b/.config/sxhkd/sxhkdrc @@ -0,0 +1,44 @@ +super + Return + $TERMINAL +super + b + $BROWSER +super + f + $FILE +super + i + intellij-idea-ultimate-edition +super + m + thunderbird +super + p + $TERMINAL -e ncmpcpp +super + s + startpagesearch +super + F5 + togglemonitor +super + F6 + toggletouchpad +super + F7 + dmenumount +super + F8 + dmenuumount +super + F9 + sudo -A systemmctl restart NetworkManager +super + F10 + prompt "Lock computer?" slock +super + F11 + prompt "Lock computer?" sudo -A shutdown -h now +super + F12 + prompt "Lock computer?" sudo -A reboot now +XF86Launch1 + xset dpms force off +XF86AudioMute + lmc m && refbar +XF86AudioMicMute + pactl set-source-mute 1 toggle && refbar +XF86AudioLowerVolume + lmc down 5 && refbar +XF86AudioRaiseVolume + lmc up 5 && refbar +XF86MonBrightnessDown + light -U 15 +XF86MonBrightnessUp + light -A 15 diff --git a/.config/xorg/xprofile b/.config/xorg/xprofile index 08d61ec..a0a669c 100644 --- a/.config/xorg/xprofile +++ b/.config/xorg/xprofile @@ -9,4 +9,4 @@ mpd & # starts the mpd server for music toggletouchpad & # deactivates the touchpad owncloud & dwmbar & -#sxhkd & +sxhkd &