-
Notifications
You must be signed in to change notification settings - Fork 38
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exmode command 'set' does not seem to work #196
Comments
Thanks for the report. It seems it did not work before. |
That works, thanks. Now if only this worked:
but it seems that cannot be done. Is there a way to bind exmode/config statement to key? |
Not yet. I've got an idea: and actions: and finally In code macro-0 will eval macro.0. It can be done with minimal changes in code. Some problems can occur with double quotes in double quotes, but it can be addressed later. |
…#196 They can be bind to keys. For example set macro.0 = "set ui.show_title_bar = 0" set macro.1 = "set ui.show_title_bar = 1" bind "main" "z" = "macro-0" bind "main" "Z" = "macro-1"
Maybe too soon, but committed. Try it, please. |
is this the right syntax?
none of them seem to change status or title bar (I'll move to dates once those work...) however they are seen in keybind manager (the mapping to macro is shown, but macro definition is not seen anywhere in options or keybinds, at least using search function, maybe it doesn't show up though). nothing happens when any of the keys are pressed. there are no parse errors on start. |
Macros are visible in options manager as a separate category. |
I see now, the page needs
|
For example: set macro.0 = "set ui.show_title_bar = 0;set ui.show_status_bar = 0;redraw"
If did not make mistake, semicolon is delimiter for commands in macros. |
awesome, can we add this to allow spaces after semi?
|
@smemsh , added. Thanks. |
everything works great, thank you! |
meson compile, latest master with exmode support:
accepts exmode input without error, but nothing happens on
<enter>
. tried refresh, etc no change. is:set
supposed to work?:quit
seems to work.:bind
seems to work.I also tried
elinks -eval 'set ui.show_title_bar = 0
which only works with-no-connect
, so I cannot use it to change values in session master.The text was updated successfully, but these errors were encountered: