Compare commits

...

4 Commits

6 changed files with 15 additions and 5 deletions

View File

@ -202,10 +202,17 @@ nmap <leader>rr <Plug>(coc-rename)
nmap <silent> <leader>gp <Plug>(coc-diagnostic-prev) nmap <silent> <leader>gp <Plug>(coc-diagnostic-prev)
nmap <silent> <leader>gn <Plug>(coc-diagnostic-next) nmap <silent> <leader>gn <Plug>(coc-diagnostic-next)
nnoremap <leader>cr :CocRestart nnoremap <leader>cr :CocRestart
" Adding commentary
xmap <leader>c <Plug>Commentary xmap <leader>c <Plug>Commentary
nmap <leader>c <Plug>Commentary nmap <leader>c <Plug>Commentary
omap <leader>c <Plug>Commentary omap <leader>c <Plug>Commentary
nmap <leader>cc <Plug>CommentaryLine nmap <leader>c <Plug>CommentaryLine
xmap <C-_> <Plug>Commentary
nmap <C-_> <Plug>Commentary
omap <C-_> <Plug>Commentary
nmap <C-_> <Plug>CommentaryLine
" Better tab " Better tab
vnoremap <Tab> > vnoremap <Tab> >

View File

@ -0,0 +1,2 @@
player=mpv --cache 2048 --no-resume-playback
player-no-close

1
.gitignore vendored
View File

@ -261,3 +261,4 @@ notes.org
Musik/ Musik/
.config/ytmdl .config/ytmdl
golang

View File

@ -1,2 +0,0 @@
player=mpv --cache 2048
player-no-close

2
.zshrc
View File

@ -101,7 +101,7 @@ alias denpl="trans en:pl"
alias dplen="trans pl:en" alias dplen="trans pl:en"
alias notes="nvim $HOME/git/notes/index.md" alias notes="nvim $HOME/git/notes/index.md"
alias mgr="cd $HOME/Documents/Mega-Documents/Magisterka-Marcin/Semestr1/" alias mgr="cd $HOME/Documents/Mega-Documents/Magisterka-Marcin/Semestr1/"
[[ "$(uname)" == "Darwin" ]] || alias mpv="__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'" [[ "$(uname)" == "Darwin" ]] && alias mpv="mpv --no-resume-playback" || alias mpv="__NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 mpv --vo=x11 --hwdec=no --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'"
[[ "$(uname)" == "Darwin" ]] && alias lsblk="diskutil list" [[ "$(uname)" == "Darwin" ]] && alias lsblk="diskutil list"
alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k" alias aria2c="aria2c --seed-time=0 --disable-ipv6 --max-upload-limit=1k"
alias lg="lazygit" alias lg="lazygit"

View File

@ -0,0 +1,2 @@
player=mpv --cache 2048 --no-resume-playback
player-no-close