• MajorHavoc@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    4 hours ago

    But if ctrl+f doesn’t let me type a search term then I’m going to scream

    It’s been awhile since I’ve bothered to remap a key in Vim, but adding this to .vimrc should do it for you:

    nnoremap <C-f> /
    

    I started with a bunch of these to let me keep using existing muscle memory while training new.

      • rezifon@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        There are better editors to learn if your goal is to not learn vi.

        In vi, search is not only used for searching, but also for navigation. Demoting search from an easy-to-reach single key to a difficult-to-press chorded key combination breaks one of vi’s core philosophies, natural editing flow, and will significantly reduce your enjoyment and efficiency using the editor.