The comment leader for Clojure is the ; character. This snippet allows easy commenting and uncommenting of lines. map . :call ClojureCommentUncomment() function! ClojureCommentUncomment() let search_saved = @/ if getline('.') =~ '^;' s/^;// " remove ';' at beginning of line else s/^/;/ " insert ';' at beginning of line endif let @/ = search_saved endfunction
Entity | Attribute | Value | Rank |
---|