Vim-like keyboard interface



  • I would like to see something like "normal" and "input" keyboard modes like in Vi/Vim. It would be extremely useful to have unified keyboard interface between Vivaldi and vim so, for example movement keys (h,j,k,l) would be the same in Vivaldi and then you could press "y" to copy text form some DOM object and such. Also typing "i" for mode change in input fields is small trade off for unified interface mark feature would also enhance experience greatly as would "gg" and "G" commands i know that not everyone is using Vim but i have found myself typing "gg" so many time and trying to "scroll" with "j", "k" that i had to make this proposition



  • vimium kinda does that, but it doesn't work very well with Vivaldi right now. Many shortcuts interfere with the built in ones. but the f and F shortcuts of vimium are way more powerful than the WASD spatial navigation IMO.

    having the option to get vim like behavior in the mail compose window, that would be kicka** 🙂



  • Thank you buenchaval for vimium tip i had no idea that it exists!
    in notes or mail compose window vim like behavior would be nice



  • I've been using vimium for a while now and I'm very satisfied with it, but as Vivaldi is adding customizable keyboard navigation as a feature anyway, it might be nice to extend that to allow the features currently offered by the vimium extension.



  • Also it would be nice to be able to go in "source-edit" mode and back via keyboard
    sou you can edit source in place and render it without sending another server request, for web development that would be fast and very useful.



  • +1 for vim keybindings (but please make them user configurable!)



  • Really need it. It will be a killer feature (at least for me).
    Other Chromium-based browser have Vimium and other similar extensions, but... let's compare it to, for example, VimFx for Firefox.

    1. Vimium is not able to work on protected pages like browser settings pages, chrome-extension, chrome webstore, view-source and other. VimFx works everywhere.
    2. Vimium is not able to focus on omnibar, and implements its custom (not ideal, has limitations) address box. VimFx just uses native browser address bar, and everything works fine. So when using Vimium i have to use either limited custom address bar or inconvenient native one.
    3. Vimium is not able to manage browser UI elements while VimFx allows to click browser elements (tabs, extension icons, even browser window close-minimize-expand buttons). It is because Firefox UI is based on XUL -- a markup language. Vivaldi UI is based on HTML -- a markup language too. You have all the possibilities to implement this behavior.
      So Vivaldi has a chance to really become "a hacker browser" instead of laggy Firefox and i-know-better-what-you-want Chrome.


  • This one is worth checking out - a while since I've used it (no more FFox for me) but in those days I compared all similar addons and Vimperator was the absolute top:
    https://addons.mozilla.org/en-US/firefox/addon/vimperator/



  • Perhaps the easiest for developers to start with would be adding the keyboard shortcut commands "Navigation Up", "Navigation Down", "Navigation Left", and "Navigation Right", which scroll the page from the keyboard (like the arrow keys).

    If you want vimium bindings, a lot of the commands are already built into Vivaldi and available for mappping. In the vimium options I've unmapped all of these and set their default command using Vivaldi instead (so it even works on PDF tabs and other protected pages). The only major ones missing for me are h j k l for scrolling, f for link navigation, and a way to do g g (press g twice) to scroll page to top.

    #Vimium mappings replaced by native Vivaldi mappings:
    #open new tab
    unmap t
    #go back/forward in history 
    unmap H
    unmap L
    #go one tab left/right
    unmap J
    unmap K
    #close tab, restore tab
    unmap x
    unmap X
    #refresh page, find on page, pin tab
    unmap r
    unmap /
    unmap <a-p>
    #scroll page to bottom
    unmap G
    
    #Vivaldi has shortcut section for these commands, but doesn't support two-part mnemonic shortcuts:
    #scroll to top/bottom of page 
    # unmap gg
    


  • @kuna-prime It would be neat to have a global "normal mode" triggered by the Escape key. I often find myself attempting to Escape out of an input box only to be met by more commentary/options. This makes even implementing the keybindings manually difficult because you never know when you might be inside a textbox.


 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.