Skip to content

Instantly share code, notes, and snippets.

@benfrain
Last active October 27, 2024 12:00
Show Gist options
  • Save benfrain/97f2b91087121b2d4ba0dcc4202d252f to your computer and use it in GitHub Desktop.
Save benfrain/97f2b91087121b2d4ba0dcc4202d252f to your computer and use it in GitHub Desktop.
My Neovim Config (now moved to repo)
@benfrain
Copy link
Author

Gone back to Kylechui for surround; prefer it.

@benfrain
Copy link
Author

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

@benfrain
Copy link
Author

Updated auto-session config and lualine usage

@benfrain
Copy link
Author

Adding navbuddy

@benfrain
Copy link
Author

removed null-ls/pounce, trying conform and flash

@benfrain
Copy link
Author

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

@benfrain
Copy link
Author

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

@benfrain
Copy link
Author

Going back to Pounce, find Flash does too much

@benfrain
Copy link
Author

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

@benfrain
Copy link
Author

benfrain commented May 9, 2024

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