interceptor #vim-snippet

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

View File

@ -69,8 +69,9 @@
<details>
<summary>Vim snippets</summary>
Add to `~/.vimrc`
You write `fridaintercept` and expand with `<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>})