commit 4dc06b2e8d8cfc5a363555a8ae7bc1f7aac2d7e9
parent d203ea69eb995b9a56c496aedb6bd9dd3130f9a2
Author: Benjamin Chausse <benjamin@chausse.xyz>
Date:   Tue,  8 Dec 2020 21:49:41 -0500

new vim functions and remove rss bloat

Diffstat:
M.config/newsboat/urls | 24++++++++++++------------
M.config/nvim/init.vim | 32++++++++++++++++++++++++++++++++
M.config/zathura/zathurarc | 6++++--
3 files changed, 48 insertions(+), 14 deletions(-)

diff --git a/.config/newsboat/urls b/.config/newsboat/urls @@ -6,24 +6,24 @@ # # #--- Podcasts ---# # -http://feeds.wnyc.org/science-friday "Podcast" "~Podcast: Science Friday " +# http://feeds.wnyc.org/science-friday "Podcast" "~Podcast: Science Friday " https://feeds.buzzsprout.com/191338.rss "Podcast" "~Podcast: Our Ludicrous Future (Tim Dodd) " -https://carpoolcritics.libsyn.com/rss "Podcast" "~Podcast: Carpool Critics " -https://linustechtips.libsyn.com/wanshow "Podcast" "~Podcast: The WAN Show" -https://anchor.fm/s/3a6f26f8/podcast/rss "Podcast" "~Podcast: Total Space" +# https://carpoolcritics.libsyn.com/rss "Podcast" "~Podcast: Carpool Critics " +# https://linustechtips.libsyn.com/wanshow "Podcast" "~Podcast: The WAN Show" +# https://anchor.fm/s/3a6f26f8/podcast/rss "Podcast" "~Podcast: Total Space" http://festivalofthespokennerd.libsyn.com/rss "Podcast" "~Podcast: A Podcast of Unnecessary Details" http://aproblemsquared.libsyn.com/rss "Podcast" "~Podcast: A Problem Squared" # #---Youtube---# # -https://www.youtube.com/feeds/videos.xml?channel_id=UCtI0Hodo5o5dUb67FeUjDeA "Youtube" "~Youtube: SpaceX" +# https://www.youtube.com/feeds/videos.xml?channel_id=UCtI0Hodo5o5dUb67FeUjDeA "Youtube" "~Youtube: SpaceX" https://www.youtube.com/feeds/videos.xml?channel_id=UCxzC4EngIsMrPmbm6Nxvb-A "Youtube" "~Youtube: Scott Manley " -https://www.youtube.com/feeds/videos.xml?channel_id=UC6uKrU_WqJ1R2HMTY3LIx5Q "Youtube" "~Youtube: Everyday Astronaut " +# https://www.youtube.com/feeds/videos.xml?channel_id=UC6uKrU_WqJ1R2HMTY3LIx5Q "Youtube" "~Youtube: Everyday Astronaut " https://www.youtube.com/feeds/videos.xml?channel_id=UCRS3mwPLCNjuNM8qhBlsIUg "Youtube" "~Youtube: SpaceXentric " https://www.youtube.com/feeds/videos.xml?channel_id=UC8jkbVLPvztz8TuE98OYo8Q "Youtube" "~Youtube: Front Page Tech" -https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "Youtube" "~Youtube: Linus Tech Tips" +# https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw "Youtube" "~Youtube: Linus Tech Tips" https://www.youtube.com/feeds/videos.xml?channel_id=UCeeFfhMcJa1kjtfZAGskOCA "Youtube" "~Youtube: Techlinked" -https://www.youtube.com/feeds/videos.xml?channel_id=UCdBK94H6oZT2Q7l0-b0xmMg "Youtube" "~Youtube: Short Circuit" -https://www.youtube.com/feeds/videos.xml?channel_id=UCFLFc8Lpbwt4jPtY1_Ai5yA "Youtube" "~Youtube: LMG Clips" +# https://www.youtube.com/feeds/videos.xml?channel_id=UCdBK94H6oZT2Q7l0-b0xmMg "Youtube" "~Youtube: Short Circuit" +# https://www.youtube.com/feeds/videos.xml?channel_id=UCFLFc8Lpbwt4jPtY1_Ai5yA "Youtube" "~Youtube: LMG Clips" https://www.youtube.com/feeds/videos.xml?channel_id=UC2eEGT06FrWFU6VBnPOR9lg "Youtube" "~Youtube: Girlfriend Reviews" https://www.youtube.com/feeds/videos.xml?channel_id=UC6107grRI4m0o2-emgoDnAA "Youtube" "~Youtube: Smarter Everyday " https://www.youtube.com/feeds/videos.xml?channel_id=UC3DkFux8Iv-aYnTRWzwaiBA "Youtube" "~Youtube: Peter Mckinnon " @@ -33,11 +33,11 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCBa659QWEk1AI4Tg--mrJ2A "Yo # #---Twitter---# # http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=benchausse&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: Me " -http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=SpaceX&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: SpaceX " -http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=Erdayastronaut&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: Everyday Astronaut " +# http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=SpaceX&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: SpaceX " +# http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=Erdayastronaut&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: Everyday Astronaut " # #---Websites---# # -https://www.spacex.com/news.xml "Website" "~Website: SpaceX Feed " +# https://www.spacex.com/news.xml "Website" "~Website: SpaceX Feed " https://xkcd.com/rss.xml "Website" "~Website: XKCD " https://www.archlinux.org/feeds/news/ "Website" "~Website: Arch Linux News" # https://blogues.desjardins.com/press_release/atom.xml "Website" "~Website: Desjardins - Nouvelles" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -22,6 +22,8 @@ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " Go Deoplete sources Plug 'stamblerre/gocode', { 'rtp': 'vim', 'do': '~/.vim/plugged/gocode/vim/symlink.sh' } Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'} +" Automated vim bulletpoints +Plug 'dkarter/bullets.vim' " Todoist with vim? Plug 'romgrk/todoist.nvim', { 'do': ':TodoistInstall' } " LaTeX deoplete @@ -256,5 +258,35 @@ nmap <leader>gc :Gcommit<CR> inoremap ;; <Esc>/<++><CR>"_c4l inoremap << « inoremap >> » +" Spelling quickfixes +function! QuickFixSpell(dir) + " -1 Means previous spelling err + if a:dir == -1 + normal! ms[s1z=`s<cr> + " 1 Means next spelling err + elseif a:dir== 1 + :normal! ms]s1z=`s<cr> + endif + execute 'delmark s' +endfunction + +nnoremap <s :call QuickFixSpell(-1)<cr> +nnoremap >s :call QuickFixSpell(1)<cr> + +" Markdown Heading underline +function! UnderlineHeading(level) + if a:level == 1 + normal! yypVr= + elseif a:level == 2 + normal! yypVr- + else + normal! I###<space> + endif +endfunction + +nnoremap <leader>u1 :call UnderlineHeading(1)<cr> +nnoremap <leader>u2 :call UnderlineHeading(2)<cr> +nnoremap <leader>u3 :call UnderlineHeading(3)<cr> + " #---Filetype Specific Settings---# " set runtimepath^=~/.vim/bundle/todoist.nvim diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc @@ -12,8 +12,8 @@ set zoom-center true set window-title-basename true set window-title-page true set default-bg "rgba( 0, 0, 0, 0 )" -set recolor-lightcolor "rgba( 8, 11, 12, 0.82 )" -set recolor-darkcolor "rgba( 256, 256, 256, 1 )" +set recolor-lightcolor "rgba( 15, 23, 28, 0.92 )" +set recolor-darkcolor "rgba( 242, 241, 240, 1 )" # set recolor-lightcolor "rgba( 24, 32, 36, 0.72 )" # set recolor-darkcolor "rgba( 186, 196, 199, 1 )" set inputbar-fg "rgba( 186, 196, 199, 1 )" @@ -35,3 +35,5 @@ map J zoom in map K zoom out map i recolor map p print + +# map <C-o> focus_inputbar ":exec lpr $FILE"<cr>