diff --git a/.config/polybar/config b/.config/polybar/config index af683e6..654c884 100755 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -127,7 +127,7 @@ scroll-down = bspwm-deskprev ;monitor = ${env:MONITOR} ;monitor-fallback = HDMI1 width = 100% -height = 20 +height = 28 ;offset-x = 1% ;offset-y = 1% radius = 0.0 diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 187b7a8..f7016b2 100755 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -13,14 +13,26 @@ let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc" " set encoding=UTF-8 +set hls +set number +set ignorecase +set smartcase +" map :NERDTreeToggle " " - Mapping + Settings +" Norm but in shortcut +vnoremap . :normal . +" Map ctrl + u as U +noremap U +" Map U as redo (ctrl + r) noremap U -noremap "*y -noremap "*p +" Yank and Put to/from clipboard/primary +noremap "+y +noremap "+p noremap "+y -noremap "+p +noremap "+P +" NERDComment thing noremap :NERDCommenterToggle :set mouse=a " specific type maps -- @@ -29,10 +41,6 @@ autocmd FileType python imap :w:exec '!clear; python3 %'< autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null autocmd FileType tex command! -nargs=0 Lw w !pdflatex % > /dev/null " ------------- -set number -set ignorecase -set smartcase -" map :NERDTreeToggle " Sw (sudo w) to save as root command! -nargs=0 W w !sudo tee % > /dev/null diff --git a/.config/xprofile b/.config/xprofile index 4f25391..b292512 100644 --- a/.config/xprofile +++ b/.config/xprofile @@ -1,7 +1,7 @@ #!/bin/sh # Slow app startup fix (for flatpaks) -#dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY +dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY # Universal Autostarts xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & diff --git a/.config/zsh/aliases b/.config/zsh/aliases index eded8d1..8ead92b 100644 --- a/.config/zsh/aliases +++ b/.config/zsh/aliases @@ -31,8 +31,8 @@ alias aurR='yay -R' #ripper alias spotifyrip='spotify-ripper -u palembani@gmail.com' -alias yt-dl='youtube-dl' -alias ytaudio='youtube-dl -x --audio-format' +alias yt='youtube-dl' +alias yta='youtube-dl -x --audio-format' alias xreload='xrdb $HOME/.config/Xresources' #clean up