Last active
July 15, 2019 08:03
-
-
Save TheFern2/53ffc1e122c5319c90d4d898920a270a to your computer and use it in GitHub Desktop.
My Vimrc Configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" General Settings {{{ | |
set nocompatible "vim, not vi | |
filetype plugin indent on | |
set number | |
set tabstop=4 | |
set background=dark | |
syntax enable | |
set laststatus=2 | |
" }}} | |
" Plugin Installs {{{ | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree' | |
Plug 'flazz/vim-colorschemes' | |
Plug 'airblade/vim-gitgutter' | |
Plug 'vim-airline/vim-airline' | |
Plug 'tpope/vim-fugitive', {'tag': 'v2.3'} "downgraded to version 2.3 via git tags to fix branch visibility | |
Plug 'easymotion/vim-easymotion' | |
Plug '/usr/local/opt/fzf' | |
Plug 'junegunn/fzf.vim' | |
Plug 'deoplete-plugins/deoplete-jedi' | |
Plug 'vimlab/split-term.vim' | |
Plug 'https://github.com/mickaobrien/vim-stackoverflow' | |
if has('nvim') | |
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } | |
else | |
Plug 'Shougo/deoplete.nvim' | |
Plug 'roxma/nvim-yarp' | |
Plug 'roxma/vim-hug-neovim-rpc' | |
endif | |
" All of your Plugins must be added before the following line | |
call plug#end() | |
"}}} | |
" Plugin Settings {{{ | |
let g:deoplete#enable_at_startup = 1 | |
" Set path for deoplete python3.7 | |
let g:python3_host_prog = "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7" | |
" Preview window using coderay (brew) syntax highlighting | |
let g:fzf_files_options = | |
\ '--preview "(coderay {} || cat {}) 2> /dev/null | head -'.&lines.'"' | |
" }}} | |
" Remappings {{{ | |
" No arrow keys for you! | |
noremap <Up> <Nop> | |
noremap <Down> <Nop> | |
noremap <Left> <Nop> | |
noremap <Right> <Nop> | |
map <C-n> :NERDTreeToggle<CR> | |
"}}} | |
" Color Schemes {{{ | |
colorscheme monokai | |
" }}} | |
" vim:foldmethod=marker:foldlevel=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment