indent-o-matic
nap.nvim
indent-o-matic | nap.nvim | |
---|---|---|
6 | 5 | |
164 | 93 | |
- | - | |
3.1 | 6.3 | |
12 months ago | 6 months ago | |
Lua | Lua | |
MIT License | 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.
indent-o-matic
-
Which vim plugins do not have a lua equivalent yet?
there is indent-o-matic
-
How have you configured indentation?
I use indent-o-matic, along with these defaults:
-
How to adapt indent to the current file ?
I use https://github.com/Darazaki/indent-o-matic currently and set it with a keymap when that fails.
-
Is there an equivalent to :setlocal {option}< using Lua?
I do use a plugin to match the indentation of existing files (indent-o-matic), and that overrides my own indentation preferences; matching the indentation style of an existing codebase is more important than my own preferences or a language style guide. But if I'm starting a new project I stick to tabs for accessibility (unless it would cause whitespace syntax problems).
-
guess-indent — Automatic indentation style detection plugin for neovim
How does it compare to IndentOMatic?
- indent-o-matic: Dumb automatic fast indentation detection for Neovim written in Lua
nap.nvim
-
How to re perform last key strokes?
https://github.com/liangxianzhe/nap.nvim is similar but slightly different
- Navigation between functions
-
mini.bracketed - go forward/backward with square brackets (like 'tpope/vim-unimpaired' but in configurable Lua and with *much more targets*)
This looks great. I hope you don't mind if I borrow some ideas into my https://github.com/liangxianzhe/nap.nvim. Personally, I found that hitting "]b]b]b" repeatedly is not that easy, so I opt for a single-key approach.
-
Which vim plugins do not have a lua equivalent yet?
Not sure if you saw this. It is my take on unimpaired, but I only use its navigation, not the options toggling or URL encoding.
-
nap.nvim (next and previous)
Hello! I pulled a few of my configs into my first nvim plugin. Posting here to see if anyone finds it useful. https://github.com/liangxianzhe/nap.nvim
What are some alternatives?
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
vim-sleuth - sleuth.vim: Heuristically set buffer options
vim-colorscheme-switcher - Makes it easy to quickly switch between color schemes in Vim
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
vim-fetch - Make Vim handle line and column numbers in file names with a minimum of fuss
nvim-dap - Debug Adapter Protocol client implementation for Neovim
iron.nvim - Interactive Repl Over Neovim
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
diffview.nvim - Single tabpage interface for easily cycling through diffs for all modified files for any git rev.
guess-indent.nvim - Automatic indentation style detection for Neovim
nvim-typora - Bindings for Typora's Markdown in Neovim