blob: ef534d5eab476d1d7e9c5d58ab110ece96fa9a7e (
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
41
|
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 'morhetz/gruvbox'
Plug '4513ECHO/vim-colors-hatsunemiku'
Plug 'srcery-colors/srcery-vim'
call plug#end()
" For gruvbox: set background=dark
set termguicolors
colorscheme hatsunemiku
set nowrap
set clipboard=unnamedplus
set cindent
set cinoptions=(,{,!,l1
set shiftwidth=4 smarttab
set expandtab
set tabstop=4 softtabstop=0
let g:netrw_banner=0
map \e :Ex<CR>
map \ve :vs<bar>wincmd l<bar>Ex<CR>
map \t :vertical rightbelow terminal
map \m :make!<CR>:vertical rightbelow copen<bar>wincmd =<CR>
map \b :vertical rightbelow terminal ./build.sh<CR>
map \n :cnext<CR>
map \p :prev<CR>
map \c :cd %:p:h<CR>
map \q :q<CR>
|