This is no longer maintained, I've now moved it to https://github.com/benfrain/neovim 👍
/README.md Secret
-
Star
(142)
You must be signed in to star a gist -
Fork
(23)
You must be signed in to fork a gist
-
-
Save benfrain/97f2b91087121b2d4ba0dcc4202d252f to your computer and use it in GitHub Desktop.
Added mini.move for line bubbling and removed the existing mappings I had from mappings.lua
Added an LSP hover shortcut and a function to remove any popups when Esc is pressed.
Lualine has its own searchcount component now, so removed my own from Lualine config
Added comment box plugin and mappings, removed headlines plugin
Amended the LSP and mappings so that I only see diagnostic messages on a line with my mapping. Still get the gutter icon at all times.
Removing these:
treesitter-textobjects can go.
nvim-autopairs
num2str comment
kylechui surround
welle targets
famiu/bufdelete.nvim
indentblankline
And replacing with these:
mini.ai
mini.pairs
mini.surround
mini.comment
mini.move
mini.bracketed
mini.bufremove
mini.indentscope
Updated the Kanagawa config to deal with breaking changes there
Gone back to Kylechui for surround; prefer it.
Gone back to nvim-autopairs over mini.pairs; think it works better
Updated auto-session config and lualine usage
Adding navbuddy
removed null-ls/pounce, trying conform and flash
switching out mini.comment as it seemed to constantly fail with block comments in scss/ts files.
Currently unused plugin configs now prefixed with 'x-' so they are at the bottom
Going back to Pounce, find Flash does too much
Added symbols from NerdFonts to Which key as the default ones were not showing up
Updated the options.lua file to add a !silent to the autocmd which stopped this error: Error detected while processing CursorHold Autocommands for "*": E11: Invalid in command-line window; <CR> executes, CTRL-C quits: checktime | endif
Found the solution here: https://morgan.cugerone.com/blog/troubleshooting-vim-error-while-processing-cursorhold-autocommands-in-command-line-window/
Also learnt that when you are in cmd mode, you can press ctrl+f
to get a window up that lets you enter commands like a normal buffer and press enter to execute. You can also then press ctrl+c
to exit that mode, and again to exit cmd mode!
Few tweaks for Which Key v3
Swapped to Lazy based config