-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
46 lines (35 loc) · 761 Bytes
/
.vimrc
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
set nocompatible
filetype off
" terminal settings
set encoding=utf-8
set fileencoding=utf-8
set t_Co=256
set term=xterm-256color
set termencoding=utf-8
" Vundle plugins
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'flazz/vim-colorschemes'
call vundle#end()
:set backspace=indent,eol,start
" Line numbers
set number
syntax enable
set background=dark
colorscheme deepsea " Dark
"colorscheme hemisu " Light
" Syntax highlighting
if &t_Co > 2 || has("gui_running")
syntax on
set hlsearch
endif
" Mouse click
if has('mouse')
set mouse=a
endif
" Spellcheck when "Spell" is run
command Spell set spell spelllang=en_gb
filetype plugin indent on
" $HOME/.vimrc
set directory=$HOME/.vim/swap//