Merge
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -4,3 +4,6 @@
|
|||||||
[submodule ".vim/bundle/nerdtree"]
|
[submodule ".vim/bundle/nerdtree"]
|
||||||
path = .vim/bundle/nerdtree
|
path = .vim/bundle/nerdtree
|
||||||
url = https://github.com/scrooloose/nerdtree.git
|
url = https://github.com/scrooloose/nerdtree.git
|
||||||
|
[submodule ".vim/bundle/snipmate.vim"]
|
||||||
|
path = .vim/bundle/snipmate.vim
|
||||||
|
url = https://github.com/msanders/snipmate.vim.git
|
||||||
|
|||||||
1
.vim/bundle/snipmate.vim
Submodule
1
.vim/bundle/snipmate.vim
Submodule
Submodule .vim/bundle/snipmate.vim added at f5a75d075d
@@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env perl
|
|
||||||
|
|
||||||
use strict;
|
|
||||||
use warnings;
|
|
||||||
|
|
||||||
use 5.010;
|
|
||||||
|
|
||||||
INIT {
|
|
||||||
}
|
|
||||||
|
|
||||||
__END__
|
|
||||||
23
.vimrc
23
.vimrc
@@ -35,29 +35,6 @@ highlight Search cterm=none ctermbg=blue
|
|||||||
nmap <Esc>[Z <C-w>W
|
nmap <Esc>[Z <C-w>W
|
||||||
nmap <Tab> <C-w>w
|
nmap <Tab> <C-w>w
|
||||||
"
|
"
|
||||||
" template
|
|
||||||
function LoadHTMLTemplate()
|
|
||||||
0r ~/.vim/template/production.html
|
|
||||||
normal Gdd
|
|
||||||
endfunction
|
|
||||||
function LoadPHPTemplate()
|
|
||||||
0r ~/.vim/template/production.php
|
|
||||||
normal Gdd
|
|
||||||
endfunction
|
|
||||||
function LoadPerlTemplate()
|
|
||||||
0r ~/.vim/template/production.pl
|
|
||||||
normal Gdd
|
|
||||||
endfunction
|
|
||||||
function LoadShellTemplate()
|
|
||||||
0r ~/.vim/template/production.sh
|
|
||||||
normal Gdd
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
autocmd BufNewFile *.html call LoadHTMLTemplate()
|
|
||||||
autocmd BufNewFile *.pl call LoadPerlTemplate()
|
|
||||||
autocmd BufNewFile *.php call LoadPHPTemplate()
|
|
||||||
autocmd BufNewFile *.sh call LoadShellTemplate()
|
|
||||||
"
|
|
||||||
" other
|
" other
|
||||||
au BufNewFile,BufRead *.mk set noexpandtab
|
au BufNewFile,BufRead *.mk set noexpandtab
|
||||||
au BufNewFile,BufRead *.json setf json
|
au BufNewFile,BufRead *.json setf json
|
||||||
|
|||||||
Reference in New Issue
Block a user