-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_settings.vim
62 lines (49 loc) · 1.06 KB
/
my_settings.vim
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
" Sets how many lines of history VIM has to remember
set history=700
set nocompatible
set backspace=indent,eol,start
set pastetoggle=<F10>
" Set to auto read when a file is changed from the outside
set autoread
" Color Scheme
syntax enable
" colorscheme Benokai
" set rtp+=$GOROOT/misc/vim
filetype plugin indent on
syntax on
" Enable OS mouse clicking and scrolling
"
" Note for Mac OS X: Requires SIMBL and MouseTerm
"
" http://www.culater.net/software/SIMBL/SIMBL.php
" https://bitheap.org/mouseterm/
if has("mouse")
set mouse=a
endif
" Bash-style tab completion
set wildmode=longest,list
set wildmenu
" No swap files, use version control instead
set noswapfile
" Fix Alt key in MacVIM GUI
" TODO - Fix in MacVIM terminal
if has("gui_macvim")
set macmeta
endif
" Show line numbers
set number
" Show column numbers
set ruler
" Case-insensitive search
set ignorecase
" Highlight search results
set hlsearch
" Tab
set tabstop=4
set shiftwidth=4
set expandtab
" Enable filetype plugins
filetype plugin on
filetype indent on
" Enable copy to clipboard
set clipboard=unnamed