Help for this page

Select Code to Download


  1. or download this
    function! Comment()
        let l:line = "#".getline(".")
    ...
        call setline(".",l:line)
    endfunction
    map !# :call UnComment()<cr>
    
  2. or download this
    if has( "folding" )
      set statusline=%f%{CurrSubName()}\ %m%h%r\ %=%25(%-17(%l\,%c%V%)\ %p
    +%%%)
    ...
        return -1
      endif
    endfunction