Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
109 views

A problem with special character in Vim script

I'm trying to build a diacritic plugin which It's just a list of commands like ia <leader>'e é " this one is source just fine ia <leader>ae æ " This one causes error But I'm ...
ekiim's user avatar
  • 133
0 votes
1 answer
243 views

How to make an abbreviation that expands without pressing space

I am trying to replicate the behavior of beg abbreviation shown on the page https://castel.dev/post/lecture-notes-1/ with vimscript. That means I want to make it so that when I type "beg" in ...
user157's user avatar
  • 11
0 votes
1 answer
178 views

How to create an abbreviation that matches a regular expression

I'd like to create an abbreviation that will change the following (in a markdown file): - list item 1 into this: - list item 1 Whenever I type - f it should be expanded to - f (from 1 space to 3 ...
john's user avatar
  • 183
0 votes
1 answer
106 views

How can I get vim to type continuously, rather than holding in place for keymappings?

For the purpose of this question, imagine that I have set iab phil philosopher In vim, as far as I know, the default display pattern when typing out the characters "phil" at the start of the word is ...
The Pompitous of Love's user avatar
1 vote
2 answers
482 views

Abbreviation-likes containing spaces

Let's get directly to it. I was working with some python code and realized I had written a bunch of elif blocks as else if after working too much in Javascript. My natural thought was "cool, I can ...
Wolfie's user avatar
  • 677
1 vote
2 answers
496 views

How do I make abbreviations expand for minimal prefixes?

I want to create abbreviation for a large word, say configuration. Vim command works even if we type part of it. Example, s[ubstitute]. When you type s, su, sub, subs, subst, substi, substit, etc., ...
SibiCoder's user avatar
  • 3,462