mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
chore(nvim): Neovim config cleanups
- Use newer installation for Lazy.nvim - Treesitter: ensure_install sql, bash, jsonc, python, dockerfile plugins - Completion: Use <ctrl+y> to accept. <enter> to accept was interfering with completions that were suggested at end of the line and you don't want to accept but just want to go to the next line - Snacks: disble the abhorrent *smooth* scrolling - Whichkey: More time before pop-up shows (450ms)
This commit is contained in:
@@ -46,7 +46,7 @@ return {
|
||||
style = "fancy",
|
||||
},
|
||||
scroll = {
|
||||
enabled = true,
|
||||
enabled = false,
|
||||
},
|
||||
scratch = {
|
||||
enabled = true,
|
||||
@@ -86,7 +86,7 @@ return {
|
||||
function()
|
||||
Snacks.scratch.select()
|
||||
end,
|
||||
desc = "Toggle Scratch Buffer",
|
||||
desc = "Select Scratch Buffer",
|
||||
},
|
||||
{
|
||||
"<leader>gz",
|
||||
@@ -217,13 +217,15 @@ return {
|
||||
"echasnovski/mini.icons",
|
||||
},
|
||||
opts = {
|
||||
delay = 450,
|
||||
preset = "helix",
|
||||
warning = true,
|
||||
-- Document existing key chains
|
||||
spec = {
|
||||
{ "<leader>/", group = "NVIM Scratch Buffer" },
|
||||
{ "<leader>a", group = "AI" },
|
||||
{ "<leader>c", group = "Code", icon = { icon = "", color = "orange" } },
|
||||
{ "<leader>b", group = "Buffer Operations", icon = { icon = "", color = "orange" } },
|
||||
{ "<leader>c", group = "Code", icon = { icon = "", color = "orange" } },
|
||||
{ "<leader>d", group = "Diagnostics", icon = { icon = "", color = "orange" } },
|
||||
{ "<leader>g", group = "Git", icon = { icon = "", color = "orange" } },
|
||||
{ "<leader>h", group = "Help", icon = { icon = "", color = "orange" } },
|
||||
|
||||
Reference in New Issue
Block a user