junegunn / vim-peekaboo

:eyes: " / @ / CTRL-R
1.13k stars 39 forks source link

Using expression register in an abbreviation fails #34

Closed TheLocehiliosan closed 8 years ago

TheLocehiliosan commented 8 years ago

The following abbreviation is broken when using vim-peekabo.

iabbr tdate <c-r>=strftime("%Y-%m-%d")<cr>

When vim-peekaboo is installed, the text inserted is literally strftime("%Y-%m-%d").

junegunn commented 8 years ago

Have you tried inoreabbrev? https://github.com/junegunn/vim-peekaboo#peekaboo-conflicts-with-my-maps-and-abbrevs

TheLocehiliosan commented 8 years ago

Thanks. Yes, the no remapping version works properly. My bad. Thanks for the plugin. :)