-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgvimrc
65 lines (55 loc) · 2.26 KB
/
gvimrc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
" Vim behaviour
set gcr=n:blinkon0 " Turn off the blinking cursor in normal mode
set hidden " hide buffers instead of closing them
set nowrap " don't wrap lines
set showmatch " set show matching parenthesis
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all lowercase,
" case-sensitive otherwise
set showmatch " set show matching parenthesis
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all lowercase,
" case-sensitive otherwise
set smarttab " insert tabs on the start of a line according to
" shiftwidth, not tabstop
set hlsearch " highlight search terms
set incsearch " show search matches as you type
set tabstop=4 " a tab is four spaces
set backspace=indent,eol,start
" allow backspacing over everything in insert mode
set clipboard=unnamed
" Use the OS clipboard by default (on versions compiled with `+clipboard`)
set autoindent " always set autoindenting on
set copyindent " copy the previous indentation on autoindenting
set shiftwidth=4 " number of spaces to use for autoindenting
set shiftround " use multiple of shiftwidth when indenting with '<' and '>'
set nofoldenable "dont fold by default
set pastetoggle=<F2>
filetype plugin indent on
" turn on line numbering
set number
set ruler
" Turn Off Swap Files
set noswapfile
set nobackup
set nowb
" Set color scheme!¬
set background=light
colorscheme hemisu
"set transparency=15
if has("gui_macvim")
"set transparency=15
set guifont=Inconsolata:h15
set antialias
endif
" turn on our statusline.
"set statusline=[%n]\ %<" Buffer number, truncate here if too long.
"set statusline+=%F\ \ \ " Path to the file
"set statusline+=[%M%R%H%W%Y]" File Modified flag|Readonly flag|Help buffer flag|Preview window flag|Type of file in the buffer
"set statusline+=[%{&ff}]\ \ "
"set statusline+=%=\ " Switch to the right side
"set statusline+=line:%l/%L\ " Current line/Total Lines
"set statusline+=col:%c\ \ \ " Current column
"set statusline+=%p%%\ \ \ " Precentage thought file
"set statusline+=@%{strftime(\"%H:%M:%S\")} "Time in hours:minutes:seconds.
set laststatus=2