A few minor edits.

This commit is contained in:
Derek Taylor 2019-10-05 11:32:11 -05:00
parent 24b261530c
commit d833e065e3
4 changed files with 15 additions and 18 deletions

View File

@ -159,4 +159,3 @@ alias tb="nc termbin.com 9999"
set -o vi
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
./pfetch/pfetch

View File

@ -28,38 +28,38 @@ choice=$(echo -e "${options[@]}" | dmenu -i -p 'Edit a config file: ')
echo "Program terminated."
fi
if [ "$choice" == ' awesome ' ]; then
exec st -e vim $HOME/.config/awesome/rc.lua
exec emacs $HOME/.config/awesome/rc.lua
fi
if [ "$choice" == ' bash ' ]; then
exec st -e vim $HOME/.bashrc
exec emacs $HOME/.bashrc
fi
if [ "$choice" == ' bspwm ' ]; then
exec st -e vim $HOME/.config/bspwm/bspwmrc
exec emacs $HOME/.config/bspwm/bspwmrc
fi
if [ "$choice" == ' dwm ' ]; then
exec st -e vim $HOME/dwm/config.h
exec emacs $HOME/dwm/config.h
fi
if [ "$choice" == ' herbstluftwm ' ]; then
exec st -e vim $HOME/.config/herbstluftwm/autostart
exec emacs $HOME/.config/herbstluftwm/autostart
fi
if [ "$choice" == ' i3 ' ]; then
exec st -e vim $HOME/.i3/config
exec emacs $HOME/.i3/config
fi
if [ "$choice" == ' polybar ' ]; then
exec st -e vim $HOME/.config/polybar/config
exec emacs $HOME/.config/polybar/config
fi
if [ "$choice" == ' qtile ' ]; then
exec st -e vim $HOME/.config/qtile/config.py
exec emacs $HOME/.config/qtile/config.py
fi
if [ "$choice" == ' st ' ]; then
exec st -e vim $HOME/st/config.h
exec emacs $HOME/st/config.h
fi
if [ "$choice" == ' sxhkd ' ]; then
exec st -e vim $HOME/.config/sxhkd/sxhkdrc
exec emacs $HOME/.config/sxhkd/sxhkdrc
fi
if [ "$choice" == ' xmonad ' ]; then
exec st -e vim $HOME/.xmonad/xmonad.hs
exec emacs $HOME/.xmonad/xmonad.hs
fi
if [ "$choice" == ' zsh ' ]; then
exec st -e vim $HOME/.zshrc
exec emacs $HOME/.zshrc
fi

6
.vimrc
View File

@ -11,7 +11,6 @@ set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin() " required, all plugins must appear after this line.
"Plugin 'arcticicestudio/nord-vim' " Nord Color Scheme
Plugin 'gmarik/Vundle.vim' " Vundle
Plugin 'vim-airline/vim-airline' " Airline
Plugin 'vim-airline/vim-airline-themes' " Airline Themes
@ -24,7 +23,7 @@ Plugin 'severin-lemaignan/vim-minimap'
Plugin 'vimwiki/vimwiki' " Vim wiki
Plugin 'ap/vim-css-color' " Color previews for CSS
Plugin 'tpope/vim-surround' " Change surrounding marks
"Plugin 'klen/python-mode' " Python Mode
Plugin 'hsitz/VimOrganizer' " Org Mode
call vundle#end() " required, all plugins must appear before this line.
@ -148,4 +147,5 @@ let g:minimap_highlight='Visual'
let g:python_highlight_all = 1
syntax on
au! BufRead,BufWrite,BufWritePost,BufNewFile *.org
au BufEnter *.org call org#SetOrgFileType()

2
.zshrc
View File

@ -153,6 +153,4 @@ bindkey -v
bindkey '^R' history-incremental-search-backward
export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\""
./pfetch/pfetch
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh