fix automap
This commit is contained in:
parent
15ddd0218b
commit
7d79548f48
@ -86,10 +86,10 @@ function UnMapDHM()
|
|||||||
vim.api.nvim_del_keymap('n', 'N')
|
vim.api.nvim_del_keymap('n', 'N')
|
||||||
end
|
end
|
||||||
|
|
||||||
-- local handle = io.popen 'lsusb | grep -c Sofle'
|
local handle = io.popen 'lsusb | grep -c Sofle'
|
||||||
-- local automap = handle:read '*n'
|
local automap = handle:read '*n'
|
||||||
-- handle:close()
|
handle:close()
|
||||||
|
|
||||||
-- if os.getenv("SSH_TTY") then
|
if automap or os.getenv("SSH_TTY") then
|
||||||
MapDHM()
|
MapDHM()
|
||||||
-- end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user