Created
May 10, 2022 03:24
-
-
Save lopesivan/1855eed03e1a10caa7f3235444540c44 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" abreviação | |
" modo de inserção | |
" input: key[Space] | |
" output: import pandas as pd | |
" ^ | |
" | | |
" + - cursor aqui | |
" | |
func Eatchar(pat) | |
let c = nr2char(getchar(0)) | |
return (c =~ a:pat) ? '' : c | |
endfunc | |
iabbr <silent> ip import pandas as pd<C-R>=Eatchar('\s')<CR> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment