better-escape.vim
delaytrain.nvim
better-escape.vim | delaytrain.nvim | |
---|---|---|
8 | 6 | |
164 | 113 | |
4.3% | - | |
1.8 | 10.0 | |
over 2 years ago | over 1 year ago | |
Vim Script | Lua | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
better-escape.vim
-
Learn Vim (2021)
This issue is only cosmetic as the other commenter explained. vim won't insert the character until you indicate you're not invoking the keymap (either by waiting or by typing other characters).
If you want a plugin that makes it so that the j appears immediately regardless of whether you're trying to invoke the keymap or not, you can use something like https://github.com/nvim-zh/better-escape.vim
-
Big game changers you wish you knew about earlier
better-escape is what you need then. One tiny plugin, one line of config in your vimrc/init file, and the delay is gone.
-
Journey to the Ultimate `imap jk <Esc>`
Then I came across better-escape.vim, a very recent plugin that does exactly what I want. With core implementation of less than 100 lines of vimscript, it is much more reasonable. People who have better things to do would probably stop here and be content with this perfectly good plugin, but not me. Although the plugin gets the job done, it essentially accomplishes a one-line functionality that is imap jk . For such a simple functionality like this, we really shouldn't be relying on plugins. I want something ultra-simple, something ultra-compact, something that can be put directly into your .vimrc.
-
My nvim is slow for some keys, and it's too annoying
Not used this but seem people say it's useful for this usecase https://github.com/jdhao/better-escape.vim
-
A blatant plagarism of my plugin from the author of better-escape.nvim
Hi, fellow reditters, I am the author of better-escape.vim, which is created about 9 months ago. In fact, I have announced it in my eariler post.
-
I want to create a custom binding to get me into Normal mode that doesn't involve Ctrl or Esc. DistroTube on YouTube said he remapped hitting "i" twice to do this. Do you guys have any other suggestions?
You can use the plugin better-escape.vim'.
-
What are your favourite mappings? Esc? Ctrl+w? Others?
I have used the plugin https://github.com/jdhao/better-escape.vim
-
Mapping to avoid stretching hand to reach underscore
Ok so I apologize if this isn’t super helpful, but I remember reading this about how to write a function to map jk to escape without having that annoying lag you talk about. You could maybe use this same approach but alter it a bit to make two spaces turn into an underscore but without lag. The author of that post also made a plugin with that idea, so maybe it could help you?
delaytrain.nvim
-
Feeling super slow...
This might help https://github.com/ja-ford/delaytrain.nvim
-
Learn Vim (2021)
For 1, I use https://github.com/ja-ford/delaytrain.nvim (for nvim only); it basically stops repeated navigation keys from working for a short while.
- Bad habits?
-
Code gist - avoid repeating hjkl lua way.
There's a plugin for that as well delaytrain.nvim.
-
Suggestions plugin
Not for suggestions but this plugin ja-ford/delaytrain.nvim is on my radar, it makes it harder to repeatedly use certain commands (defaults to hjkl) repeatedly which could help improve your awarenes of overusing commands, and make you seek alternatives.
- DelayTrain.nvim - Learn to stop using HJKL with a short delay
What are some alternatives?
nvim-toggle-terminal - NeoVim plugin that toggles a terminal buffer in the current window maintaining the same shell instance
vim-hjkl-warning - Stop to use h/j/k/l many times.
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
starter - Starter template for LazyVim
better-escape.nvim - Escape from insert mode without delay when typing
keyfreq - Track Emacs commands frequency
vim-arpeggio - Vim plugin: Mappings for simultaneously pressed keys
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
nvim-peekup - 👀 dynamically interact with vim registers
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
dotfiles - :octocat: Tim does dotfiles
nvim - Neovim config