blob: 573c6b79dd0bdd20d8958662dbcf5e9de6253d92 (
plain)
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
|
source $VIMRUNTIME/defaults.vim
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
if empty(glob(data_dir . '/autoload/plug.vim'))
silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin()
Plug '4513ECHO/vim-colors-hatsunemiku'
call plug#end()
set termguicolors
colorscheme hatsunemiku
set nowrap
set cindent
set cinoptions=(,{,!,l1
set shiftwidth=4 smarttab
set expandtab
set tabstop=4 softtabstop=0
let g:netrw_banner=0
set makeprg=./build.sh
map \ve :vs<bar>wincmd l<bar>Ex<CR>
map \t :vertical rightbelow terminal<space>
map \m :make!<CR>:vertical rightbelow copen<CR><CR>:wincmd =<CR>
map \n :cnext<CR>
map \c :cd %:p:h<CR>
map \q :q<CR>
map \b :buffer<SPACE>
map \bn :bn<CR>
map \bp :bp<CR>
map \bd :bd<CR>
map \y "+y
map \p "+p
|