This commit is contained in:
ziro 2020-05-31 09:59:59 +07:00
parent f842638fcb
commit 96b521de89
4 changed files with 19 additions and 11 deletions

View file

@ -127,7 +127,7 @@ scroll-down = bspwm-deskprev
;monitor = ${env:MONITOR} ;monitor = ${env:MONITOR}
;monitor-fallback = HDMI1 ;monitor-fallback = HDMI1
width = 100% width = 100%
height = 20 height = 28
;offset-x = 1% ;offset-x = 1%
;offset-y = 1% ;offset-y = 1%
radius = 0.0 radius = 0.0

View file

@ -13,14 +13,26 @@ let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
" "
set encoding=UTF-8 set encoding=UTF-8
set hls
set number
set ignorecase
set smartcase
" map <C-n> :NERDTreeToggle<CR>
" "
" - Mapping + Settings " - Mapping + Settings
" Norm but in shortcut
vnoremap . :normal .<CR>
" Map ctrl + u as U
noremap <C-u> U
" Map U as redo (ctrl + r)
noremap U <C-r> noremap U <C-r>
noremap <C-y> "*y " Yank and Put to/from clipboard/primary
noremap <C-p> "*p noremap <C-y> "+y
noremap <C-p> "+p
noremap <C-Y> "+y noremap <C-Y> "+y
noremap <C-P> "+p noremap <C-P> "+P
" NERDComment thing
noremap <C-/> :NERDCommenterToggle noremap <C-/> :NERDCommenterToggle
:set mouse=a :set mouse=a
" specific type maps -- " specific type maps --
@ -29,10 +41,6 @@ autocmd FileType python imap <buffer> <F9> <esc>:w<CR>:exec '!clear; python3 %'<
autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null autocmd FileType plaintex command! -nargs=0 Lw w !pdflatex % > /dev/null
autocmd FileType tex 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 <C-n> :NERDTreeToggle<CR>
" Sw (sudo w) to save as root " Sw (sudo w) to save as root
command! -nargs=0 W w !sudo tee % > /dev/null command! -nargs=0 W w !sudo tee % > /dev/null

View file

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# Slow app startup fix (for flatpaks) # 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 # Universal Autostarts
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources & xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources &

View file

@ -31,8 +31,8 @@ alias aurR='yay -R'
#ripper #ripper
alias spotifyrip='spotify-ripper -u palembani@gmail.com' alias spotifyrip='spotify-ripper -u palembani@gmail.com'
alias yt-dl='youtube-dl' alias yt='youtube-dl'
alias ytaudio='youtube-dl -x --audio-format' alias yta='youtube-dl -x --audio-format'
alias xreload='xrdb $HOME/.config/Xresources' alias xreload='xrdb $HOME/.config/Xresources'
#clean up #clean up