From 3669d4135c3b83fb106d4fef23ed49eb00630199 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 16 Jun 2018 08:45:42 +0530 Subject: [PATCH] diff kitten: Add keybindings to search without regex --- kittens/diff/config_data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kittens/diff/config_data.py b/kittens/diff/config_data.py index 3312f6423..d86bfca01 100644 --- a/kittens/diff/config_data.py +++ b/kittens/diff/config_data.py @@ -118,5 +118,7 @@ k('next_match', '.', 'scroll_to next-match', _('Scroll to next search match')) k('prev_match', ',', 'scroll_to prev-match', _('Scroll to previous search match')) k('next_match', '>', 'scroll_to next-match', _('Scroll to next search match')) k('prev_match', '<', 'scroll_to prev-match', _('Scroll to previous search match')) +k('search_forward_simple', 'f', 'start_search substring forward', _('Search forward (no regex)')) +k('search_backward_simple', 'b', 'start_search substring backward', _('Search backward (no regex)')) type_map = {o.name: o.option_type for o in all_options.values() if hasattr(o, 'option_type')}