Created
November 7, 2019 22:40
-
-
Save yaaase/59f247b35e248e25d9b57b947914aea1 to your computer and use it in GitHub Desktop.
This file contains 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
set nocompatible | |
syntax on | |
filetype off | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.config/nvim/bundle/Vundle.vim | |
call vundle#begin('~/.config/nvim/bundle') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'ayu-theme/ayu-vim' | |
Plugin 'kien/ctrlp.vim' | |
Plugin 'vim-syntastic/syntastic' | |
Plugin 'airblade/vim-gitgutter' | |
Plugin 'fatih/vim-go' | |
Plugin 'tpope/vim-endwise' | |
Plugin 'tpope/vim-fugitive' | |
Plugin 'junegunn/vim-easy-align' | |
" All of your Plugins must be added before the following line | |
call vundle#end() | |
filetype plugin indent on " allows auto-indenting depending on file type | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
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:go_highlight_functions = 1 | |
let g:go_highlight_methods = 1 | |
let g:go_highlight_extra_types = 1 | |
set textwidth=0 nosmartindent tabstop=2 shiftwidth=2 softtabstop=2 expandtab | |
set backspace=indent,eol,start | |
set incsearch | |
set clipboard+=unnamedplus | |
:autocmd Filetype ruby set softtabstop=2 | |
:autocmd Filetype ruby set sw=2 | |
:autocmd Filetype ruby set ts=2 | |
" let g:ctrlp_custom_ignore = <redacted work stuff> | |
" Start interactive EasyAlign in visual mode (e.g. vipga) | |
xmap ga <Plug>(EasyAlign) | |
" Start interactive EasyAlign for a motion/text object (e.g. gaip) | |
nmap ga <Plug>(EasyAlign) | |
map <C-n> :NERDTreeToggle<CR> | |
map <silent> <LocalLeader>nt :NERDTreeToggle<CR> | |
map <silent> <LocalLeader>ff :CtrlP<CR> | |
map <silent> <LocalLeader>fb :CtrlPBuffer<CR> | |
noremap <silent> <LocalLeader><CR> :tabe<CR> | |
noremap <silent> <LocalLeader>[ :tabp<CR> | |
noremap <silent> <LocalLeader>] :tabn<CR> | |
noremap <silent> <LocalLeader><space> :noh<CR> | |
tnoremap <Esc> <C-\><C-n> | |
set undodir=~/.config/nvim/undo | |
set undofile | |
set undolevels=1000 | |
set undoreload=10000 | |
set number | |
set showmatch | |
set background=dark | |
set visualbell | |
set noerrorbells | |
set hlsearch | |
set autoindent | |
imap <C-c> <Esc> | |
imap <C-g> <Esc> | |
set termguicolors | |
let ayucolor="mirage" | |
colorscheme ayu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment