Skip to content

Instantly share code, notes, and snippets.


Joseph jocho-here

  • San Mateo, CA
View GitHub Profile
View init.vim
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 / dracula.vim
Created May 14, 2018 16:59
View dracula.vim
" Dracula Theme v1.2.6
" Copyright 2016, All rights reserved
" Code licensed under the MIT license
" @author Trevor Heins <@heinst>
View theunraveler.zsh-theme
# Comment
PROMPT='%{$fg[magenta]%}[%c] %{$reset_color%}'
RPROMPT='%{$fg[magenta]%}$(git_prompt_info)%{$reset_color%} $(git_prompt_status)%{$reset_color%}'
jocho-here / setup_instruction.txt
Created August 1, 2018 15:35
Ubuntu 18.04 Media Key + Volume Key setup
View setup_instruction.txt
# 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 / javascript.vim
Created November 8, 2018 06:46
View javascript.vim
setlocal softtabstop=2
setlocal tabstop=2
setlocal shiftwidth=2
jocho-here / .zshrc
Last active August 9, 2019 20:55
View .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
jocho-here /
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 / .tmux.conf
Last active July 27, 2023 22:10
View .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