-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
[playback] choking on column name #2435
Comments
The problem is in the commands that are saved in the macro file. The Line 12 in 002cd84
Along the same lines, |
Oh. I don’t use vi and missed this if this was documented somewhere. From that perspective, and given how important opening and quitting sheets are, I don’t see why those commands wouldn’t be saved. I was trying to create a robust and concise macro via the column sheet. Perhaps I could think of an alternative. Would commands related to sheets be saved? For example, jumping into the previous sheet, or going into the Sheets sheet? |
Part of the issue is that macros are almost identical to cmdlogs. I think it works pretty well, but maybe we should ignore the nonLogged check for macros? Also I think it's reasonable to make sheet quits, if not other movements, to be loggable commands for all cmdlogs. I hoped the sheet/col/row fields would suffice instead of recording the literal |
No, Line 13 in 002cd84
But For a solution that you can use right now, you can edit the macro or cmdlog file yourself, to manually add |
@saulpw, the exclusion of quit and jump commands explains my failures at the beginning of the year to use VDJ to restore my work. (I then moved to VDS but that leads to duplicated files and a small annoyance #2309).
Yes please; I'd err on the side of inclusion. I was using
Thanks @midichef, good tip! |
In the first implementation, every arrow movement was included, and it was untenable. Not just bloated--movements obscured all other commands, and by a large margin. The whole design of the cmdlog (with sheet/col/row) was my attempt to make the cmdlog meaningful by factoring out these movement commands, so if we're thinking of including them all, we should really consider redesigning the whole thing (maybe we just play back keystrokes). Before we embark on that, let's add back in the jump- commands and go-col/go-row, etc, and see if we can get a functioning cmdlog with some smaller tweaks. |
That'd be appreciated! I wonder if the sidebar could show warning/info about this when a macro command is started? |
Okay, I made it so that all commands are recorded in a macro (even movements), but kept it as it is with the cmdlog. Also the replay status now shows when a macro is being recorded. Extra help during macro recording would be fine, if someone wants to write a draft that would be appreciated. |
add even commands nonloggable commands to the current macro when recording.
In the attached I'm trying to create a macro that will show Reddit dumps consistently. My goal is to hide all columns but 5 and create an iso column.
https://asciinema.org/a/sKvTyL5MfBqdeZCE5t9xTpOTo
Originally posted by @reagle in #2102 (comment)
The text was updated successfully, but these errors were encountered: