Avimitin Nvim Versions Save

Useful, maintainable, multi-language supported neovim configuration.

cv2023.02.21-hotfix

1 year ago

Hotfix

  • Implement buffer delete
  • Fix Crates.nvim configuration

cv2023.02.21

1 year ago

Changed

  • Plugins setup/config/key mappings are merged together
  • require("editor").setup({}) is replace with .neovim.lua file injection
  • Add more configurable option in core/custom.lua, please read document
  • Replace packer.nvim with lazy.nvim
  • Replace vim-fugitive with neogit
  • LSP key mapping is now start with g

Removed

  • Removed Hydra.nvim

cv2023.01.21

1 year ago

Added

  • New command alias Sed to trigger the Spectre plugin
  • New mapping Shift-Space to Space in terminal mode
  • i> text object for wildfire
  • Re-enter nvim-tree window for mapping <leader>t when nvim-tree is opened
  • New scroll key mapping
  • New plugin flit.nvim to enhance key f/t

Fixed

  • Fix line-count doesn't applied to gg issue
  • Update lspsage settings to latest version

Removed

  • friendly-snippets in commit 1d9957c7e9dc257385f78b6a150ec3be1f603756

cv2023.01.03

1 year ago

cv2023.01.03

This 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.

BREAKING:

  • plugin: replace plugin lightspeed.nvim with leap.nvim [deprecated]
  • plugin: remove nvim-rooter [vendored]
  • plugin: remove FixCursorHold [merged]
  • plugin: move setup function into after/plugin directories

FIXED:

  • highlight: fix nvim-cmp icon highlight
  • config: fix the darker background field never apply issue
  • multicursor: fix loading mechanism
  • match-up: fix key mapping
  • null-ls: fix injected sources occupying key mapping issue
  • gitsigns: fix key mapping required confirmation issue
  • rust: fix format-on-save messing up file issue
  • lspsaga: remove deprecated command
  • option: increase timeoutlen for better triggering multiple key sequence
  • treesitter: fix @parameter occupying paragraph text object issue
  • treesitter: fix condition text object toggle key
  • rust: disable locationLinks option to fix inlay hint

ADDED:

  • auto commands
    • add auto command to always display status line
    • add auto command to automatically exit when nvim-tree is last buffer
    • add auto command to load nvim-tree for directories argument
  • git
    • toggle deleted line when enter git mode
    • add new plugin flog.vim to view git log
  • lspconfig: add key mapping to toggle outline

cv2022.12.12

1 year ago

This version introduce a new configuration layout:

  • Split 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

Changelog

REMOVED:

  • key mappings: replace which-keys.nvim with hydra.nvim
  • docs: remove mdbook

FIX:

  • null-ls: fix null-ls custom settings never load issue
  • filetype: fix .zsh can't be recognized issue
  • statusline: fix statusline not shown on first enter issue
  • statusline: fix statusline readability on vertical split issue
  • lspsaga: update deprecated commands
  • completion: fix always pre-select behavior
  • lspconfig: fix eslint and tsserver conflict

CHANGED:

  • [BREAK] Configuration
    • plugins: move plugins/<name>/repos.lua to overlays/<name>.lua
    • config: move plugins/<name>/config.lua to overlays/rc/<plug>.lua
    • custom: move lua/custom.lua to init.lua
  • UI
    • telescope: make the search background darker
    • statusline: set command line height to 0
  • Coding
    • rust: enable format on save
  • Completion
    • nvim-cmp: use <ctrl-c> to abort completion.
    • option: move vim.opt.completopt into cmp rc file
  • Key mappings
    • lspconfig: replace g- prefix key to <leader>a
    • git: replace gi- prefix key to <leader>g
    • multi-cursor: replace \n with un

ADDED:

  • keys: add <space>c to open action menu for Cargo.toml and packages.json
  • keys: add <Ctrl-w> to open windows operation menu
  • keys: add <leader>r to open Rust action in Rust buffer
  • plugin: add hlargs plugin to highlight function argument
  • null-ls: add eslint diagnostic into sources
  • config: add per-project neovim configuration
  • ci: add Mac OS
  • keys: add smooth scroll for J and K

cv2022.11.04

1 year ago

ADDED:

  • Completion
    • Add signature completion to indicate the parameters
    • Add command line lsp symbol search completion
  • Enhancement
    • Add hlslens to indicate the search context
    • Add scrollbar to indicate the LSP status
  • Document
    • Add README.md for each sub-directory

CHANGED:

  • option: set lazyredraw to true, to have responsive pop up menu
  • terminal: replace normal mode keymap to <A-;>
  • terminal: add ability to spawn multiple terminal

    Press number + _ to spawn different terminal. For example _ spawn the first terminal, then 2_ spawn the second terminal.

  • git: use same icon for git add/change
  • notify: truncate message when the string length is larger than 72

cv2022.10.16

1 year ago

cv2022.10.16

FEATURES:

  • Replace color preview plugin to ccc.nvim
    • Use CccPick to pick color, use CccHighlighterEnable to display color
  • Add plugin to dim the unused variable
    • Hide the error message and dim the variable color

CHANGES:

  • Hide the telescope search bar border
    • image
  • Redesign the status line
    • image
  • Close lazyredraw option

cv2022.10.06

1 year ago

FIX:

  • Fix the dashboard configuration and enable it by automatically
  • Fix lspconfig and treesitter don't loaded for jsx/tsx filetype issue
  • Fix conflict key mapping

CHANGES:

  • Use tsserver for js/jsx/ts/tsx by default, and inject eslint into lspconfig
  • Inject prettier as default formatter into lspconfig

Eslint and prettier injection are disabled by default. Copy the new option from custom.example.lua file to enable them.

  • Enable treesitter indent functionality
  • Enable treesitter fold functionality

cv2022.09.11

1 year ago

BREAKING CHANGES:

  • Plugin neoclip.lua was removed. (Commit 4c5d8d5)
  • Plugin vim-go was removed. (Commit 327e413)

FEATURES:

  • Add key -/= to increase/decrease number/date/version...etc

CHANGES:

  • Clean up and update the main UI
    • Status line background now turn into dark black.
    • Remove all the icon in signcolumn. Now signcolumn will display git status only.
    • Code action icon is now moved to virtual text, just like VSCode.
    • LSP Error/Hint/Warning/Info will now display as background color.
    • LSP Error/Hint/Warning/Info icon is now moved into diagnostic panel.
    • Always enable filename in winbar to stablize the window.
    • Use darker background for kanagawa theme and github_dark theme.
    • Use filename for shortline.
    • Remove source from completion menu.
    • Add completion kind into completion menu.
  • Remove buffer sources from completion menu
  • Move Neovim Lua settings into custom.lua file.
  • Split auto commands into different module.

FIX:

  • Fix git blame key mapping.
  • Fix incorrect condition detect for fcitx5 auto commands.
  • Add the missing github_dark_default theme.

cv2022.08.21

1 year ago

BREAKING CHANGES:

  • As this configuration will be changed constantly, and there will be a great deals of breaking changes from plugins, so from now on the configuration will use calendar versioning.
  • rest.nvim is removed in commit 3577818.
  • vim-eunch is removed in commit a30e46e.

FIX:

  • Fix nvim-tree.lua ignore file regex match

FEATURES:

  • Add command SudoW to help writing content when we forget open neovim as root.
  • Map <backspace> to delete without copying.
  • Enable VSCode like winbar when using neovim 0.8.0+

CHANGES:

  • Update Markdown highlight
  • (Internal) use new positive approach to expand the custom.lua configuration
  • Change the status line FileFormat component to FileEncode component.
  • Enlarge the sign column.