diff --git a/home/.vimrc b/home/.vimrc index 46b041a..43bbac7 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -103,6 +103,9 @@ nmap =, :Tabularize /[^,]*: " nathanaelkane/vim-indent-guides let g:indent_guides_enable_on_vim_startup = 0 +" scrooloose/nerdtree +let NERDTreeIgnore = ['__pycache__', '\.pyc$'] + " w0rp/ale let g:airline#extensions#ale#enabled = 1 let g:ale_completion_delay = 500 @@ -113,7 +116,8 @@ let g:ale_set_loclist = 0 let g:ale_sign_column_always = 1 let g:ale_linters = { - \'typescript': ['tslint', 'tsserver'] + \'typescript': ['tslint', 'tsserver'], + \'python': ['pyls'] \} " Key Mappings ######################################################################################################### diff --git a/home/bin/bin b/home/bin/bin deleted file mode 120000 index bd94c8f..0000000 --- a/home/bin/bin +++ /dev/null @@ -1 +0,0 @@ -/src/init-env/bin \ No newline at end of file diff --git a/home/bin/git-cleanup b/home/bin/git-cleanup new file mode 100755 index 0000000..d0f3f47 --- /dev/null +++ b/home/bin/git-cleanup @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +git branch | grep -v master | grep -v '\*' | while read BRANCH; do git branch -d $BRANCH -q; done diff --git a/install.sh b/install.sh index 3d0d5be..7057c56 100755 --- a/install.sh +++ b/install.sh @@ -15,8 +15,6 @@ fi pushd $HOME >/dev/null echo "Installing standard config files..." - ln -sf "$CONFIG_DIR/bin" bin - for FILE in $(ls -A "$CONFIG_DIR/home"); do [[ -e "$FILE" ]] && rm -rf "$FILE" ln -sf "$CONFIG_DIR/home/$FILE" "$FILE" @@ -30,6 +28,7 @@ echo "Installing standard brew packages..." which -s ag || brew install ag which -s ctags || brew install ctags which -s fswatch || brew install fswatch +which -s gcc || brew install gcc which -s python || brew install python # must preceed macvim which -s gvim || brew install macvim which -s node || brew install node @@ -56,7 +55,6 @@ which -s ts-node || npm install -g ts-node which -s tsserver || npm install -g typescript echo "Installing standard Python packages..." -which -s pylint || pip install pylint pip list --format=legacy | grep jedi >/dev/null || pip install jedi echo "Installing vi plugins..." diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..9d7e4b6 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,4 @@ +# Allowed options are: exclude, filename, select, ignore, max-line-length, hang-closing, count, format, quiet, show-pep8, +# show-source, statistics, verbose + +: