-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.set
61 lines (51 loc) · 1.05 KB
/
.vimrc.set
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
" -- // shell
"set shell=bash
"set shell=/bin/bash
"set shell=/bin/bash\ -l\ -O\ expand_aliases
set shell=fish
"set shell=/usr/bin/fish
" - // yank
"set clipboard=unnamed
"set clipboard+=unnamed
set clipboard+=unnamedplus
" based on "http://itchyny.hatenablog.com/entry/2014/12/25/090000"
nnoremap Y y$
set display=lastline
set pumheight=10
set showmatch matchtime=1
"set showmatch
"set matchtime=1
nnoremap + <C-a>
nnoremap - <C-x>
augroup swapchoice-readonly
autocmd!
autocmd SwapExists * let v:swapchoice = 'o'
augroup END
" based on "http://qiita.com/okamos/items/d7fdbee03c4857b1ce20"
source $VIMRUNTIME/macros/matchit.vim
let b:match_ignorecase = 1
set nowrap
set noswapfile
set ignorecase
set smartcase
set incsearch
set hlsearch
set ruler
set number
set wildmenu
set showcmd
set autoindent
set shiftwidth=2
set softtabstop=2
set expandtab
set tabstop=2
set nf=hex
set mouse=a
set backspace=indent,eol,start
set background=dark
set wildmenu
set cmdheight=2
set laststatus=2
set listchars=tab:^\ ,trail:~
set whichwrap=b,s,h,l,<,>,[,],~
set cinoptions+=:0