vim-leader-guide icon indicating copy to clipboard operation
vim-leader-guide copied to clipboard

No guide entries visible

Open samtay opened this issue 5 years ago • 0 comments

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.

samtay avatar Mar 30 '20 23:03 samtay

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:

  1. 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.
  2. 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

And btw what does 'n = -1' mean?

zm33y avatar Nov 21 '13 08:11 zm33y

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:

  1. 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.
  2. 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 .

worthy7 avatar Nov 22 '13 04:11 worthy7

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

worthy7 avatar Jan 26 '17 02:01 worthy7