interceptor #vimsnippet

This commit is contained in:
iddoeldor 2019-05-23 16:14:57 +03:00 committed by GitHub
parent d8583ccf28
commit b984306ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,19 @@
</details>
<details>
<summary>Vim snippets</summary>
Add to `~/.vimrc`
You write `fridaintercept` and expand with `<Space>`
```
:iabbrev fridaintercept Interceptor.attach(ptr, {<CR><Tab>onEnter: function(args) {<CR><CR>},<CR>onLeave: function(retval) {<CR><CR>}<CR><BS>})
```
</details>
<hr />