diff --git a/.bashrc b/.bashrc index 9ab612c..91d8341 100644 --- a/.bashrc +++ b/.bashrc @@ -44,6 +44,11 @@ export PATH="/usr/local/opt/libpq/bin:$PATH" export CC=clang export CXX=clang++ export PATH="/usr/local/lib/python3.9/site-packages:$PATH" +if [[ "$OSTYPE" == "darwin"* ]] +then + export PATH="/Applications/Emacs.app/Contents/MacOS:$PATH" +fi + # COLORS diff --git a/.vimrc b/.vimrc index 3a55f1a..b5c7022 100644 --- a/.vimrc +++ b/.vimrc @@ -27,6 +27,8 @@ Plugin 'mkusher/padawan.vim' Plugin 'alvan/vim-closetag' Plugin 'pangloss/vim-javascript' Plugin 'mxw/vim-jsx' +Plugin 'junegunn/goyo.vim' +Plugin 'junegunn/limelight.vim' call vundle#end() " required filetype plugin indent on " required @@ -67,8 +69,10 @@ set signcolumn=yes let NERDTreeShowHidden=1 map :NERDTreeToggle - +nnoremap :Goyo nnoremap :w :! clear; ./% let g:closetag_filenames = '*.html,*.xhtml,*.phtml,*.php' autocmd BufRead ~/.ssh/config.d/* set syntax=sshconfig +autocmd! User GoyoEnter Limelight +autocmd! User GoyoLeave Limelight!