Created
September 11, 2019 14:57
-
-
Save randomwangran/6e67de22a7d59f61c7a42bb7039e966b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
我这里用 (projectile-replace) 就可以处理了,用 regexp 有点问题,不知道能帮助到你么? | |
前提是,在一个 project 里面。 | |
执行顺序: | |
1. <kbd>M-x</kbd> projectile-replace | |
2. 在 mini-buffer 输入 | |
``` | |
get $style() { | |
return {} | |
} | |
``` | |
注意换行的时候 <kbd>C-M-j<\kbd> (indent-new-comment-line)。 | |
3. <kbd><RET> <RET></kbd> | |
4. <kbd>Y</kbd> | |
保存改变: | |
5. <kbd>C-x g</kbd> (Magit) | |
6. <kbd>Y</kbd> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment