-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim.backup
40 lines (33 loc) · 952 Bytes
/
init.vim.backup
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
set shell=/bin/zsh
set number
set relativenumber
set shiftwidth=4
set tabstop=4
set expandtab
set textwidth=0
set autoindent
set hlsearch
set clipboard=unnamed
syntax on
call plug#begin()
Plug 'ntk148v/vim-horizon'
Plug 'preservim/nerdtree'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()
" Start NERDTree when Vim is started without file arguments.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
nnoremap <C-n> :NERDTree<CR>
" x コマンドのブラックホール版
nnoremap <silent> x "_x
" dd コマンドのブラックホール版
nnoremap <silent> dd "_dd
" d コマンドのブラックホール版
nnoremap <silent> d "_d
" if you don't set this option, this color might not correct
"set termguicolors
"colorscheme horizon
" lightline
"let g:lightline = {}
"let g:lightline.colorscheme = 'horizon'