From 4dc06b2e8d8cfc5a363555a8ae7bc1f7aac2d7e9 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Tue, 8 Dec 2020 21:49:41 -0500 Subject: new vim functions and remove rss bloat --- .config/newsboat/urls | 24 ++++++++++++------------ .config/nvim/init.vim | 32 ++++++++++++++++++++++++++++++++ .config/zathura/zathurarc | 6 ++++-- 3 files changed, 48 insertions(+), 14 deletions(-) diff --git a/.config/newsboat/urls b/.config/newsboat/urls index dff4b3a..d124fbb 100644 --- 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 index 61aab55..2dc3db4 100755 --- 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 gc :Gcommit inoremap ;; /<++>"_c4l inoremap << « inoremap >> » +" Spelling quickfixes +function! QuickFixSpell(dir) + " -1 Means previous spelling err + if a:dir == -1 + normal! ms[s1z=`s + " 1 Means next spelling err + elseif a:dir== 1 + :normal! ms]s1z=`s + endif + execute 'delmark s' +endfunction + +nnoremap +nnoremap >s :call QuickFixSpell(1) + +" Markdown Heading underline +function! UnderlineHeading(level) + if a:level == 1 + normal! yypVr= + elseif a:level == 2 + normal! yypVr- + else + normal! I### + endif +endfunction + +nnoremap u1 :call UnderlineHeading(1) +nnoremap u2 :call UnderlineHeading(2) +nnoremap u3 :call UnderlineHeading(3) + " #---Filetype Specific Settings---# " set runtimepath^=~/.vim/bundle/todoist.nvim diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 6a9bd6e..da911a7 100644 --- 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 focus_inputbar ":exec lpr $FILE" -- cgit v1.2.3