Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View jocho-here's full-sized avatar
👋

Joseph jocho-here

👋
  • San Mateo, CA
View GitHub Profile
colorscheme dracula
set noshowmatch " Disable highlighting matching bracket
set nohlsearch " Disable highlighting in search
set number " Show line numbers
set textwidth=0 " Hard-wrap long lines as you type them.
set expandtab " Insert spaces when TAB is pressed.
set tabstop=4 " Render TABs using this many spaces.
set shiftwidth=4 " Indentation amount for < and > commands.
set nosmartindent " Keep starting indentation for commenting
@jocho-here
jocho-here / dracula.vim
Created May 14, 2018 16:59
dracula.vim
" Dracula Theme v1.2.6
"
" https://github.com/zenorocha/dracula-theme
"
" Copyright 2016, All rights reserved
"
" Code licensed under the MIT license
" http://zenorocha.mit-license.org
"
" @author Trevor Heins <@heinst>
# Comment
PROMPT='%{$fg[magenta]%}[%c] %{$reset_color%}'
RPROMPT='%{$fg[magenta]%}$(git_prompt_info)%{$reset_color%} $(git_prompt_status)%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX=""
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY=""
ZSH_THEME_GIT_PROMPT_CLEAN=""
@jocho-here
jocho-here / setup_instruction.txt
Created August 1, 2018 15:35
Ubuntu 18.04 Media Key + Volume Key setup
# Ubuntu 18.04 Media Key + Volume Key setup
- Go to Settings -> Devices -> Keyboard
- Go to "Sound and Media" category
- Set personalized shortcuts by clicking ones you would like to configure
@jocho-here
jocho-here / javascript.vim
Created November 8, 2018 06:46
javascript.vim
setlocal softtabstop=2
setlocal tabstop=2
setlocal shiftwidth=2
@jocho-here
jocho-here / .zshrc
Last active August 9, 2019 20:55
.zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/mgjo5899/.oh-my-zsh"
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="theunraveler"
@jocho-here
jocho-here / somerc.sh
Created March 3, 2020 04:06
Docker related shell commands
# Description: Exec into the container using bash
# Usage: dockerexec <docker_container_name>
dockerexec() {
docker exec -it $1 bash
}
# Description: Show current docker containers names ONLY
# Usage: dockerps
alias dockerps="docker ps --format \"{{.ID}} {{.Names}}\""
@jocho-here
jocho-here / .tmux.conf
Last active July 27, 2023 22:10
.tmux.conf
#remap c-b to c-a
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
### LOOK & FEEL ###
set -g default-terminal "xterm-256color"
# default statusbar colors
set -g status-style bg=colour235,default,fg=colour179,default
# default window title colors
set -g window-status-style fg=colour244