Initial Commit

This commit is contained in:
acicchetti 2018-05-25 11:14:58 -04:00
commit a00b9fa7e7
3 changed files with 116 additions and 0 deletions

11
git/ctct/gitconfig Normal file
View file

@ -0,0 +1,11 @@
# This is Git's per-user configuration file.
[user]
name = acicchetti
email = acicchetti@constantcontact.com
[diff]
tool = vimdiff
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool "vimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE

50
vim/vimrc Normal file
View file

@ -0,0 +1,50 @@
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
set number
set relativenumber
set tabstop=4
set shiftwidth=4
set hidden
set showtabline=1
set termguicolors
if has('nvim')
set inccommand=split
endif
call plug#begin('~/.config/nvim/plugged')
Plug 'machakann/vim-highlightedyank'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'ctrlpvim/ctrlp.vim'
Plug 'morhetz/gruvbox'
Plug 'tpope/vim-fugitive'
call plug#end()
"Gruvbox config
colorscheme gruvbox
set background=dark
let g:gruvbox_contrast_dark = 'soft'
"Airline settings
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
"CtrlP settings
let g:ctrlp_open_new_file = 'v'
let g:ctrlp_open_multiple_files = '2v'
let g:ctrlp_arg_map = 1
if executable('rg')
let g:ctrlp_user_command = 'rg --files %s'
let g:ctrlp_use_caching = 1
let g:ctrlp_working_path_mode = 'ra'
let g:ctrlp_switch_buffer = 'et'
endif

55
zsh/zshrc Normal file
View file

@ -0,0 +1,55 @@
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt appendhistory extendedglob nomatch notify
unsetopt autocd beep
bindkey -e
zstyle :compinstall filename '/home/anthonys/.zshrc'
zstyle ":completion:*" complete _complete _ignored _approximate
zstyle ":completion:*" glob 1
zstyle ":completion:*" insert-unambiguous true
zstyle ':completion:*' menu select
zstyle ':completion:*' rehash true
zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}'
zstyle ":completion:*" substitute 1
autoload -Uz up-line-or-beginning-search down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
[[ -n "$key[Up]" ]] && bindkey -- "$key[Up]" up-line-or-beginning-search
[[ -n "$key[Down]" ]] && bindkey -- "$key[Down]" down-line-or-beginning-search
autoload -Uz compinit promptinit
promptinit
compinit
export VISUAL='nvim'
export EDITOR='nvim'
export ANDROID_HOME='/Users/acicchetti/Android/sdk'
export PATH="$PATH:$ANDROID_HOME/platform-tools"
export PATH=$HOME/.ellipsis/bin:$PATH
export PATH=$HOME/bin:$PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
# antigen
source $HOME/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle thefuck
antigen theme https://github.com/denysdovhan/spaceship-prompt spaceship
antigen apply
alias 'onedrive-journal'="journalctl --user-unit onedrive -f"
eval $(thefuck --alias oops)
eval "$(pyenv init -)"