lh-vim-lib
lh-style
lh-vim-lib | lh-style | |
---|---|---|
6 | 1 | |
194 | 2 | |
- | - | |
6.2 | 0.0 | |
2 months ago | almost 3 years ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
lh-vim-lib
-
Setting a b: or g: variable in a modeline
and it seems it depends now on lh-vim-lib (to be able to set dictionaries: :let b:dict.key.subkey.whatever = 42: https://github.com/LucHermitte/lh-vim-lib (install it with your plugin manager)
-
How can I have a local .vimrc file that is used only inside a certain directory?
Note that if it's just for setting a few standard options, editorconfig will be enough for most of us. It won't work if you want to define different mappings, or if you want to change the path to your snippets (actually editorconfig plugin could be hijacked to set vim variables)
-
Does a "leader mode" plugin exist?
here an UI alternative to confirm() and another that implement comboboxes: https://github.com/LucHermitte/lh-vim-lib/blob/master/autoload/lh/ui.vim (the code is very old, but it works search for getchar())
-
What is the best config/setup/plugins for C development in Vim?
Regarding project management, .exrc is enough as long we're working on simple project where everything is in the same directory. On real project I've ended up needing and writing much, much more.
-
manual ctags with vim-gutentags or similar
or in your .editorconfig file (if you have any) as lh-vim-lib also registers an extension to set vim variables from editorconfig file -- it's definitively not meant to be used this way, but well it's possible.
-
tasks.vim - async jobs and tasks
I have things on the same topic in my vimscript library: I provide a queue object into which I register related tasks that cannot be safely parallelized.
lh-style
-
search and replace camelCase to snake_case
I provide two commands in lh-style on this topic.
What are some alternatives?
lh-brackets - LH's bracketing system for vim
vim-abolish - abolish.vim: Work with several variants of a word at once
cquery - C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more
lh-tags - ctags base updating, and browsing from vim
local_vimrc - Per project/tree configuration plugins
YouCompleteMe - A code-completion engine for Vim
vim-libmodal - A Neo/vim plugin to create modes.
vim-submode - Vim plugin: Create your own submodes
OmniCppComplete - Vim C/C++ omni-completion with ctags database
clang_complete - Vim plugin that use clang for completing C/C++ code.
ccls - C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting