-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.orig
71 lines (61 loc) · 1.41 KB
/
.vimrc.orig
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
if &compatible
set nocompatible
endif
let mapleader = "\<Space>"
if exists('g:nyaovim_version')
let s:dein_dir = expand('~/.cache/nyaovim/dein')
elseif has('nvim')
let s:dein_dir = expand('~/.cache/neovim/dein')
else
let s:dein_dir = expand('~/.cache/vim/dein')
endif
let s:dein_repo_dir = s:dein_dir . '/repos/github.com/Shougo/dein.vim'
if !isdirectory(s:dein_repo_dir)
execute '!git clone https://github.com/Shougo/dein.vim' s:dein_repo_dir
endif
execute 'set runtimepath^=' . s:dein_repo_dir
if dein#load_state( s:dein_dir )
call dein#begin( s:dein_dir )
let s:toml = '~/.dein.toml'
let s:toml_lazy = '~/.dein_lazy.toml'
call dein#load_toml( s:toml, { 'lazy' : 0 })
call dein#load_toml( s:toml_lazy, { 'lazy' : 1})
call dein#end()
call dein#save_state()
endif
if dein#check_install( ['vimproc'] )
call dein#install( ['vimproc'] )
endif
if dein#check_install()
call dein#install()
endif
set laststatus=2
set t_Co=256
set number
set cursorline
hi clear CursorLine
set clipboard&
set clipboard^=unnamedplus
set tabstop=2
set softtabstop=2
set shiftwidth=2
set smarttab
set expandtab
set smartindent
colorscheme hybrid
" colorscheme molokai
set background=dark
filetype plugin on
filetype indent on
syntax on
nnoremap j gj
nnoremap k gk
nnoremap gj j
nnoremap gk k
if has('nvim')
<<<<<<< HEAD
set sh=fish
=======
>>>>>>> 5c65c9ebd68fcf4a2c19054044d7ce34653d856f
tnoremap <silent> <ESC> <C-\><C-n>
endif