-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.vim
35 lines (31 loc) · 820 Bytes
/
init.vim
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
inoremap <silent> jk <Esc>:<C-u>w<CR>
"inoremap <silent> jk <Esc>
set shell=/bin/zsh
set shiftwidth=4
set tabstop=4
set expandtab
set textwidth=0
set autoindent
set number
set hlsearch
set clipboard=unnamed
syntax on
set number
call plug#begin()
Plug 'ntk148v/vim-horizon'
Plug 'preservim/nerdtree'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
call plug#end()
" ----- vim-horizon -----
" 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'
" ----- vim-horizon -----
" ----- NERDTree -----
" 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
" ----- NERDTree -----