Skip to content

Instantly share code, notes, and snippets.

@EpicEric
Last active August 12, 2023 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EpicEric/22947235ff30d634646729747e6588c9 to your computer and use it in GitHub Desktop.
Save EpicEric/22947235ff30d634646729747e6588c9 to your computer and use it in GitHub Desktop.
EpicEric's personal configuration
terminal:
emulator:
name: alacritty
url: https://github.com/alacritty/alacritty
shell:
name: zsh
url: https://sourceforge.net/projects/zsh/
framework:
name: oh-my-zsh
url: https://github.com/robbyrussell/oh-my-zsh
theme:
name: bullet-train
url: https://github.com/caiogondim/bullet-train.zsh
plugins:
- name: zsh-autosuggestions
url: https://github.com/zsh-users/zsh-autosuggestions
editor:
name: Neovim
url: https://github.com/neovim/neovim
plugins:
- name: vim-plug
url: https://github.com/junegunn/vim-plug
font:
name: Meslo LG M Regular for Powerline
url: https://github.com/powerline/fonts/tree/master/Meslo%20Slashed
color-scheme:
name: Argonaut
url: https://github.com/EpicEric/Argonaut-theme
util:
- name: fzf
url: https://github.com/junegunn/fzf
editor:
name: Visual Studio Code
url: https://code.visualstudio.com/
browser:
name: Mozilla Firefox
url: https://www.mozilla.org/firefox/
addons:
- name: AdNauseam
url: https://addons.mozilla.org/firefox/addon/adnauseam/
- name: Behave!
url: https://addons.mozilla.org/firefox/addon/behave/
- name: BitWarden
url: https://addons.mozilla.org/firefox/addon/bitwarden-password-manager/
- name: Disable WebRTC
url: https://addons.mozilla.org/firefox/addon/happy-bonobo-disable-webrtc/
- name: Facebook Container
url: https://addons.mozilla.org/firefox/addon/facebook-container/
- name: HTTPS Everywhere
url: https://addons.mozilla.org/firefox/addon/https-everywhere/
- name: IPvFoo
url: https://addons.mozilla.org/firefox/addon/ipvfoo-pmarks/
- name: Privacy Badger
url: https://addons.mozilla.org/firefox/addon/privacy-badger17/
window:
startup_mode: Maximized
font:
normal:
family: Meslo LG M for Powerline
size: 14.0
colors:
primary:
background: '#131623'
foreground: '#fffaf4'
normal:
black: '#232323'
red: '#ff000f'
green: '#8ce10b'
yellow: '#ffb900'
blue: '#008df8'
magenta: '#6d43a6'
cyan: '#00d8e8'
white: '#ffffff'
bright:
black: '#444444'
red: '#ff2740'
green: '#abe15b'
yellow: '#ffb900'
blue: '#0092ff'
magenta: '#9a5feb'
cyan: '#67fff0'
white: '#ffffff'
alt_send_esc: false
key_bindings:
- { key: Up, mods: Alt, chars: "\x1b[1;5A" }
- { key: Down, mods: Alt, chars: "\x1b[1;5B" }
- { key: Left, mods: Alt, chars: "\x1bb" }
- { key: Right, mods: Alt, chars: "\x1bf" }
set mouse+=a
highlight LineNr ctermfg=black ctermbg=grey
call plug#begin('~/.local/shared/nvim/plugged')
" Status line
Plug 'itchyny/lightline.vim'
" Syntax validation
Plug 'dense-analysis/ale'
" Show yanked region
Plug 'machakann/vim-highlightedyank'
" Automatically cwd to project root
Plug 'airblade/vim-rooter'
" Fuzzy searching
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
" Autocompletion
Plug 'ncm2/ncm2'
" Better line numbers
Plug 'b3niup/numbers.vim'
" Pony support
Plug 'jakwings/vim-pony'
call plug#end()
syntax on
#################################
# Linux
# Save as /home/eric/.zshrc
#################################
export KUBE_EDITOR=nvim
export DOCKER_SCAN_SUGGEST=false
export ZSH="/home/eric/.oh-my-zsh"
export ZSH_THEME="bullet-train"
export BULLETTRAIN_PROMPT_ORDER=(time status custom context dir screen kctx perl ruby virtualenv aws go rust git hg cmd_exec_time)
export BULLETTRAIN_KCTX_KCONFIG=/home/eric/.kube/config
export BULLETTRAIN_KCTX_BG=magenta
plugins=(git kubectl docker docker-compose zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes
alias ll="ls -laFh"
alias l="ls -lFh"
alias kc="kubectl"
alias gs="gst"
alias watch="watch " # Allow an alias immediately after `watch`
export GOPATH="/home/eric/go"
export PATH="/home/eric/bin:/home/eric/.local/bin:$GOPATH/bin:$PATH"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
#################################
# OSX
# Save as /Users/Eric/.zshrc
#################################
export KUBE_EDITOR=nvim
export DOCKER_SCAN_SUGGEST=false
export ZSH="/Users/Eric/.oh-my-zsh"
export ZSH_THEME="bullet-train"
export BULLETTRAIN_PROMPT_ORDER=(time status custom context dir screen kctx perl ruby virtualenv aws go rust git hg cmd_exec_time)
export BULLETTRAIN_KCTX_KCONFIG=/Users/eric/.kube/config
export BULLETTRAIN_KCTX_BG=magenta
plugins=(git kubectl docker docker-compose zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes
alias ll="ls -laFh"
alias l="ls -lFh"
alias kc="kubectl"
alias gs="gst"
alias watch="watch " # Allow an alias immediately after `watch`
export GOPATH="/Users/Eric/go"
export PATH="/Users/Eric/bin:/Users/Eric/.local/bin:$GOPATH/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:$PATH"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
git config --global init.defaultbranch "main"
git config --global pull.ff "only"
git config --global user.email "eric@eric.dev.br"
git config --global user.name "Eric Rodrigues Pires"
git config --global core.editor nvim
code --install-extension msjsdiag.debugger-for-chrome # Debugger for Chrome
code --install-extension peterjausovec.vscode-docker # Docker
code --install-extension oderwat.indent-rainbow # indent-rainbow
code --install-extension PKief.material-icon-theme # Material Icon Theme
code --install-extension npruehs.pony # Pony Language Colorizer
code --install-extension csstools.postcss # PostCSS Language Support
code --install-extension ms-python.python # Python
code --install-extension ms-vscode-remote.remote-containers # Remote - Containers
code --install-extension ms-vscode-remote.remote-ssh # Remote - SSH
code --install-extension ms-vscode-remote.vscode-remote-extensionpack # Remote Development
code --install-extension bradlc.vscode-tailwindcss # Tailwind CSS Intellisense
{
"breadcrumbs.enabled": true,
"debug.allowBreakpointsEverywhere": true,
"editor.fontFamily": "'Meslo LG M for Powerline', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontSize": 12,
"editor.minimap.showSlider": "always",
"editor.multiCursorModifier": "ctrlCmd",
"editor.renderFinalNewline": "on",
"editor.renderWhitespace": "all",
"editor.rulers": [80, 120],
"editor.tabSize": 2,
"editor.wordWrap": "on",
"extensions.ignoreRecommendations": true,
"files.defaultLanguage": "",
"html.format.enable": false,
"http.proxySupport": "off",
"indentRainbow.colors": [
"rgba(199, 206, 234, 0.3)",
"rgba(181, 234, 215, 0.3)",
"rgba(226, 240, 203, 0.3)",
"rgba(255, 218, 193, 0.3)",
"rgba(255, 183, 178, 0.3)",
"rgba(255, 154, 162, 0.3)"
],
"indentRainbow.colorOnWhiteSpaceOnly": true,
"python.terminal.activateEnvironment": false,
"tailwindCSS.includeLanguages": {
"typescript": "javascript",
"typescriptreact": "javascript"
},
"telemetry.telemetryLevel": "off",
"terminal.external.osxExec": "iTerm2.app",
"terminal.integrated.fontSize": 12,
"terminal.integrated.shell.osx": "/bin/zsh",
"window.titleBarStyle": "native",
"workbench.colorTheme": "Default Dark+",
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "none",
"workbench.tree.renderIndentGuides": "always"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment