add keybinds for url searches
This commit is contained in:
		
							parent
							
								
									453eb5793d
								
							
						
					
					
						commit
						19dcb8d0cb
					
				@ -18,6 +18,8 @@ Scrollback search:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
* ``ctrl-shift-f``: start forward search
 | 
					* ``ctrl-shift-f``: start forward search
 | 
				
			||||||
* ``ctrl-shift-b``: start reverse search
 | 
					* ``ctrl-shift-b``: start reverse search
 | 
				
			||||||
 | 
					* ``ctrl-shift-j``: start forward url search
 | 
				
			||||||
 | 
					* ``ctrl-shift-k``: start reverse url search
 | 
				
			||||||
* ``ctrl-shift-n``: jump to next search match
 | 
					* ``ctrl-shift-n``: jump to next search match
 | 
				
			||||||
* ``ctrl-shift-p``: jump to previous search match
 | 
					* ``ctrl-shift-p``: jump to previous search match
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -97,6 +97,12 @@ static gboolean key_press_cb(GtkWidget *vte, GdkEventKey *event, search_dialog_i
 | 
				
			|||||||
            case GDK_b:
 | 
					            case GDK_b:
 | 
				
			||||||
                open_search_dialog(vte, true, info);
 | 
					                open_search_dialog(vte, true, info);
 | 
				
			||||||
                return TRUE;
 | 
					                return TRUE;
 | 
				
			||||||
 | 
					            case GDK_j:
 | 
				
			||||||
 | 
					                search(vte, url_regex, false);
 | 
				
			||||||
 | 
					                return TRUE;
 | 
				
			||||||
 | 
					            case GDK_k:
 | 
				
			||||||
 | 
					                search(vte, url_regex, true);
 | 
				
			||||||
 | 
					                return TRUE;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return FALSE;
 | 
					    return FALSE;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user