From 6337019032625913f9c3bf3cfac6c61a63c7d0c5 Mon Sep 17 00:00:00 2001 From: Josh Fabean Date: Wed, 9 Mar 2016 20:04:27 -0600 Subject: [PATCH] updated nvimrc & profile --- .nvimrc | 10 ++++++++++ .profile | 29 ++++++++++++++++++++++++----- .slate.js | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 5 deletions(-) create mode 100644 .slate.js diff --git a/.nvimrc b/.nvimrc index f42eb56..ac137b4 100644 --- a/.nvimrc +++ b/.nvimrc @@ -7,6 +7,7 @@ endif call plug#begin() " Plugins +Plug 'scrooloose/syntastic' Plug 'blueshirts/darcula' Plug 'ctrlpvim/ctrlp.vim' Plug 'FelikZ/ctrlp-py-matcher' @@ -16,6 +17,7 @@ Plug 'scrooloose/nerdtree' Plug 'christoomey/vim-tmux-navigator' Plug 'editorconfig/editorconfig-vim' Plug 'Valloric/YouCompleteMe', { 'do': './install.py' } +Plug 'mhinz/vim-grepper' "HTML & CSS Plug 'hail2u/vim-css3-syntax' @@ -28,11 +30,17 @@ Plug 'digitaltoad/vim-jade' Plug 'pangloss/vim-javascript' Plug 'jelera/vim-javascript-syntax' Plug 'leafgarland/typescript-vim' +Plug 'moll/vim-node' + "PHP Plug 'StanAngeloff/php.vim' Plug 'tanarurkerem/drupal-snippets' +"Stupid Coffee Script Because dummies +Plug 'kchmck/vim-coffee-script' + + call plug#end() let g:airline#extensions#tabline#enabled = 1 @@ -51,6 +59,8 @@ set noswapfile set t_Co=256 set hidden set relativenumber +set list listchars=tab:»·,trail:·,nbsp:· + "Nertree Toggle map :NERDTreeToggle diff --git a/.profile b/.profile index bd0dc60..41b38ae 100644 --- a/.profile +++ b/.profile @@ -5,7 +5,7 @@ NC='\033[0m' blackText='\e[1;30m' whitebg='\e[47m' -#echo -e "${hashes}███████████████████████████████████████████████████████████████████████████████████████████████████████████████████${NC}" +#echo -e "${hashes}███████████████████████████████████████████████████████████████████████████████████████████████████████████████████${NC}" #echo "${yellow} Only things that are hard are worth having ${NC}" /usr/local/bin/node /Users/joshfabean/Git/profile-text/index.js @@ -48,11 +48,11 @@ alias buildapp=" ant release; echo -e '${hashes}Enjoy your new app hot off the compiler!${NC}' open /Users/joshfabean/Sites/omnibox/platforms/android/bin/; - echo -e '\033[34;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0' - echo -e '\033[35;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0${NC}' + echo -e '\033[34;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0' + echo -e '\033[35;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0${NC}' echo -e '\033[45;5m IF THIS IS FOR PRODUCTION SWITCH TO PRODUCTION AND TAG THIS OR ELSE!!!!!!\033[0 ${NC}' - echo -e '\033[36;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0' - echo -e '\033[37;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0'" + echo -e '\033[36;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0' + echo -e '\033[37;5m███████████████████████████████████████████████████████████████████████████████████████████████████████████████████\033[0'" # build not signed app alias notsigned="phonegap build android --verbose && phonegap run android --verbose" @@ -93,8 +93,27 @@ alias addgolen='addgolden' #resource my profile alias sourceme='source ~/.profile' +#todo.sh +alias todo='todo.sh' + +# channeling Justin & alisiasing my git +alias gs='g status' +alias ga='g add' +alias gc='g commit' +alias gcm='g commit -m' +alias gpod='g pull origin dev' +alias gpos='g pull origin staging' +alias gpop='g pull origin production' + + # my path export PATH="/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/Users/joshfabean/Development/android/sdk/tools:/Users/joshfabean/Development/android/sdk/platform-tools:$PATH" export NVM_DIR="/Users/joshfabean/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm + +export ANDROID_HOME="/usr/local/opt/android-sdk" +export PATH=$PATH:$ANDROID_HOME/tools +export PATH=$PATH:$ANDROID_HOME/platform-tools + +export PATH="$PATH:/Applications/DevDesktop/drush" diff --git a/.slate.js b/.slate.js new file mode 100644 index 0000000..7ad1f55 --- /dev/null +++ b/.slate.js @@ -0,0 +1,48 @@ +# This is the default .slate file. +# If no ~/.slate file exists this is the file that will be used. + +config defaultToCurrentScreen true +config nudgePercentOf screenSize +config resizePercentOf screenSize + +# Resize Bindings +bind right:alt resize +10% +0 +bind left:alt resize -10% +0 +bind up:alt resize +0 -10% +bind down:alt resize +0 +10% +bind right:ctrl;alt resize -10% +0 bottom-right +bind left:ctrl;alt resize +10% +0 bottom-right +bind up:ctrl;alt resize +0 +10% bottom-right +bind down:ctrl;alt resize +0 -10% bottom-right + +# Push Bindings +bind right:ctrl;cmd push right bar-resize:screenSizeX/3 +bind left:ctrl;cmd push left bar-resize:screenSizeX/3 +bind up:ctrl;cmd push up bar-resize:screenSizeY/2 +bind down:ctrl;cmd push down bar-resize:screenSizeY/2 + +# Nudge Bindings +bind right:shift;alt nudge +10% +0 +bind left:shift;alt nudge -10% +0 +bind up:shift;alt nudge +0 -10% +bind down:shift;alt nudge +0 +10% + +# Throw Bindings +bind 1:ctrl;alt throw 0 resize +bind 2:ctrl;alt throw 1 resize +bind 3:ctrl;alt throw 2 resize +bind right:ctrl;alt;cmd throw right resize +bind left:ctrl;alt;cmd throw left resize +bind up:ctrl;alt;cmd throw up resize +bind down:ctrl;alt;cmd throw down resize + +# Focus Bindings +bind right:cmd focus right +bind left:cmd focus left +bind up:cmd focus up +bind down:cmd focus down +bind up:cmd;alt focus behind +bind down:cmd;alt focus behind + +# Window Hints +bind esc:cmd hint