better-escape.vim
vim-dispatch
better-escape.vim | vim-dispatch | |
---|---|---|
8 | 26 | |
164 | 2,600 | |
4.3% | - | |
1.8 | 3.3 | |
over 2 years ago | 3 months ago | |
Vim Script | Vim Script | |
MIT License | - |
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?
vim-dispatch
-
How to configure vim like an IDE
Tis is good for the compilation to make it async( otherwise it blocks) https://github.com/tpope/vim-dispatch it wraps around the built in make/makeprg feature. Would recommend that you dont do it with large builds/outputs.
- Introducing tsc.nvim: Project-Wide Asynchronous TypeScript Type-Checking & Diagnostics
-
How do you guys run the code you write with vim?
vim-dispatch by the legend Tim Pope. send the task to the background, keep using editor. once the task is finished, it output to qflist buffer
- Neovim Plugin equivalent for task runner of VSCode
-
how to get this in regular vim
The other answer here covers everything you need, but if you want a plugin-based solution you might be interested in vim-dispatch which runs command line tools asynchronously, and offers the option to run the command in the background instead with :Dispatch!.
-
How to display compile errors inline in a language without LSP?
You should check :h compiler :h make and :h 'errorformat'. You could also check vim dispatch, a plugin that enhances this features
-
New plugin for gtest integration with vim
Also plugin supports asynchronous execution (using terminal, jobs or vim-dispatch).
-
neovim with build system
Do note that :make is blocking, and you need to wait until it finishes before it sends you back to the editor. If you want it to be asynchronouns, you can install vim-dispatch + vim-dispatch-neovim for Neovim support in vim-dispatch.
-
Stop commands from obstructing view e.g. Make
if you want something to work out of the box, is async and is already configured per language, check out TPope's dispatch
-
Dear vimmers, when do you prefer using vims built-in terminal over a new tmux panel/window?
For long-running programs, like compiling, or running full test suites, or running terraform on a decently sized infrastructure project, I may run them with :Make (courtesy of tpope/vim-dispatch) so I can keep working on the project while the external program is running. If I'm in an environment without vim plugins, I may spawn a new tmux pane/window. As a last resort, I will ctrl-z/fg if I don't have tmux on the remote system (e.g. dev containers).
What are some alternatives?
nvim-toggle-terminal - NeoVim plugin that toggles a terminal buffer in the current window maintaining the same shell instance
asyncrun.vim - :rocket: Run Async Shell Commands in Vim 8.0 / NeoVim and Output to the Quickfix Window !!
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
neovim-remote - :ok_hand: Support for --remote and friends.
better-escape.nvim - Escape from insert mode without delay when typing
yabs.nvim - Yet Another Build System/Code Runner for Neovim, written in lua
vim-arpeggio - Vim plugin: Mappings for simultaneously pressed keys
vim-test - Run your tests at the speed of thought
nvim-peekup - 👀 dynamically interact with vim registers
browser-sync - Keep multiple browsers & devices in sync when building websites. https://browsersync.io
dotfiles - :octocat: Tim does dotfiles
cmake4vim - Vim plugin for CMake projects