Skip to content

Instantly share code, notes, and snippets.

@crissilvaeng
Last active August 17, 2016 05:29
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 crissilvaeng/7e5417bee8ef02d5cde636f532ae5267 to your computer and use it in GitHub Desktop.
Save crissilvaeng/7e5417bee8ef02d5cde636f532ae5267 to your computer and use it in GitHub Desktop.
Dev Utils
# remap prefix to Control + a
set -g prefix C-a
# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b
" =============================================================================
" Plugin (Vundle)
" =============================================================================
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim " required
call vundle#begin() " required
Plugin 'VundleVim/Vundle.vim' " let Vundle manage Vundle, required
Plugin 'bling/vim-airline' " status bar and tabline
Plugin 'vim-airline/vim-airline-themes' " status bar plugin themes
Plugin 'tpope/vim-fugitive' " git wrapper
Plugin 'wycats/nerdtree' " file explorer
Plugin 'jistr/vim-nerdtree-tabs' " one nerdtree for all tabs
Plugin 'severin-lemaignan/vim-minimap' " code file minimap
call vundle#end() " required
filetype plugin indent on " required
" =============================================================================
" Code display
" =============================================================================
syntax on " enable syntax highlighting
set encoding=utf-8 " set utf-8 encoding
set tabstop=4 " show tabs with 4 spaces
set shiftwidth=4 " indetation > use 4 spaces
set expandtab " on pressing tab, inser 4 spaces
" =============================================================================
" Interface
" =============================================================================
set number " show number line
set laststatus=2 " show status line
set guifont=Liberation\ Mono\ for\ Powerline\ 10
let g:airline_powerline_fonts=1 " airline font
let g:airline_theme='dark' " airline theme
set t_Co=256 " airline colors
set rop=type:directx,gamma:1.0,contrast:0.5,level:1,geom:1,renmode:4,taamode:1
# ~/.tmuxinator/env.yml
name: env
root: .
windows:
- workspace:
layout: d1a2,168x42,0,0[168x31,0,0,0,168x10,0,32{84x10,0,32,2,83x10,85,32,3}]
panes:
- vim
-
-
- support:
layout: a7b9,168x42,0,0{84x42,0,0,1,83x42,85,0[83x31,85,0,4,83x10,85,32,5]}
panes:
-
-
-
@crissilvaeng
Copy link
Author

doctor@tardis:~/workspace/other-project$ tmux list-windows
0: workspace- (3 panes) [168x42] [layout d1a2,168x42,0,0[168x31,0,0,0,168x10,0,32{84x10,0,32,2,83x10,85,32,3}]] @0
1: support* (3 panes) [168x42] [layout a7b9,168x42,0,0{84x42,0,0,1,83x42,85,0[83x31,85,0,4,83x10,85,32,5]}] @1 (active)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment