sVim
sVim copied to clipboard
Feature request: Allow bindings for pause/unpause of sVim
I would like to bind a mapping which toggles sVim's operation.
Sometimes a site has it's own keyboard shortcuts which overlap with sVim. This would allow quickly disabling sVim, using the site's specific keyboard shortcuts, and ten quickly enabling sVim again. Perhaps it could be mapped in the sVimrc like this:
map "s v" togglePause
I think this what "insert mode" does. Disable sVim (enter insert mode) with "i" (insertMode), re-enable sVim (exit insert mode) with esc (normalMode).
@rosche That does seem work. Is "insert mode" actually supposed to mean "paused"? Is there some other purpose to "insert mode" on the context of sVim?
The other unfortunate business, is entering "insert mode" puts a status line at the bottom of Safari. Does anyone know if there's a way to disable that?
@TheLocehiliosan In normal mode, your keystrokes go to sVim. sVim decides which operation to do from that. When you enter insert mode, your keystrokes go to the webpage, the webpage decides which operation to do from that. In this case, sVim is unaware of your keystroke.
You can hide the "status line" by adding opacity:0;
to #sVim-command
in your sVimcss. You find it in show sVimrc
from the sVim button.
#sVim-command {
// other configs
opacity:0;
}
@luchenyuxx Thanks, that works great!