Other options to revert contents of change?
thepenguinthatwants opened this issue · comments
Pressing return on a state (or double clicking on it) will revert the contents of the file to match that state.
Seems like I've mapped return on something else as this doesnt work. Does double click mean clicking by mouse? Is there any way to map revert content to U or something?
@thepenguinthatwants You can change the Mundo keymap with g:mundo_mappings
option. :) Thank you for using Mundo!
Lines 192 to 209 in 046fc06
let g:mundo_mappings = {
\ '': 'preview',
\ 'o': 'preview',
\ 'j': 'move_older',
}
When I added this line on my vimrc I've got
E723: Missing end of Dictionary '}':
E15: Invalid expression: { '<CR>': 'preview', 'o': 'preview', 'j': 'move_older',
line 9:
E492: Not an editor command: }
line 8:
E723: Missing end of Dictionary '}':
E15: Invalid expression: { '<CR>': 'preview', 'o': 'preview', 'j': 'move_older',
line 9:
E492: Not an editor command: }
@thepenguinthatwants Remove the trailing comma like this:
let g:mundo_mappings = {
\ '': 'preview',
\ 'o': 'preview',
\ 'j': 'move_older'}
I tried it and it works perfect!