default.txt 297 B

123456789101112131415
  1. if foo > 2 || has("gui_running")
  2. syntax on
  3. set hlsearch
  4. endif
  5. set autoindent
  6. " switch on highlighting
  7. function UnComment(fl, ll)
  8. while idx >= a:ll
  9. let srclines=getline(idx)
  10. let dstlines=substitute(srclines, b:comment, "", "")
  11. call setline(idx, dstlines)
  12. endwhile
  13. endfunction