Add tmux and vim configs
This commit is contained in:
parent
894f7bdc80
commit
eb6d61566f
2 changed files with 103 additions and 0 deletions
31
tmux.conf
Normal file
31
tmux.conf
Normal file
|
@ -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]"
|
72
vimrc
Normal file
72
vimrc
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
""""""""Setup env""""""""
|
||||||
|
set t_Co=256
|
||||||
|
syntax enable
|
||||||
|
set background=dark
|
||||||
|
colorscheme Tomorrow-Night-Eighties
|
||||||
|
set nu
|
||||||
|
set laststatus=2
|
||||||
|
"Auto indent
|
||||||
|
filetype indent on
|
||||||
|
set autoindent
|
||||||
|
"Tab
|
||||||
|
set tabstop=2 shiftwidth=0 expandtab
|
||||||
|
set pastetoggle=<F2>
|
||||||
|
let mapleader = ","
|
||||||
|
set hlsearch
|
||||||
|
"Line wrapping
|
||||||
|
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 <leader>n :NERDTreeToggle <CR>
|
||||||
|
nnoremap <leader>w :w <CR>
|
||||||
|
nnoremap <leader>i :PluginInstall<CR>
|
||||||
|
nnoremap <leader>g :Gist<CR>
|
||||||
|
nnoremap <leader>q :q<CR>
|
||||||
|
nnoremap <leader>x :x<CR>
|
||||||
|
nnoremap <leader>r :%s/
|
||||||
|
let g:ctrlp_map = '<leader>p'
|
||||||
|
let g:ctrlp_cmd = 'CtrlP'
|
Loading…
Reference in a new issue