aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
blob: cae2c54269dedf370824eebb7c8b815dca93e0e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
set nocompatible noexrc secure
filetype plugin on

call plug#begin()
	Plug 'tpope/vim-commentary'
	Plug 'airblade/vim-gitgutter'
	Plug 'ctrlpvim/ctrlp.vim'
call plug#end()

set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4
set number relativenumber autoindent cursorline ignorecase signcolumn=yes
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
set hlsearch incsearch backspace=indent,eol,start path+=**
set completeopt=menuone,noinsert,noselect,longest
colorscheme wildcharm

nnoremap <C-Right> :bnext<cr>
nnoremap <C-Left> :bprevious<cr>
nnoremap <C-q> :copen<cr>
nnoremap <C-b> :CtrlPBuffer<cr>
nnoremap <Leader>q :nohlsearch<cr>
nnoremap <Leader>c :!ctags -R .<CR>

let g:ctrlp_use_caching = 0
let g:ctrlp_working_path_mode = ''