This repository was archived by the owner on Sep 14, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Expand file tree Collapse file tree 4 files changed +18
-12
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## HEAD
4
+
5
+ - Use $HOME over ~ .
6
+
3
7
## 1.1.0
4
8
5
9
- Improve switching between dev and nodev mode.
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ if has('vim_starting')
48
48
set nocompatible
49
49
endif
50
50
51
- set runtimepath+=~ /.vim/bundle/neobundle.vim/
51
+ set runtimepath+=$HOME /.vim/bundle/neobundle.vim/
52
52
endif
53
53
54
- call neobundle#begin(expand('~ /.vim/bundle/') )
54
+ call neobundle#begin($HOME . ' /.vim/bundle/')
55
55
56
56
NeoBundleFetch 'shougo/neobundle.vim'
57
57
@@ -65,8 +65,8 @@ NeoBundle 'shougo/vimproc.vim', {
65
65
\ },
66
66
\ }
67
67
68
- if filereadable(expand('~ /.vim/bundle/vimrc/plugins.vim') )
69
- source ~ /.vim/bundle/vimrc/plugins.vim
68
+ if filereadable($HOME . ' /.vim/bundle/vimrc/plugins.vim')
69
+ source $HOME /.vim/bundle/vimrc/plugins.vim
70
70
endif
71
71
72
72
NeoBundle 'rxrc/vimrc'
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ gulp.task 'default', ['dev']
18
18
gulp .task ' dev' , ->
19
19
gulp .src (" #{ homePath} /.vimrc" )
20
20
.pipe $ .replace (" NeoBundle '#{ remotePluginPath} '" , " NeoBundle '#{ path .resolve ()} '" )
21
- .pipe $ .replace (" ~/.vim/bundle/vimrc/plugins.vim" , " #{ path .resolve ()} /plugins.vim" )
21
+ .pipe $ .replace (" $HOME . '/.vim/bundle/vimrc/plugins.vim'" , " '' . '#{ path .resolve ()} /plugins.vim'" )
22
+ .pipe $ .replace (' $HOME/.vim/bundle/vimrc/plugins.vim' , " #{ path .resolve ()} /plugins.vim" )
22
23
.pipe gulp .dest (homePath)
23
24
24
25
gulp .src (' ' )
@@ -30,7 +31,8 @@ gulp.task 'dev', ->
30
31
gulp .task ' nodev' , ->
31
32
gulp .src (" #{ homePath} /.vimrc" )
32
33
.pipe $ .replace (" NeoBundle '#{ path .resolve ()} '" , " NeoBundle '#{ remotePluginPath} '" )
33
- .pipe $ .replace (" #{ path .resolve ()} /plugins.vim" , " ~/.vim/bundle/vimrc/plugins.vim" )
34
+ .pipe $ .replace (" '' . '#{ path .resolve ()} /plugins.vim'" , " $HOME . '/.vim/bundle/vimrc/plugins.vim'" )
35
+ .pipe $ .replace (" #{ path .resolve ()} /plugins.vim" , ' $HOME/.vim/bundle/vimrc/plugins.vim' )
34
36
.pipe gulp .dest (homePath)
35
37
36
38
gulp .src (' ' )
Original file line number Diff line number Diff line change @@ -68,33 +68,33 @@ if has('vim_starting')
68
68
set nocompatible
69
69
endif
70
70
71
- set runtimepath+=~ /.vim/bundle/neobundle.vim/
71
+ set runtimepath+=\$ HOME /.vim/bundle/neobundle.vim/
72
72
endif
73
73
74
- call neobundle#begin(expand('~ /.vim/bundle/') )
74
+ call neobundle#begin(\$ HOME . ' /.vim/bundle/')
75
75
76
76
NeoBundleFetch 'shougo/neobundle.vim'
77
77
78
78
NeoBundle 'shougo/vimproc.vim', {
79
79
\ 'build' : {
80
- \ 'windows' : 'tools\\ update-dll-mingw',
80
+ \ 'windows' : 'tools\\\\ update-dll-mingw',
81
81
\ 'cygwin' : 'make -f make_cygwin.mak',
82
82
\ 'mac' : 'make -f make_mac.mak',
83
83
\ 'linux' : 'make',
84
84
\ 'unix' : 'gmake',
85
85
\ },
86
86
\ }
87
87
88
- if filereadable(expand('~ /.vim/bundle/vimrc/plugins.vim') )
89
- source ~ /.vim/bundle/vimrc/plugins.vim
88
+ if filereadable(\$ HOME . ' /.vim/bundle/vimrc/plugins.vim')
89
+ source \$ HOME /.vim/bundle/vimrc/plugins.vim
90
90
endif
91
91
92
92
NeoBundle 'rxrc/vimrc'
93
93
94
94
call neobundle#end()
95
95
EOF
96
96
97
- echo -e " \033[32m ✔ Installed ❰ $HOME /.vimrc ❱ \033[0m"
97
+ echo -e " \033[32m ✔ Installed ❰ ~ /.vimrc ❱ \033[0m"
98
98
99
99
echo -e " ➤ Run ❰ neoinstall ❱ \033[0m"
100
100
You can’t perform that action at this time.
0 commit comments