From d833e065e371ed306ca26b8d2c3eba3582b4e0dc Mon Sep 17 00:00:00 2001 From: Derek Taylor Date: Sat, 5 Oct 2019 11:32:11 -0500 Subject: [PATCH] A few minor edits. --- .bashrc | 1 - .dmenu/dmenu-edit-configs.sh | 24 ++++++++++++------------ .vimrc | 6 +++--- .zshrc | 2 -- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.bashrc b/.bashrc index eda921e..c05923d 100644 --- a/.bashrc +++ b/.bashrc @@ -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 diff --git a/.dmenu/dmenu-edit-configs.sh b/.dmenu/dmenu-edit-configs.sh index 0dde6cf..6d70fc7 100755 --- a/.dmenu/dmenu-edit-configs.sh +++ b/.dmenu/dmenu-edit-configs.sh @@ -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 diff --git a/.vimrc b/.vimrc index 70ccee8..9e80c4b 100644 --- a/.vimrc +++ b/.vimrc @@ -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() diff --git a/.zshrc b/.zshrc index 0c21557..83d9684 100644 --- a/.zshrc +++ b/.zshrc @@ -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