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"
|
21
.vimrc
21
.vimrc
@ -1,3 +1,6 @@
|
|||||||
|
" disable compatability
|
||||||
|
set nocompatible
|
||||||
|
|
||||||
" enable syntax highlighting
|
" enable syntax highlighting
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
||||||
@ -24,6 +27,9 @@ set showmatch
|
|||||||
|
|
||||||
" enable all Python syntax highlighting features
|
" enable all Python syntax highlighting features
|
||||||
let python_highlight_all = 1
|
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
|
" Spell Checking
|
||||||
set spell spelllang=en_us
|
set spell spelllang=en_us
|
||||||
@ -43,9 +49,9 @@ Plug 'airblade/vim-gitgutter'
|
|||||||
if has('nvim')
|
if has('nvim')
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
else
|
else
|
||||||
Plug 'Shougo/deoplete.nvim'
|
Plug 'Shougo/deoplete.nvim'
|
||||||
Plug 'roxma/nvim-yarp'
|
Plug 'roxma/nvim-yarp'
|
||||||
Plug 'roxma/vim-hug-neovim-rpc'
|
Plug 'roxma/vim-hug-neovim-rpc'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Terminal Utils
|
" Terminal Utils
|
||||||
@ -57,6 +63,9 @@ Plug 'fatih/vim-go', { 'do': ':GoInstallBinaries' }
|
|||||||
Plug 'vim-ruby/vim-ruby'
|
Plug 'vim-ruby/vim-ruby'
|
||||||
Plug 'OmniSharp/omnisharp-vim' " C#
|
Plug 'OmniSharp/omnisharp-vim' " C#
|
||||||
|
|
||||||
|
" Frameworks
|
||||||
|
Plug 'tpope/vim-rails'
|
||||||
|
|
||||||
" Snippets
|
" Snippets
|
||||||
Plug 'SirVer/ultisnips' | Plug 'honza/vim-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_auto_loc_list = 1
|
||||||
let g:syntastic_check_on_open = 1
|
let g:syntastic_check_on_open = 1
|
||||||
let g:syntastic_check_on_wq = 0
|
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 g:deoplete#enable_at_startup = 1
|
||||||
|
|
||||||
let mapleder = ','
|
let mapleder = ','
|
||||||
|
|
||||||
|
|
||||||
map <C-f> :NERDTreeToggle<CR>
|
map <C-f> :NERDTreeToggle<CR>
|
||||||
nnoremap <C-p> :<C-u>FZF<CR>
|
nnoremap <C-p> :<C-u>FZF<CR>
|
||||||
inoremap jk <Esc>
|
inoremap jk <Esc>
|
||||||
|
Loading…
Reference in New Issue
Block a user