vim-rsi
vim-sleuth
vim-rsi | vim-sleuth | |
---|---|---|
28 | 27 | |
562 | 1,797 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | about 2 months ago | |
Vim Script | Vim Script | |
- | - |
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.
vim-rsi
-
question about mappings
that however may lead to suffering. You will have to change a lot of defaults and this can make you unable to work with default Vim. Try out https://github.com/tpope/vim-rsi and see if that will suffice.
-
LSP rename normal mode key mapping
I use vim.rsi by te legendary tpope.
-
Vim: ZZ and zz: Do you know the difference?
You can you this plugin to get the same mappings in insert mode for Vim:
https://github.com/tpope/vim-rsi
- Has anyone mapped common emacs key bindings into neovim?
-
How do I enable `vi` mode in Vim's Command mode?
You may be able to emulate it with cnoremap. See vim-rsi which is the set -o emacs version of what you want (but it also applies in insert mode).
- TERMINAL shortcuts in a Nvim Plugin?
-
Move to the end of the line in insert mode
I heavily rely on tpope/vim-rsi, which will provide you with to hop to the end of the line in insert mode
- How do I remap `Ctrl + Backspace` in Normal mode to delete the previous word?
-
Vim plugin to give Emacs key mappings
Look no further than the vim plugin master himself, Tim Pope: https://github.com/tpope/vim-rsi
-
Toggle off Vim keymappings
I would just define whatever "standard text-editing keyboard shortcuts" you want in insert mode, and then just use insert mode as your "vim for note-taking". Kind of like Tim Pope's RSI but with the "standard" key bindings you want instead of bindings based on Emacs/readline.
vim-sleuth
-
How can I set my TAB key to be 4 spaces indent?
In addition to setting tabstop and shiftwidth, you might also like this plugin: https://github.com/tpope/vim-sleuth
-
[HELP] File type specific plugin is ignored
vim-sleuth auto detects tab size so...
-
What did I do to deserve this kind of torture
Just add https://github.com/tpope/vim-sleuth and never worry about it again.
- HELP: save options in sessions
-
Learning Rust, I didn't expect such a backstab
At the end of the day I don't really care which a project goes with, I've always just used vim-sleuth to automatically set my tab key to input whatever the current file's indentation is.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
-
Builtin EditorConfig support
If you work a lot on legacy codebases, https://github.com/tpope/vim-sleuth is probably more what you need than editorconfig, as it will work even when one is not present.
-
New plugin for handling soft/hard line wrapping - wrapping.nvim
The primary advantage of using it is that it has built in heuristics for detecting line wrapping when opening a file (with some Treesitter magic for Markdown to make it more accurate), and also allows for manual swapping between wrapping types. You can think of it as the wrapping equivalent to vim-sleuth.
-
How do I force Neovim to always give me two space indents (or the correct indent) everywhere.
I just found about Tim Pope's sleuth: https://github.com/tpope/vim-sleuth It supports editorconfig but it also seems to have just better heuristics when an editorconfig file isn't present, so I just decided to replace `editorconfig-vim` with it.
-
How to set indentation dynamically based on language?
Another solution is try sleuth.vim, that sets automatically your indentation based on the project, buffer and editorconfig
What are some alternatives?
vim-which-key - :tulip: Vim plugin that shows keybindings in popup
vim-polyglot - A solid language pack for Vim.
nvim-cfg
nvim-autopairs - autopairs for neovim written in lua
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
limelight.vim - :flashlight: All the world's indeed a stage and we are merely players
xcape - Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
vim-vinegar - vinegar.vim: Combine with netrw to create a delicious salad dressing
readline.vim - Readline emulation for command-line mode
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
clever-f.vim - Extended f, F, t and T key mappings for Vim.
yapf - A formatter for Python files