vim abbreviations update

This commit is contained in:
iddoeldor 2019-05-26 12:50:20 +03:00 committed by GitHub
parent ec018a5171
commit fe0021a176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,13 +69,15 @@
<details>
<summary>Vim snippets</summary>
To list abbreviations `:ab`
Expand by writing `key` and `<Space>`
Expand by writing `fridaintercept` and `<Space>`
* Add to `~/.vimrc`
```
iabbrev fridaintercept Interceptor.attach(ptr, {<CR><Tab>onEnter: function(args) {<CR><CR>},<CR>onLeave: function(retval) {<CR><CR>}<CR><BS>})
iabbrev fridabacktrace console.warn(Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('\n'));<ESC>F(4;
ab fridaintercept Interceptor.attach(ptr, {<CR><Tab>onEnter: function(args) {<CR><CR>},<CR>onLeave: function(retval) {<CR><CR>}<CR><BS>})
ab fridabacktrace console.warn(Thread.backtrace(this.context, Backtracer.ACCURATE).map(DebugSymbol.fromAddress).join('\n'));<ESC>F(4;
```
</details>