update vimrc and add tmux config
This commit is contained in:
parent
1fd553517b
commit
f89c135ebc
9
.tmux.conf
Normal file
9
.tmux.conf
Normal file
@ -0,0 +1,9 @@
|
||||
bind-key V split-window -h
|
||||
bind-key H split-window -v
|
||||
bind r source-file ~/.tmux.conf \; display "Reloading Config"
|
||||
set -g base-index 1
|
||||
|
||||
set-option -sg escape-time 10
|
||||
set-option -g default-terminal "screen-256color"
|
||||
|
||||
source "/usr/share/tmux/powerline.conf"
|
19
.vimrc
19
.vimrc
@ -1,3 +1,6 @@
|
||||
" disable compatability
|
||||
set nocompatible
|
||||
|
||||
" enable syntax highlighting
|
||||
syntax enable
|
||||
|
||||
@ -24,6 +27,9 @@ set showmatch
|
||||
|
||||
" enable all Python syntax highlighting features
|
||||
let python_highlight_all = 1
|
||||
autocmd FileType python set sw=4
|
||||
autocmd FileType python set ts=4
|
||||
autocmd FileType python set sts=4
|
||||
|
||||
" Spell Checking
|
||||
set spell spelllang=en_us
|
||||
@ -43,9 +49,9 @@ Plug 'airblade/vim-gitgutter'
|
||||
if has('nvim')
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
else
|
||||
Plug 'Shougo/deoplete.nvim'
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
Plug 'Shougo/deoplete.nvim'
|
||||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
endif
|
||||
|
||||
" Terminal Utils
|
||||
@ -57,6 +63,9 @@ Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
||||
Plug 'vim-ruby/vim-ruby'
|
||||
Plug 'OmniSharp/omnisharp-vim' " C#
|
||||
|
||||
" Frameworks
|
||||
Plug 'tpope/vim-rails'
|
||||
|
||||
" Snippets
|
||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
|
||||
|
||||
@ -90,12 +99,12 @@ let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
|
||||
let g:python_host_prog = '/home/eric/.pyenv/versions/nvimpy2/bin/python'
|
||||
let g:python3_host_prog = '/home/eric/.pyenv/versions/nvimpy3/bin/python'
|
||||
let g:deoplete#enable_at_startup = 1
|
||||
|
||||
let mapleder = ','
|
||||
|
||||
|
||||
map <C-f> :NERDTreeToggle<CR>
|
||||
nnoremap <C-p> :<C-u>FZF<CR>
|
||||
inoremap jk <Esc>
|
Loading…
Reference in New Issue
Block a user