From b09c00195429c7e3cf76ee2188039e430b46247e Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Thu, 26 Sep 2024 20:34:29 +0200 Subject: [PATCH] feat(plugins,lualine): Added is.vim, moved winbar sections around Added: - [is.vim](https://github.com/haya14busa/is.vim) - Clears search highligh when the cursor moves - Swapped 'location' and 'searchcount' with 'selectioncount' for better colors --- nix/neovim-overlay.nix | 3 +++ nvim/plugin/lualine.lua | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/nix/neovim-overlay.nix b/nix/neovim-overlay.nix index ce7c438..ce0dcce 100644 --- a/nix/neovim-overlay.nix +++ b/nix/neovim-overlay.nix @@ -22,9 +22,11 @@ with final.pkgs.lib; let # ... # } all-plugins = with pkgs.vimPlugins; [ + # Debugger/task runner nvim-dap # Debuggerhttps://github.com/mfussenegger/nvim-dap nvim-dap-ui # Debugger UI https://github.com/rcarriga/nvim-dap-ui/ overseer-nvim # A task runner and job management plugin for Neovim | https://github.com/stevearc/overseer.nvim + # ^ Debugger/task runner # Themes tokyonight-nvim # https://github.com/folke/tokyonight.nvim @@ -89,6 +91,7 @@ with final.pkgs.lib; let comment-nvim # https://github.com/numToStr/Comment.nvim neo-tree-nvim # https://github.com/numToStr/Comment.nvim aerial-nvim # Plugin for a code outline window | https://github.com/stevearc/aerial.nvim + is-vim # incremental search improved | https://github.com/haya14busa/is.vim # ^ navigation/editing enhancement plugins # Useful utilities diff --git a/nvim/plugin/lualine.lua b/nvim/plugin/lualine.lua index e005722..c2b1866 100644 --- a/nvim/plugin/lualine.lua +++ b/nvim/plugin/lualine.lua @@ -124,8 +124,8 @@ require('lualine').setup { -- newfile_status = true, -- }, -- }, - lualine_y = {'searchcount','selectioncount'}, - lualine_z = {'location'}, + lualine_y = {'location'}, + lualine_z = {'searchcount','selectioncount'}, }, extensions = { 'fugitive', 'fzf', 'toggleterm', 'quickfix' }, }