mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-19 10:03:25 +00:00
chore: faster builds, fzf lua (#74)
This commit is contained in:
parent
80efbae1e9
commit
0db4171b0b
8 changed files with 52 additions and 25 deletions
|
|
@ -9,7 +9,13 @@ return {
|
|||
local neocodeium = require "neocodeium"
|
||||
neocodeium.setup()
|
||||
|
||||
vim.keymap.set("i", "<Right>", neocodeium.accept)
|
||||
vim.keymap.set("i", "<Right>", function()
|
||||
if neocodeium.visible() then
|
||||
neocodeium.accept()
|
||||
else
|
||||
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Right>", true, false, true), "n", false)
|
||||
end
|
||||
end)
|
||||
vim.keymap.set("i", "<A-w>", neocodeium.accept_word)
|
||||
vim.keymap.set("i", "<A-a>", neocodeium.accept_line)
|
||||
vim.keymap.set("i", "<A-e>", neocodeium.cycle_or_complete)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue