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 rtp+=$HOME/.local/lib/python2.7/site-packages/powerline/bindings/vim/ | |
| """""""""""""""""""""""""""""""""""""""" | |
| " vim-plug | |
| """""""""""""""""""""""""""""""""""""""" | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| Plug 'tpope/vim-fugitive' | 
  
    
      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
    
  
  
    
  | const MAX_NUMBER = Number.MAX_SAFE_INTEGER // (2^53 - 1) = 9007199254740991 | |
| /** | |
| * Iterator HOF | |
| * @param {number} n | |
| * @param {Function} loop | |
| * @returns void | |
| */ | |
| const times = (n = 0, loop): void => { | |
| if (n > MAX_NUMBER) { | 
  
    
      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
    
  
  
    
  | const Reset = "\x1b[0m" | |
| const Bright = "\x1b[1m" | |
| const Dim = "\x1b[2m" | |
| const Underscore = "\x1b[4m" | |
| const Blink = "\x1b[5m" | |
| const Reverse = "\x1b[7m" | |
| const Hidden = "\x1b[8m" | |
| const FgBlack = "\x1b[30m" | |
| const FgRed = "\x1b[31m" | 
  
    
      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
    
  
  
    
  | // Some util | |
| const getType = source => | |
| ({}.toString | |
| .call(source) | |
| .match(/\s([a-zA-Z]+)/)[1] | |
| .toLowerCase()); | |
| const isObject = source => getType(source) === 'object' | |
| const isArray = source => getType(source) === 'array' | |
| // Dummy | 
  
    
      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 -g default-terminal "tmux-256color" | |
| # set -g default-terminal "xterm-256color" | |
| set -g default-terminal "screen-256color" | |
| set-option -sa terminal-overrides ',xterm-256color:RGB' | |
| set -g prefix C-q | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | 
  
    
      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-plug | |
| """""""""""""""""""""""""""""""""""""""" | |
| call plug#begin('~/.vim/plugged') | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'vim-airline/vim-airline-themes' | |
| Plug 'tpope/vim-fugitive' | |
| Plug 'airblade/vim-gitgutter' | |
| Plug 'scrooloose/nerdtree' |