This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
A way to insert text with (insert mode) keymapping #2797
Labels
C-enhancement
Category: Improvements
For markdown files, I like to have a keybinding where when I type
`p
it's expanded to```python
(similarly,`r
to```rust
and so on).Currently, I do this with
This does work, but it seems a bit convoluted.
As far as I know there is currently no other way. (Correct me if I'm wrong.)
I would imagine a solution like this:
EDIT:
The current work-around is
The text was updated successfully, but these errors were encountered: