summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2026-06-27 16:41:20 +0300
committerKyren223 <contact@kyren.codes>2026-06-27 16:41:20 +0300
commit3ff3e71f84781778b804ee8eccbb7ebcd864e699 (patch)
tree8368c73f28acf3d973fa37176e7bc32b491ec218 /.config/nvim
parent2100b395dff7ddc8497ab1adf668d451db843554 (diff)
Use r hotkey for normal rename, without jumping to the end, also don't
prioritize snippets, show LSP first
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/lua/keymaps.lua11
-rw-r--r--.config/nvim/lua/plugins/blink-cmp.lua2
2 files changed, 6 insertions, 7 deletions
diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua
index aae2928..a5c1aad 100644
--- a/.config/nvim/lua/keymaps.lua
+++ b/.config/nvim/lua/keymaps.lua
@@ -117,14 +117,13 @@ local keymaps = {
'n',
'r',
function()
- -- require('live-rename').rename()
+ require('live-rename').rename()
-- require('live-rename').rename({ cursorpos = -1 })
-- require('live-rename').rename({ insert = true, cursorpos = -1 })
-
- require('live-rename').rename({ cursorpos = -1 })
- vim.schedule(function()
- vim.api.nvim_feedkeys('A', 'n', false)
- end)
+ -- require('live-rename').rename({ cursorpos = -1 })
+ -- vim.schedule(function()
+ -- vim.api.nvim_feedkeys('A', 'n', false)
+ -- end)
end,
{ desc = '[R]ename' },
},
diff --git a/.config/nvim/lua/plugins/blink-cmp.lua b/.config/nvim/lua/plugins/blink-cmp.lua
index cea0cff..4e808b4 100644
--- a/.config/nvim/lua/plugins/blink-cmp.lua
+++ b/.config/nvim/lua/plugins/blink-cmp.lua
@@ -132,7 +132,7 @@ return {
},
snippets = {
- score_offset = 200, -- make snippets highest priority
+ -- score_offset = 200, -- make snippets highest priority
},
lsp = {