Commits

Dave Vedder  committed 5bfa270

Added uncomment commands for js, python and css

  • Participants
  • Parent commits e09947a

Comments (0)

Files changed (1)

 " Programming shortcuts --- {{{
 " comment out line (js)
 autocmd FileType javascript nnoremap <buffer> <localleader>c I//<esc>
+autocmd FileType javascript nnoremap <buffer> <localleader>uc ^xx 
 " comment out line (python)
 autocmd FileType python     nnoremap <buffer> <localleader>c I#<esc>
+autocmd FileType python     nnoremap <buffer> <localleader>uc ^x 
 " comment out line (css)
 autocmd FileType css nnoremap <buffer> <localleader>c I/*<esc>A*/<esc>
+autocmd FileType css nnoremap <buffer> <localleader>c ^xx$xx
 " shortcut for "(i)nside (n)ext set of (p)arenthesis
 onoremap inp :<c-u>normal! f(vi(<cr>
 " shortcut for "(i)nside (l)ast set of (p)arenthesis