Quick and easy: Backspace and Delete

Recently I noticed that many people don’t know this. So here it is. Look at where your editing cursor is.

If you want to remove things on the LEFT side of the cursor, use BACKSPACE key.

If you want to remove something on the RIGHT side of the cursor, you press DELETE key.

Entire word on either side can be removed by pressing CTRL key along with Delete or Backspace keys.

image

Although there is no existing shortcut or Word Command to delete the word under the cursor, a single line of code deletes the current word (without selecting it).

selection.range.words(1).delete

Thanks to my friend, Raj Chaudhuri, for figuring out this brilliant one-line macro Thumbs up

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s