better-escape.vim
LazyVim
better-escape.vim | LazyVim | |
---|---|---|
8 | 83 | |
164 | 13,472 | |
4.3% | 6.9% | |
1.8 | 9.8 | |
over 2 years ago | 4 days 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?
LazyVim
-
Neovim freezes when I type /
Please take a look at this issue. The culprit is the path source of nvim-cmp.
-
File structure with lazy
I’m having trouble understanding the preffered file structure when using lazy. I have a setup that works currently and I used this guide but I believe that this configuration defeats the purpose of lazy-loading. I also tried moving all of the plugin configs to the /nvim/plugins folder but that didn’t work, I think because when using lazy you want lazy to handle the loading not RTP. I’ve taken a look at the lazyvim github but I’m a little bit overwhelmed. I don’t understand how their nvim/init.lua doesn’t point to anything with require. Here is my config. So I think that the mistake I’m making is loading all my plugins in a table that gets passed to lazyvim but then requiring configs from my init.lua, when all of that info should get passed directly to lazy vim via multiple lua tables?
-
Lazyflex.nvim: Makes it easier to test and troubleshoot a neovim configuration.
Has presets for each default plugin module in LazyVim.
-
How does something like LazyVim or LazyNvim write the startup text?
I have been looking at LazyNvim and LazyVim and I would like to do something similar to in particular LazyNvim's startup text. How do configurations like this create this startup text?
-
Weird search behavior
See this Lazyvim issue.
-
lazy loading alpha.nvim
You can try to mimic how LazyVim loads alpha here https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/plugins/ui.lua
-
Help me understand this rtp LazyVim trick
As usual, I referred to how folke does stuff for inspiration, and I want to better understand what exactly is going with the Treesitter configuration in LazyVim.
-
I love this bastard
LazyVim (This is a distro in the form of a plugin, imo beats astronvimm nvchad, lunarvim for that reason alone. Check out the plugins/extras/lang directory in there. Has setup for a few languages. You can see the list here. Just raise a request for JAVA and someone will have your back))
-
neovim config
Anyways, although i have not used them, LazyVim and LunarVim comes highly recommended. You can try these and see what suits you .
-
Just started using LazyVim and this could be a really dumb question.
Am I reading this correctly, in the LazyVim starter, this line reads as it's importing all the plugins from the remote GitHub project, is that correct?
What are some alternatives?
nvim-toggle-terminal - NeoVim plugin that toggles a terminal buffer in the current window maintaining the same shell instance
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
better-escape.nvim - Escape from insert mode without delay when typing
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
vim-arpeggio - Vim plugin: Mappings for simultaneously pressed keys
kickstart.nvim - A launch point for your personal nvim configuration
nvim-peekup - 👀 dynamically interact with vim registers
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
dotfiles - :octocat: Tim does dotfiles
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more