Moved the t object to global scope Created a function for the double tap that was inside the g function. Created a lastActiveElement inside the t object that holds a reference to the element that was active when esc was pressed Added i key to enter insert mode (the last active element gains focus) Added dd key to remove the content og the last active element Added all function/meta keys to the ctrl+d key combo, to make sure to only react on ctrl+d
Moved the t object to global scope
Created a function for the double tap that was inside the g function.
Created a lastActiveElement inside the t object that holds a reference to
the element that was active when esc was pressed
Added i key to enter insert mode (the last active element gains focus)
Added dd key to remove the content og the last active element
Added all function/meta keys to the ctrl+d key combo, to make sure to only
react on ctrl+d

mutle/vim.safariextension,mutle/vim.safariextension