-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
44 lines (32 loc) · 1.16 KB
/
Copy path.vimrc
File metadata and controls
44 lines (32 loc) · 1.16 KB
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
39
40
41
42
43
44
set nocompatible
" Vundle begin
filetype off
" See github.com/VundleVim/Vundle.vim to install
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'HerringtonDarkholme/yats.vim'
call vundle#end()
filetype plugin on
" Vundle end
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
set directory=$HOME/.vim/swapfiles//
set laststatus=2
set statusline=
set statusline +=%1*\%n\ %* "buffer number
set statusline +=%4*\ %<%F%* "full path
set statusline +=%2*%h%m%r%w "flags
set statusline +=%1*%=%* "right align
set statusline +=%1*%5l%* "current line
set statusline +=%2*/%L%* "total lines
set statusline +=%1*%3v\ %* "virtual column number
set statusline +=%1*%<%P%* "offset
set viminfo=
au FileType java mat ErrorMsg /\s\+\%#\@<!$\|\t\|\%>100v.\+/
au FileType cpp mat ErrorMsg /\s\+\%#\@<!$\|\t\|\%>80v.\+/
au FileType javascript mat ErrorMsg /\s\+\%#\@<!$\|\t\|\%>80v.\+/
au FileType typescript mat ErrorMsg /\s\+\%#\@<!$\|\t\|\%>80v.\+/
set hlsearch
syntax on
set background=dark
set ff=unix