Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.1 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.1 KB

What is instant-rename-tag?

It's wonderful if we can rename tag instantly, not rename from minibuffer.

And yes, this plugin is design for do this.

Installation

Clone or download this repository (path of the folder is the <path-to-instant-rename-tag> used below).

In your ~/.emacs, add the following two lines:

(add-to-list 'load-path "<path-to-instant-rename-tag>") ; add instant-rename-tag to your load-path
(require 'instant-rename-tag)

Note, this plugin depend on web-mode, you need make sure install web-mode first.

Usage

Bind your favorite key to functions:

Function Description
instant-rename-tag Rename tag under current cursor, call this command again if rename finish

Tips

You don't need cancal tag mark manually by command instant-rename-tag After you rename tag, tag will unmark automatically when you edit non-tag area continue.