summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/init.vim137
1 files changed, 137 insertions, 0 deletions
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
new file mode 100644
index 0000000..1b1996d
--- /dev/null
+++ b/nvim/.config/nvim/init.vim
@@ -0,0 +1,137 @@
1runtime! archlinux.vim
2set number relativenumber
3
4call plug#begin()
5"Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
6Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() } }
7Plug 'Shougo/deol.nvim'
8Plug 'ap/vim-css-color'
9Plug 'luochen1990/rainbow'
10Plug 'zchee/deoplete-jedi'
11Plug 'tpope/vim-eunuch'
12Plug 'scrooloose/nerdtree'
13Plug 'junegunn/goyo.vim'
14Plug 'airblade/vim-gitgutter'
15Plug 'godlygeek/tabular'
16Plug 'plasticboy/vim-markdown'
17Plug 'vim-airline/vim-airline'
18Plug 'panozzaj/vim-autocorrect'
19Plug 'vim-airline/vim-airline-themes'
20call plug#end()
21
22" deoplete
23let g:deoplete#enable_at_startup = 1
24
25" git gutter settings
26let g:gitgutter_override_sign_column_highlight = 0
27let g:gitgutter_sign_added = '+'
28let g:gitgutter_sign_modified = '±'
29let g:gitgutter_sign_removed = '-'
30let g:gitgutter_sign_removed_first_line = '^'
31let g:gitgutter_sign_modified_removed = '#'
32
33" markdown preview
34let g:mkdp_auto_start = 0
35let g:mkdp_auto_close = 1
36let g:mkdp_refresh_slow = 0
37let g:mkdp_command_for_global = 0
38let g:mkdp_open_to_the_world = 0
39let g:mkdp_open_ip = ''
40let g:mkdp_browser = 'firefox'
41let g:mkdp_echo_preview_url = 0
42let g:mkdp_browserfunc = ''
43let g:mkdp_preview_options = {
44 \ 'mkit': {},
45 \ 'katex': {},
46 \ 'uml': {},
47 \ 'maid': {},
48 \ 'disable_sync_scroll': 0,
49 \ 'sync_scroll_type': 'middle',
50 \ 'hide_yaml_meta': 1,
51 \ 'sequence_diagrams': {}
52 \ }
53let g:mkdp_markdown_css = ''
54let g:mkdp_highlight_css = ''
55let g:mkdp_port = ''
56let g:mkdp_page_title = '「${name}」'
57
58" rainbow
59let g:rainbow_active = 1
60
61" vim-markdown
62let g:vim_markdown_no_default_key_mappings=1
63let g:vim_markdown_toml_frontmatter=1
64let g:vim_markdown_yaml_fromtmatter=1
65let g:vim_markdown_folding_disabled=1
66
67
68" keysound
69let g:keysound_enable = 1
70let g:keysound_volume = 1000
71let g:keysound_py_version = 3
72let g:keysound_theme = 'default'
73
74" symbols
75let g:Powerline_symbols = "fancy"
76let g:Powerline_dividers_override = ["\Ue0b0","\Ue0b1","\Ue0b2","\Ue0b3"]
77let g:Powerline_symbols_override = {'BRANCH': "\Ue0a0", 'LINE': "\Ue0a1", 'RO': "\Ue0a2"}
78let g:airline_powerline_fonts = 1
79let g:airline_right_alt_sep = ''
80let g:airline_right_sep = ''
81let g:airline_left_alt_sep= ''
82let g:airline_left_sep = ''
83
84" air-line
85let g:airline_powerline_fonts = 1
86
87if !exists('g:airline_symbols')
88 let g:airline_symbols = {}
89endif
90
91" unicode symbols
92let g:airline_left_sep = '»'
93let g:airline_left_sep = '▶'
94let g:airline_right_sep = '«'
95let g:airline_right_sep = '◀'
96let g:airline_symbols.linenr = '␊'
97let g:airline_symbols.linenr = '␤'
98let g:airline_symbols.linenr = '¶'
99let g:airline_symbols.branch = '⎇'
100let g:airline_symbols.paste = 'ρ'
101let g:airline_symbols.paste = 'Þ'
102let g:airline_symbols.paste = '∥'
103let g:airline_symbols.whitespace = 'Ξ'
104
105" airline symbols
106let g:airline_left_sep = ''
107let g:airline_left_alt_sep = ''
108let g:airline_right_sep = ''
109let g:airline_right_alt_sep = ''
110let g:airline_symbols.branch = ''
111let g:airline_symbols.readonly = ''
112let g:airline_symbols.linenr = ''
113
114"Airline Themes
115"let g:airline_theme='dark'
116"let g:airline_theme='badwolf'
117"let g:airline_theme='ravenpower'
118"let g:airline_theme='simple'
119"let g:airline_theme='term'
120"let g:airline_theme='ubaryd'
121"let g:airline_theme='laederon'
122"let g:airline_theme='kolor'
123let g:airline_theme='molokai'
124"let g:airline_theme='powerlineish'
125"
126set guicursor=
127set mouse=a
128syntax on
129"set cursorline
130set smartcase
131set wildmenu " Tab autocomplete in command mode
132set autoread " Auto reload changed files
133
134
135" mapping
136map <C-n> :NERDTreeToggle<CR>
137nmap <C-l> <Plug>MarkdownPreviewToggle