add new keybind, Ctrl-a to toggle animation (#33)
* add new keybind, Ctrl-a to toggle animation Closes: https://github.com/nsxiv/nsxiv/issues/27 * Format consistency This keeps in line with other actions that have multiple keybinds Co-authored-by: eylles <ed.ylles1997@gmail.com> Co-authored-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
This commit is contained in:
		@@ -112,6 +112,7 @@ static const keymap_t keys[] = {
 | 
			
		||||
	{ ControlMask,  XK_n,             i_navigate_frame,     +1 },
 | 
			
		||||
	{ ControlMask,  XK_p,             i_navigate_frame,     -1 },
 | 
			
		||||
	{ ControlMask,  XK_space,         i_toggle_animation,   None },
 | 
			
		||||
	{ ControlMask,  XK_a,             i_toggle_animation,   None },
 | 
			
		||||
	{ 0,            XK_h,             i_scroll,             DIR_LEFT },
 | 
			
		||||
	{ 0,            XK_Left,          i_scroll,             DIR_LEFT },
 | 
			
		||||
	{ 0,            XK_j,             i_scroll,             DIR_DOWN },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user