miscellaneous updates
This commit is contained in:
@@ -43,7 +43,8 @@ http {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /Users/nicknisi/code;
|
root /Users/nicknisi/code;
|
||||||
# index index.html index.htm;
|
index index.html index.php;
|
||||||
|
include /usr/local/etc/nginx/conf.d/php-fpm;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ Plugin 'gmarik/vundle'
|
|||||||
" utilities
|
" utilities
|
||||||
Plugin 'kien/ctrlp.vim'
|
Plugin 'kien/ctrlp.vim'
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
Plugin 'Xuyuanp/nerdtree-git-plugin'
|
||||||
Plugin 'mileszs/ack.vim'
|
Plugin 'mileszs/ack.vim'
|
||||||
Plugin 'Raimondi/delimitMate'
|
Plugin 'Raimondi/delimitMate'
|
||||||
Plugin 'tpope/vim-commentary'
|
Plugin 'tpope/vim-commentary'
|
||||||
@@ -46,13 +47,12 @@ Plugin 'sickill/vim-pasta'
|
|||||||
" colorschemes
|
" colorschemes
|
||||||
Plugin 'chriskempson/base16-vim'
|
Plugin 'chriskempson/base16-vim'
|
||||||
|
|
||||||
" languages
|
" JavaScript
|
||||||
" Plugin 'othree/html5.vim'
|
Plugin 'othree/html5.vim'
|
||||||
" Plugin 'pangloss/vim-javascript'
|
Plugin 'pangloss/vim-javascript'
|
||||||
Plugin 'jason0x43/vim-js-syntax'
|
Plugin 'jelera/vim-javascript-syntax'
|
||||||
Plugin 'jason0x43/vim-js-indent'
|
" Plugin 'jason0x43/vim-js-syntax'
|
||||||
" Plugin 'jelera/vim-javascript-syntax'
|
" Plugin 'jason0x43/vim-js-indent'
|
||||||
Plugin 'tpope/vim-markdown'
|
|
||||||
Plugin 'wavded/vim-stylus'
|
Plugin 'wavded/vim-stylus'
|
||||||
Plugin 'groenewege/vim-less'
|
Plugin 'groenewege/vim-less'
|
||||||
Plugin 'digitaltoad/vim-jade'
|
Plugin 'digitaltoad/vim-jade'
|
||||||
@@ -60,13 +60,18 @@ Plugin 'juvenn/mustache.vim'
|
|||||||
Plugin 'moll/vim-node'
|
Plugin 'moll/vim-node'
|
||||||
Plugin 'elzr/vim-json'
|
Plugin 'elzr/vim-json'
|
||||||
Plugin 'leafgarland/typescript-vim'
|
Plugin 'leafgarland/typescript-vim'
|
||||||
" Plugin 'jnwhiteh/vim-golang'
|
Plugin 'mxw/vim-jsx'
|
||||||
" Plugin 'dart-lang/dart-vim-plugin'
|
|
||||||
Plugin 'cakebaker/scss-syntax.vim'
|
Plugin 'cakebaker/scss-syntax.vim'
|
||||||
|
" Plugin 'dart-lang/dart-vim-plugin'
|
||||||
" Plugin 'kchmck/vim-coffee-script'
|
" Plugin 'kchmck/vim-coffee-script'
|
||||||
|
" Plugin 'Valloric/YouCompleteMe'
|
||||||
|
" Plugin 'marijnh/tern_for_vim'
|
||||||
|
|
||||||
|
" languages
|
||||||
|
Plugin 'tpope/vim-markdown'
|
||||||
|
Plugin 'fatih/vim-go'
|
||||||
" Plugin 'tclem/vim-arduino'
|
" Plugin 'tclem/vim-arduino'
|
||||||
Plugin 'timcharper/textile.vim'
|
Plugin 'timcharper/textile.vim'
|
||||||
Plugin 'mxw/vim-jsx'
|
|
||||||
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|||||||
@@ -29,3 +29,17 @@ snippet dtestcase
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
snippet dsupport
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title></title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<script data-dojo-config="async:1,isDebug:1" src="../../dojo/dojo.js"></script>
|
||||||
|
<script>
|
||||||
|
${1}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|||||||
@@ -49,6 +49,8 @@ snippet lblue
|
|||||||
console.log('%c${1}', 'font-weight:bold;color:blue;');
|
console.log('%c${1}', 'font-weight:bold;color:blue;');
|
||||||
snippet lpurple
|
snippet lpurple
|
||||||
console.log('%c${1}', 'font-weight:bold;color:purple;');
|
console.log('%c${1}', 'font-weight:bold;color:purple;');
|
||||||
|
snippet lor
|
||||||
|
console.log('%c${1}', 'font-weight:bold;color:orange;');
|
||||||
snippet ctab
|
snippet ctab
|
||||||
console.table(${1});
|
console.table(${1});
|
||||||
snippet debug
|
snippet debug
|
||||||
|
|||||||
@@ -48,3 +48,14 @@ CSS
|
|||||||
SVG
|
SVG
|
||||||
Github
|
Github
|
||||||
selendroid
|
selendroid
|
||||||
|
apps
|
||||||
|
repos
|
||||||
|
intermediateChanges
|
||||||
|
priorityChange
|
||||||
|
undefiend
|
||||||
|
querySelector
|
||||||
|
templateString
|
||||||
|
NodeList
|
||||||
|
W3C
|
||||||
|
CSS2
|
||||||
|
CSS3
|
||||||
|
|||||||
@@ -365,13 +365,21 @@ hi def InterestingWord4 guifg=#000000 ctermfg=16 guibg=#b88853 ctermbg=137
|
|||||||
hi def InterestingWord5 guifg=#000000 ctermfg=16 guibg=#ff9eb8 ctermbg=211
|
hi def InterestingWord5 guifg=#000000 ctermfg=16 guibg=#ff9eb8 ctermbg=211
|
||||||
hi def InterestingWord6 guifg=#000000 ctermfg=16 guibg=#ff2c4b ctermbg=195
|
hi def InterestingWord6 guifg=#000000 ctermfg=16 guibg=#ff2c4b ctermbg=195
|
||||||
|
|
||||||
|
function! HtmlUnEscape()
|
||||||
|
silent s/</</eg
|
||||||
|
silent s/>/>/eg
|
||||||
|
silent s/&/\&/eg
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
nnoremap <silent> <leader>u :call HtmlUnEscape()<cr>
|
||||||
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => Plugins
|
" => Plugins
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
||||||
" close NERDTree after a file is opened
|
" close NERDTree after a file is opened
|
||||||
let g:NERDTreeQuitOnOpen=1
|
let g:NERDTreeQuitOnOpen=0
|
||||||
" show hidden files in NERDTree
|
" show hidden files in NERDTree
|
||||||
let NERDTreeShowHidden=1
|
let NERDTreeShowHidden=1
|
||||||
" Toggle NERDTree
|
" Toggle NERDTree
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ fi
|
|||||||
|
|
||||||
[ -z "$TMUX" ] && export TERM=xterm-256color
|
[ -z "$TMUX" ] && export TERM=xterm-256color
|
||||||
|
|
||||||
|
# install rbenv
|
||||||
|
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
||||||
|
|
||||||
if [[ -d ~/.rvm ]]; then
|
if [[ -d ~/.rvm ]]; then
|
||||||
PATH=$HOME/.rvm/bin:$PATH # Add RVM to PATH for scripting
|
PATH=$HOME/.rvm/bin:$PATH # Add RVM to PATH for scripting
|
||||||
|
|||||||
Reference in New Issue
Block a user