-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
38 lines (30 loc) · 771 Bytes
/
vimrc
File metadata and controls
38 lines (30 loc) · 771 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'micha/vim-colors-solarized'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'dense-analysis/ale'
call vundle#end()
filetype plugin indent on
set directory^=$HOME/.vim/swap//
set visualbell
syntax on
set relativenumber
set colorcolumn=80
noremap <Up> <nop>
noremap <Down> <nop>
noremap <Left> <nop>
noremap <Right> <nop>
map <F2> :nohl<CR>
nnoremap <F5> :!%:p<CR>
map <C-n> :NERDTreeToggle<CR>
set smartindent
set tabstop=4
set shiftwidth=4
set backspace=indent,eol,start
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab