-
Notifications
You must be signed in to change notification settings - Fork 0
/
.xvimrc
27 lines (27 loc) · 889 Bytes
/
.xvimrc
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
"------------------------------------------------------
"基本設定
"------------------------------------------------------
set backspace=indent,eol,start "バックスペースの挙動
set encoding=UTF-8
"------------------------------------------------------
"表示設定
"------------------------------------------------------
set number
set showmatch
"------------------------------------------------------
"キーバインド
"------------------------------------------------------
"インサートモードでもhjkl移動できるように
inoremap <C-h> <Left>
inoremap <C-l> <Right>
inoremap <C-j> <Down>
inoremap <C-k> <Up>
"インサードモードでjjでノーマルモードに戻る
inoremap jj <Esc>
";と:の機能を入れ替える
nnoremap ; :
nnoremap : ;
"uniteプラグイン
nmap <Space>u [unite]
nnoremap <silent>[unite]y :<C-u>Unite yankround<CR>
nnoremap ` /