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
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
Version |
|
dbkwik:vim/property/wikiPageUsesTemplate | |
Previous |
|
Subpage |
|
Complexity |
|
Created |
|
ID |
|
NEXT |
|
abstract |
|