Projects

  • Ramda Functional library for Javascript, It is pure, immutable and auto curried.
  • Heron Stream processing framework via Twitter, which API is compatible with Apache Storm.

Shell, vim tips

  • Fix quickfix hilight color

    hi! link QuickFixLine Search
    
  • Zsh 5.1 and bracketed paste

    Fix ^[[?2004h when using zsh in dump terminal

    if [[ $TERM == dumb ]]; then
        unset zle_bracketed_paste
    fi
    
  • Close disturbing windows in #vim

    function! s:CloseDisturbingWin()
    if &filetype == "help" || &filetype == "netrw"
        let l:currentWindow = winnr()
        if s:currentWindow > l:currentWindow
        let s:currentWindow = s:currentWindow - 1
        endif
        close
    endif
    endfunction
    command! Close :pclose | :cclose | :lclose |
        \ let s:currentWindow = winnr() |
        \ :windo call s:CloseDisturbingWin() |
        \ exe s:currentWindow . "wincmd w"