No guide entries visible
I can't seem to figure this plugin out. Am I correct that, without supplying a custom dictionary, this should still show shortcut entries, albiet with raw mappings? Or do you have to add them manually? I have a ton of <leader>X shortcuts and I don't see any of them. I'm using this config:
let g:lmap = {}
call leaderGuide#register_prefix_descriptions('<Space>', 'g:lmap')
nnoremap <silent> <leader> :<c-u>LeaderGuide '<Space>'<CR>
vnoremap <silent> <leader> :<c-u>LeaderGuideVisual '<Space>'<CR>
and I've tried placing it before and after where my mappings are defined, to no avail.
This is a good idea, but I do not have much time now to implement and test it properly. If you want to do it yourself, you will need the following things:
- handler of the new hotkey in
key_pressed_handler()that would saveg_subtitles.begin_timeandg_subtitles.end_timeto some object likeg_loop_info. - Add some logic to
input_events_handler()function that would check if looping is enabled and then useplayback_goto()function to jump tobegin_timewhencurrent_time > end_time
And btw what does 'n = -1' mean?
Cheers, I'll grap a copy and commi the result once I'm done - thanks for the tips they will really help me.
Ian
2013/11/21 zm33y [email protected]
This is a good idea, but I do not have much time now to implement and test it properly. If you want to do it yourself, you will need the following things:
- handler of the new hotkey in key_pressed_handler() that would save g_subtitles.begin_time and g_subtitles.end_time to some object like g_loop_info.
- Add some logic to input_events_handler() function that would check if looping is enabled and then use playback_goto() function to jump to begin_time when current_time > end_time
— Reply to this email directly or view it on GitHubhttps://github.com/zm33y/vlc-lua-sia/issues/12#issuecomment-28966560 .
n = -1 was a sort of joke because it will never be reached. (ok maybe it will if it's an unsigned int).
Cleaning up my questions list. I don't want to close this unless its been done lol