This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " TODO: split up config into multiple files | |
| " source $HOME/.config/nvim/vim-plug/plugins.vim | |
| " source $HOME/.config/nvim/<category>/<sub-category-filename>.vim | |
| " source $HOME/.config/nvim/<plug-config>/<plugin-name>.vim | |
| set nocompatible | |
| filetype off | |
| if empty(glob('~/.vim/autoload/plug.vim')) | |
| silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set nocompatible | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
| Plug 'junegunn/fzf', { 'do': './install --all' } | |
| Plug 'junegunn/vim-easy-align' | |
| Plug 'junegunn/seoul256.vim' " Color scheme | |
| Plug 'Raimondi/delimitMate' " Adds auto pairing of ', [, etc. | |
| Plug 'mattn/emmet-vim' | |
| Plug 'mattn/gist-vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| interface Container | |
| { | |
| /** | |
| * @param $key | |
| * | |
| * @return mixed | |
| */ | |
| public function get($key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| function ts { | |
| args=$@ | |
| tmux send-keys -t right "$args" C-m | |
| } | |
| gdiff() { | |
| view="git diff $* --color=always -- {-1} | diff-so-fancy" | |
| git diff $* --name-status | sed -E 's|\t| |' | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Vim color file - corporation | |
| " Generated by http://bytefluent.com/vivify 2015-12-18 | |
| set background=dark | |
| if version > 580 | |
| hi clear | |
| if exists("syntax_on") | |
| syntax reset | |
| endif | |
| endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * A collection of helper prototype for everyday DOM traversal, manipulation, | |
| * and event binding. Sort of a minimalist jQuery, mainly for demonstration | |
| * purposes. MIT @ m3g4p0p | |
| */ | |
| window.$ = (function (undefined) { | |
| /** | |
| * Duration constants | |
| * @type {Object} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set -sg escape-time 10 | |
| set-option -g default-terminal "screen-256color" | |
| # Free the original `Ctrl-b` prefix keybinding. | |
| unbind C-b | |
| # set prefix key to ctrl-a | |
| set -g prefix C-a | |
| # Smart pane switching with awareness of Vim splits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " ~/.config/nvim/init.vim | |
| " ~/.config/nvim/autoload/plug.vim | |
| " ~/.config/nvim/colors/corporation.vim | |
| " | |
| " | |
| "============================================================================ | |
| "" Make :help appear in a full-screen tab, instead of a window | |
| "============================================================================ | |
| "Only apply to .txt files... |