-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
74 lines (55 loc) · 1.7 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
set termencoding=utf-8
set fileencoding=utf-8
set encoding=utf-8
set number relativenumber
syntax on
set expandtab " タブを空白に変換する
set autoindent " インデントをいい感じに
set smartindent " インデントをいい感じに
" ステータス行を常に表示
set laststatus=2
" ヤンクをクリップボードを使う
set clipboard+=unnamed
set clipboard+=autoselect
" インサートモード時にはEmacs的な移動をする
inoremap <C-A> <Home>
inoremap <C-E> <End>
inoremap <C-F> <Right>
inoremap <C-B> <Left>
inoremap <C-D> <Del>
" インサートモード時にjjでノーマルモードに戻る
inoremap <silent> jj <ESC>
inoremap <silent> っj <ESC>
"dein Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
" Required:
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein')
" Let dein manage dein
" Required:
call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')
" Add or remove your plugins here:
call dein#add('Shougo/neosnippet.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('tpope/vim-surround')
call dein#add('tpope/vim-fugitive')
call dein#add('tpope/vim-rails')
call dein#add('Shougo/neocomplete.vim')
" You can specify revision/branch/tag.
call dein#add('Shougo/vimshell', { 'rev': '3787e5' })
" Required:
call dein#end()
call dein#save_state()
endif
" Required:
filetype plugin indent on
syntax enable
" If you want to install not installed plugins on startup.
"if dein#check_install()
" call dein#install()
"endif
"End dein Scripts-------------------------