Fix autoenclose and override F1 in config

This commit is contained in:
Krzosa Karol
2024-08-15 12:44:27 +02:00
parent e49838b974
commit fbe34b2d40
6 changed files with 28 additions and 5 deletions

View File

@@ -385,6 +385,10 @@ function OnUpdate(e)
end
function OnCommand(e)
if e.key == KEY_F1 then
local word = GetLoadWord()
C('git grep -n '..word)
end
end
function OnInit()