Skip to content

Instantly share code, notes, and snippets.

@benfrain
Last active April 22, 2026 10:33
Show Gist options
  • Select an option

  • Save benfrain/97f2b91087121b2d4ba0dcc4202d252f to your computer and use it in GitHub Desktop.

Select an option

Save benfrain/97f2b91087121b2d4ba0dcc4202d252f to your computer and use it in GitHub Desktop.
My Neovim Config (now moved to repo)
@benfrain

Copy link
Copy Markdown
Author

Switched out separate renamer plugin for dressing.

@the-mrd

the-mrd commented May 18, 2022

Copy link
Copy Markdown

Is nvim-colorizer still useful/used with nightfox? Don't they conflict or override?

@benfrain

benfrain commented May 19, 2022

Copy link
Copy Markdown
Author

Is nvim-colorizer still useful/used with nightfox? Don't they conflict or override?

They serve different purposes. colorizer just changes text/hex values in the code you are editing into the appropriate color background. night fox is the color theme.

@benfrain

Copy link
Copy Markdown
Author

LSP/null-ls updates to deal with neovim 0.8

@benfrain

benfrain commented Jul 7, 2022

Copy link
Copy Markdown
Author

made Ivy the default picker layout for all the Telescope pickers

@benfrain

benfrain commented Jul 13, 2022

Copy link
Copy Markdown
Author

swapped the surround plugin put it back to original tpope surround as new one seems flakey

@benfrain

Copy link
Copy Markdown
Author

Changed Telescope buffers so it shows Most Recently Used and ignores the current buffer from the list

@benfrain

Copy link
Copy Markdown
Author

Added indent blank line and used options so it only shows on active buffer

@benfrain

Copy link
Copy Markdown
Author

Noticed that the mapping map("n", "n", "nzz"), which I was using to move to the next search result but center it, was actually stopping the built it search result from displaying and updating. Removed those and similar mappings and removed some other mappings I never actually use like tab to move to next buffer.

@benfrain

benfrain commented Oct 7, 2022

Copy link
Copy Markdown
Author

Removed a few plugins I rarely use. removed stabilize as it is in Nightly core now as splitkeep option: https://www.reddit.com/r/neovim/comments/xx3fom/new_option_splitkeep_merged_into_master/

@benfrain

benfrain commented Nov 8, 2022

Copy link
Copy Markdown
Author

Added descriptions to mappings, added Which Key

@benfrain

Copy link
Copy Markdown
Author

Swapped to Lazy based config

@benfrain

Copy link
Copy Markdown
Author

Added mini.move for line bubbling and removed the existing mappings I had from mappings.lua

@benfrain

Copy link
Copy Markdown
Author

Added an LSP hover shortcut and a function to remove any popups when Esc is pressed.

@benfrain

Copy link
Copy Markdown
Author

Lualine has its own searchcount component now, so removed my own from Lualine config

@benfrain

benfrain commented Feb 2, 2023

Copy link
Copy Markdown
Author

Added comment box plugin and mappings, removed headlines plugin

@benfrain

Copy link
Copy Markdown
Author

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.

@benfrain

Copy link
Copy Markdown
Author

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

@benfrain

benfrain commented Mar 6, 2023

Copy link
Copy Markdown
Author

Updated the Kanagawa config to deal with breaking changes there

@benfrain

Copy link
Copy Markdown
Author

Gone back to Kylechui for surround; prefer it.

@benfrain

Copy link
Copy Markdown
Author

Gone back to nvim-autopairs over mini.pairs; think it works better

@benfrain

Copy link
Copy Markdown
Author

Updated auto-session config and lualine usage

@benfrain

Copy link
Copy Markdown
Author

Adding navbuddy

@benfrain

Copy link
Copy Markdown
Author

removed null-ls/pounce, trying conform and flash

@benfrain

Copy link
Copy Markdown
Author

switching out mini.comment as it seemed to constantly fail with block comments in scss/ts files.

@benfrain

Copy link
Copy Markdown
Author

Currently unused plugin configs now prefixed with 'x-' so they are at the bottom

@benfrain

Copy link
Copy Markdown
Author

Going back to Pounce, find Flash does too much

@benfrain

Copy link
Copy Markdown
Author

Added symbols from NerdFonts to Which key as the default ones were not showing up

@benfrain

benfrain commented May 9, 2024

Copy link
Copy Markdown
Author

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!

@benfrain

Copy link
Copy Markdown
Author

Few tweaks for Which Key v3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment