How to delete or yank inside slashes and asterisks?

Viewed 626

I use di" for quotes di{ for brackets and dit for HTML tags.

I often work with CSS. I want to delete inside slashes or asterisks. For example:

/* This is a comment. Delete or yank me. ;) */
.button {
  content: 'Change my comment.';
}

I dont want to do it with functions etc. How I map these keywords with all variations? (Specially I need to delete inside, yank inside, delete around, delete and go insert mode (ci/) ) Like:

di/
yi/
ci/
ya/
da/
di*
ya*

etc...

2 Answers
Related