Useful, maintainable, multi-language supported neovim configuration.
require("editor").setup({})
is replace with .neovim.lua
file injectioncore/custom.lua
, please read document
g
Sed
to trigger the Spectre
pluginShift-Space
to Space
in terminal modei>
text object for wildfire
<leader>t
when nvim-tree is openedflit.nvim
to enhance key f/t
gg
issuefriendly-snippets
in commit 1d9957c7e9dc257385f78b6a150ec3be1f603756This release contains many fixed and should be stable enough to use. The setup
steps for plugins are moved into after/plugin
directory. This configuration is getting a bit complicated but the new layout eliminate all the slow require
call. And we can gain 16ms
startup time. Also I am currently writing new document to cover all the usage and customization: https://avimitin.github.io/nvim.
setup
function into after/plugin
directories@parameter
occupying paragraph
text object issuelocationLinks
option to fix inlay hintflog.vim
to view git logThis version introduce a new configuration layout:
plugins/<categories>
into overlays/<repos>.lua
and overlays/rc/<repos>.lua
, docs
* lua/
* editor/ <-- neovim core config, never relies on plugin
* overlays/ <-- plugins
* rc/ <-- config for plugins
* <name>.lua <-- repos split in categories
* init.lua
.zsh
can't be recognized issueplugins/<name>/repos.lua
to overlays/<name>.lua
plugins/<name>/config.lua
to overlays/rc/<plug>.lua
lua/custom.lua
to init.lua
<ctrl-c>
to abort completion.vim.opt.completopt
into cmp rc fileg-
prefix key to <leader>a
gi-
prefix key to <leader>g
\n
with un
<space>c
to open action menu for Cargo.toml
and packages.json
<Ctrl-w>
to open windows operation menu<leader>r
to open Rust action in Rust bufferJ
and K
<A-;>
Press number +
_
to spawn different terminal. For example_
spawn the first terminal, then2_
spawn the second terminal.
- Use
CccPick
to pick color, useCccHighlighterEnable
to display color
- Hide the error message and dim the variable color
Eslint and prettier injection are disabled by default. Copy the new option from custom.example.lua file to enable them.
-/=
to increase/decrease number/date/version...etcgithub_dark_default
theme.SudoW
to help writing content when we forget open neovim as root.<backspace>
to delete without copying.