You have to map using isearch-mode-map. The following will map C-h to delete the backward char when searching, for example:
(define-key isearch-mode-map (kbd "C-h") 'isearch-delete-char) On Tue, Jun 28, 2016 at 7:01 AM < [email protected]> wrote: > Send implementations-list mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of implementations-list digest..." > > > Today's Topics: > > 1. Making ^J and ^H work in / (search) (Alexander Berntsen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 28 Jun 2016 10:24:12 +0200 > From: Alexander Berntsen <[email protected]> > Subject: Making ^J and ^H work in / (search) > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > I have the following: > > (global-set-key (kbd "C-h") 'delete-backward-char) > (global-set-key (kbd "C-j") (kbd "RET")) > > How do I make this work in evil-mode's / (search)? > > Bonus points if anyone has the scoop on making it work in helm as well. > - -- > Alexander > [email protected] > https://secure.plaimi.net/~alexander > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQIcBAEBCgAGBQJXcjQqAAoJENQqWdRUGk8BUQoP/AyqQCaN/d+4HJXIVt7Gz15f > FqL/Qx5EjZCgaq4QMp+b9QyP93wJR9XbVxKCU54j77QPuoOCEdlj3rTAVr04/fD9 > aAQ0+HKFw62ADBHx1Gt7vq0pPEbSWGyOaMOyVr630km4wxliTdyTliQLqIyYKTvI > Yl6wZCeFUUl0yv+zIzoXEP8HvZY6LAHWnQU0JdSImkIrgU0xJjaCuiuPL3qyMyTf > XPhw8TpQ7tbxMiMDyoS58UdU3Eo3kzXlR8+8HNRaHGX/f23JA1NVb9Gr88hQMWEY > jOCwhg0MrA2NPdefXDXpLsyTf8La1uQdkXigXN+7+R43lB7T95UngSomNo0pzlDF > 0nhyUxj9SrIa/hGRnnk4g7ty5/t7R7Dr0pM9nvO6IB9H3b1NT3Q4APwCUeDdJqbd > 4KTo9j2v0EYB+DT6+88DjqwtD5BQZTaBK6vTh3yZCajoV9NlkYqICae9t8brc1/Z > l1jynQ6lAi9sC1orv0k3SGWducwR5l/Q65tx1lc8/3/3ou99gj0Pe6limW/DDXbs > 4G0KHN9kzqGlF7EnDM4npbPNjdusMDzHuv0FWIiq5DS+BMv74329oE0UpllTJFcp > M5zKWpiFukkO9jANp2IAlHflnJ8H6T3S8qElcoGuM72/2g3aJ2kaWZC0wephyUD2 > HhyNIW+JF/7QK9l05vFm > =vyG5 > -----END PGP SIGNATURE----- > > > > ------------------------------ > > _______________________________________________ > implementations-list mailing list > [email protected] > https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list > > > End of implementations-list Digest, Vol 89, Issue 6 > *************************************************** >
_______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
