Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

New feat #107

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
fix imap for tab
  • Loading branch information
Cassin01 committed Jan 20, 2024
commit dd376ae0c434990ad530230ed633a6eea6287119
2 changes: 1 addition & 1 deletion lua/wf/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ local function objs_setup(fuzzy_obj, which_obj, output_obj, caller_obj, choices_
end
end
bmap(which_obj.buf, { "n", "i" }, "<CR>", select_, "select matched which key")
bmap(which_obj.buf, { "i" }, function() return "\t" end, "insert tab")
vim.keymap.set("i", "<Tab>", "<Tab>")
bmap(fuzzy_obj.buf, { "n", "i" }, "<CR>", select_, "select matched which key")
return { del = del, which_map_list = which_map_list }
end
Expand Down