From b0f8df6034e573e806625f6b64d8875e09bd4af3 Mon Sep 17 00:00:00 2001 From: Clay Gomera Date: Mon, 18 Apr 2022 17:57:49 -0400 Subject: [PATCH] Updated --- .config/nvim/init.vim | 21 --------------------- README.md | 4 +++- 2 files changed, 3 insertions(+), 22 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 09610fde3..1ed2cdae1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -78,10 +78,6 @@ set noshowcmd " Check file in shellcheck: map s :!clear && shellcheck -x % -" Open my bibliography file in split - map b :vsp$BIB - map r :vsp$REFER - " Replace all is aliased to S. nnoremap S :%s//g @@ -91,9 +87,6 @@ set noshowcmd " Open corresponding .pdf/.html or preview map p :!opout % -" Runs a script that cleans out tex build files whenever I close out of a .tex file. - autocmd VimLeave *.tex !texclear % - " Ensure files are read as what I want: let g:vimwiki_ext2syntax = {'.Rmd': 'markdown', '.rmd': 'markdown','.md': 'markdown', '.markdown': 'markdown', '.mdown': 'markdown'} map v :VimwikiIndex @@ -105,12 +98,6 @@ set noshowcmd " Save file as sudo on files that require root permission cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' edit! -" Enable Goyo by default for mutt writing - autocmd BufRead,BufNewFile /tmp/neomutt* let g:goyo_width=80 - autocmd BufRead,BufNewFile /tmp/neomutt* :Goyo | set bg=light - autocmd BufRead,BufNewFile /tmp/neomutt* map ZZ :Goyo\|x! - autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q! - " Automatically deletes all trailing whitespace and newlines at end of file on save. & reset cursor position autocmd BufWritePre * let currPos = getpos(".") autocmd BufWritePre * %s/\s\+$//e @@ -118,14 +105,6 @@ set noshowcmd autocmd BufWritePre *.[ch] %s/\%$/\r/e autocmd BufWritePre * cal cursor(currPos[1], currPos[2]) -" When shortcut files are updated, renew bash and ranger configs with new material: - autocmd BufWritePost bm-files,bm-dirs !shortcuts -" Run xrdb whenever Xdefaults or Xresources are updated. - autocmd BufRead,BufNewFile Xresources,Xdefaults,xresources,xdefaults set filetype=xdefaults - autocmd BufWritePost Xresources,Xdefaults,xresources,xdefaults !xrdb % -" Recompile dwmblocks on config edit. - autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid -f dwmblocks } - " Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable. if &diff highlight! link DiffText MatchParen diff --git a/README.md b/README.md index ffa5d0fc9..f7a462d48 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,12 @@ This is just a personal repository where i store all my dotfiles, you're free cl # Dependencies If you want to get the full experience you need theese things: -* my dwm build (comming) +* [my dwm build](https://github.com/d4r1us-drk/drk-dwm) * my dmenu build (comming) * my dwmblocks build (comming) * my dmenu_scripts (comming) +* [gruvbox-dark-gtk](https://github.com/jmattheis/gruvbox-dark-gtk) +* [gruvbox-dark-icons-gtk](https://github.com/jmattheis/gruvbox-dark-icons-gtk) * mononoki Nerd Font * xbacklight * libinput & xf86-input-libinput