-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
66 lines (55 loc) · 1.37 KB
/
.vimrc
File metadata and controls
66 lines (55 loc) · 1.37 KB
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
" Common settings even available in vim.tiny
set nocompatible
"encoding
set encoding=utf-8
scriptencoding utf-8
set fileencoding=utf-8
set fileencodings=utf-8
filetype on
filetype plugin indent on
set number
set clipboard=unnamed
set browsedir=buffer
set showmatch
set smartcase
set whichwrap=b,s,h,l,<,>,[,]
set autoindent
set smartindent
set tabstop=4
set expandtab
set softtabstop=4
set shiftwidth=4
set list
set listchars=tab:\ \ ,eol:$
set laststatus=2 " always show status line
set statusline=%{mode()}:\ %<%f\ %h%m%r%=%-14.(%l/%L,%c%V%)\ [%{toupper(&ft)},%{&fileencoding}]
" Skip the following in vim.tiny
if 0 | endif
" Colorscheme
colorscheme slate
set background=dark
" syntax highlight
syntax on
" lightline.vim
if !has('gui_running')
set t_Co=256
endif
let g:lightline = {
\ 'component': {
\ 'readonly': '%{&filetype=="help"?"":&readonly?"⭤":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}'
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))'
\ }}
" ???
au BufEnter * execute ":lcd " . expand("%:p:h")
" Setting of skk.vim
let skk_jisyo='~/.skk-jisyo'
let skk_large_jisyo='/usr/share/skk/SKK-JISYO.L'
let skk_auto_save_jisyo=1
let skk_keep_state=0
let skk_egg_like_newline=1
let skk_show_annotation=1
let skk_use_face=1