Replies: 4 comments
-
You could simplify that keymap with It's probably best to solve this with #1383 in the long run. |
Beta Was this translation helpful? Give feedback.
-
Ah, I was using release 22.05 so I didn't have those commands. Sorry! |
Beta Was this translation helpful? Give feedback.
-
On closer inspection, those commands are also based on calling shell commands. So, it's basically the same issue with them. |
Beta Was this translation helpful? Give feedback.
-
I would say snippet support (#1178) is the best way to solve this since you want some text to expand to an arbitrary longer text. |
Beta Was this translation helpful? Give feedback.
-
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
Beta Was this translation helpful? Give feedback.
All reactions