Skip to content

Commit

Permalink
custom setting
Browse files Browse the repository at this point in the history
  • Loading branch information
huangguozhen committed Dec 8, 2015
1 parent 808ac12 commit 7c13633
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
Empty file added .vimrc.before.fork
Empty file.
5 changes: 5 additions & 0 deletions .vimrc.before.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
let g:spf13_bundle_groups=['general', 'writing', 'programming', 'misc', 'youcompleteme', 'javascript', 'html', 'python']

let g:airline_theme = 'molokai'
let g:airline_powerline_fonts=1
let g:airline#extensions#tabline#enabled = 1
2 changes: 2 additions & 0 deletions .vimrc.bundles.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
UnBundle 'spf13/vim-colors'
Bundle 'tmux-plugins/vim-tmux'
41 changes: 41 additions & 0 deletions .vimrc.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
set nospell
set nofoldenable

if exists('$TMUX')
set term=screen-256color

let g:solarized_termtrans=1
let g:solarized_contrast="normal"
let g:solarized_visibility="normal"
colors solarized
else
let g:molokai_original=1
let g:rehash256=1
colors molokai
endif


" javascript {
let g:syntastic_check_on_open = 1
let g:syntastic_javascript_checkers = ['jshint']
let g:syntastic_jshint_exec = '/home/zhen/.nvm/versions/node/v0.12.7/bin/jshint'
" }

"if exists('$ITERM_PROFILE')
"if exists('$TMUX')
"let &amp;t_SI = "<Esc>[3 q"
"let &amp;t_EI = "<Esc>[0 q"
"else
"let &amp;t_SI = "<Esc>]50;CursorShape=1x7"
"let &amp;t_EI = "<Esc>]50;CursorShape=0x7"
"endif
"endif

inoremap jk <ESC>
inoremap <ESC> <nop>
nnoremap <leader>q :q<CR>
nnoremap <leader>w :w<CR>
nnoremap <leader>ns :set nospell<CR>
nnoremap <leader>bn :bn<CR>

noremap <leader>stw :call StripTrailingWhitespace()<CR>

0 comments on commit 7c13633

Please sign in to comment.