From ab74f037d8b133e326620e954e864c846a491df4 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Thu, 26 Aug 2021 10:53:23 -0400 Subject: [PATCH] Update vim bashrc and newsboat --- src/bash/bashrc | 13 ++++-------- src/newsboat/config | 2 +- src/vim/vimrc | 51 ++++++++++++++++++++++++++++++++++++++------- 3 files changed, 49 insertions(+), 17 deletions(-) diff --git a/src/bash/bashrc b/src/bash/bashrc index b024110..fc3bd16 100644 --- a/src/bash/bashrc +++ b/src/bash/bashrc @@ -1,11 +1,6 @@ -# /etc/skel/.bashrc -# -# This file is sourced by all *interactive* bash shells on startup, -# including some apparently interactive shells such as scp and rcp -# that can't tolerate any output. So make sure this doesn't display -# anything or bad things will happen ! - - +############################################################################### +# Tyler Perkins +# .bashrc # Test for an interactive shell. There is no need to set anything # past this point for scp and rcp, and it's important to refrain from # outputting anything in those cases. @@ -46,7 +41,7 @@ alias weather="curl wttr.in" alias http="python -m http.server" alias google="tuxi" alias clipboard="xclip -selection clipboard" -alias new-wallpaper="xwallpaper --maximize $(find /home/tyler/.desktop/wallpaper/ -type f | shuf -n 1)" +alias new-wallpaper="xwallpaper --maximize $(find /home/tyler/.desktop/wallpaper/ -type f | shuf -n 1 --random-source=/dev/random)" alias diff="diff --color=auto" alias grep="grep -i --color=auto" diff --git a/src/newsboat/config b/src/newsboat/config index 2a0e80e..90eca0f 100644 --- a/src/newsboat/config +++ b/src/newsboat/config @@ -40,7 +40,7 @@ bind-key x pb-delete # Opening Config browser "vivaldi %u" -macro v set browser "mpv %u --no-terminal &" ; open-in-browser ; set browser "firefox %u" +macro v set browser "mpv %u --no-terminal &" ; open-in-browser ; set browser "vivaldi %u" #Pretty diff --git a/src/vim/vimrc b/src/vim/vimrc index 5ef6237..aced2a1 100644 --- a/src/vim/vimrc +++ b/src/vim/vimrc @@ -8,22 +8,59 @@ set nocompatible filetype off "set runtime path to insclude Vundle and init -"set rtp+=~/.vim/bundle/Vundle.vim -"call vundle#begin() +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() "let vundle manage vundle -"Plugin 'VundleVim/Vundle.vim' +Plugin 'VundleVim/Vundle.vim' "add plugins here -"Plugin 'ycm-core/YouCompleteMe' +Plugin 'ycm-core/YouCompleteMe' + +Plugin 'tpope/vim-surround' + +Plugin 'preservim/nerdtree' + +Plugin 'angelskieglazki/hcch.vim' + +Plugin 'luochen1990/rainbow' + +Plugin 'jiangmiao/auto-pairs' + +Plugin 'jamessan/vim-gnupg' + +"Appearence +Plugin 'ap/vim-css-color' +Plugin 'chr4/nginx.vim' +Plugin 'itchyny/lightline.vim' + +"hard mode +Plugin 'takac/vim-hardtime' "end plugins "end -"call vundle#end() +call vundle#end() filetype plugin indent on -"let g:loaded_youcompleteme = 1 +"enable hardmode +"let g:hardtime_default_on = 1 + +"dont show the mode +set noshowmode + +"toggle nerdtree +map :NERDTreeToggle +let NERDTreeIgnore = ['\.o$'] + + +"set lightline colortheme +let g:lightline = { + \ 'colorscheme' : 'powerline', + \ } + +"enable rainbow brackets +let g:rainbow_active = 1 "enable syntax highlighting syntax on @@ -60,7 +97,7 @@ set confirm set mouse=a "set command window to 2 lines, so we can see complete options -set cmdheight=2 +set cmdheight=1 "display editor numbers set number relativenumber