From 09036372fa72c22a1bbfe463108104001c835db9 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 16 Apr 2015 17:28:57 -0700 Subject: [PATCH] Add tmux and vim configs --- tmux.conf | 31 +++++++++++++++++++++++++ vimrc | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 tmux.conf create mode 100644 vimrc diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..f26fbd4 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,31 @@ +# This tmux statusbar config was created by tmuxline.vim +# on Thu, 16 Apr 2015 +# Credit for the appearance of this config goes to the creator of tmuxline, Evgeni Kolev. + +set -g prefix ^a +set -g status-bg "colour238" +set -g message-command-fg "colour249" +set -g status-justify "left" +set -g status-left-length "100" +set -g status "on" +set -g pane-active-border-fg "colour150" +set -g message-bg "colour237" +set -g status-right-length "100" +set -g status-right-attr "none" +set -g message-fg "colour249" +set -g message-command-bg "colour237" +set -g status-attr "none" +set -g status-utf8 "on" +set -g pane-border-fg "colour237" +set -g status-left-attr "none" +setw -g window-status-fg "colour150" +setw -g window-status-attr "none" +setw -g window-status-activity-bg "colour238" +setw -g window-status-activity-attr "none" +setw -g window-status-activity-fg "colour150" +setw -g window-status-separator "" +setw -g window-status-bg "colour238" +set -g status-left "#[fg=colour236,bg=colour150] #S #[fg=colour150,bg=colour238,nobold,nounderscore,noitalics]" +set -g status-right "#[fg=colour237,bg=colour238,nobold,nounderscore,noitalics]#[fg=colour249,bg=colour237] %Y-%m-%d  %H:%M #[fg=colour150,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour236,bg=colour150] #h " +setw -g window-status-format "#[fg=colour150,bg=colour238] #I #[fg=colour150,bg=colour238] #W " +setw -g window-status-current-format "#[fg=colour238,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour249,bg=colour237] #I #[fg=colour249,bg=colour237] #W #[fg=colour237,bg=colour238,nobold,nounderscore,noitalics]" diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..7e9f9f1 --- /dev/null +++ b/vimrc @@ -0,0 +1,69 @@ +""""""""Setup env"""""""" +set t_Co=256 +syntax enable +set background=dark +colorscheme Tomorrow-Night-Eighties +set nu +set laststatus=2 +filetype indent on +set autoindent +set tabstop=2 shiftwidth=0 expandtab +set pastetoggle= +let mapleader = "," +set hlsearch +set wrap +set linebreak +set nolist + +set nocompatible " be iMproved, required +filetype off " required + +""""""""Setup Vundle"""""""" +" set the runtime path to include Vundle and initialize +set rtp+=~/.vim/bundle/Vundle.vim +call vundle#begin() + +" let Vundle manage Vundle, required +Plugin 'gmarik/Vundle.vim' + +""""""""Plugins"""""""" +Plugin 'tpope/vim-fugitive' +Plugin 'airblade/vim-gitgutter' +Plugin 'scrooloose/nerdtree' +Plugin 'bling/vim-airline' +Plugin 'Townk/vim-autoclose' +Plugin 'kchmck/vim-coffee-script' +Bundle 'edkolev/tmuxline.vim' +Bundle 'mattn/webapi-vim' +Bundle 'mattn/gist-vim' +Bundle 'vim-ruby/vim-ruby' +Bundle 'scrooloose/nerdcommenter' +Bundle 'tpope/vim-surround' +Bundle 'ervandew/supertab' + +call vundle#end() " required +filetype plugin indent on " required + +set runtimepath^=~/.vim/ctrlp + +""""""""Setup Airline"""""""" +let g:airline_theme= 'bubblegum' + +""""""""Setup GitGutter"""""""" +let g:gitgutter_enabled = 1 +let g:gitgutter_signs = 1 +let g:gitgutter_highlight_lines = 0 + +""""""""Setup AutoClose"""""""" +let g:AutoClosePairs = "() {} \" ` ' []" + +""""""""Leader Commands"""""""" +nnoremap n :NERDTreeToggle +nnoremap w :w +nnoremap i :PluginInstall +nnoremap g :Gist +nnoremap q :q +nnoremap x :x +nnoremap r :%s/ +let g:ctrlp_map = 'p' +let g:ctrlp_cmd = 'CtrlP'