25 ms·
Wasavi – Vi editor for any webpage
- impoppy 4y agoIf you like Vim, you should also check out Vimium - an extension, that enables Vim-like navigation in the browser. Never take your fingers off the home row! https://github.com/philc/vimium https://github.com/philc/vimium
- jonas-w 4y agoAlso https://github.com/tridactyl/tridactyl https://github.com/tridactyl/tridactyl
- recuter 4y agoIf only this would work in Safari. :/ I remember switching to Firefox for it and loving it. But Safari gives me like 3-4 extra hours on an M1.
- AndroidKitKat 4y agoWhen I'm using Safari I've found myself using Vimari: https://apps.apple.com/us/app/vimari/id1480933944?mt=12 https://apps.apple.com/us/app/vimari/id1480933944?mt=12 It's also available on GitHub if you're not interested in the Mac App Store: https://github.com/televator-apps/vimari https://github.com/televator-apps/vimari It works pretty well, but I've strayed away from using Vim & Vim bindings for everything after getting into using Emacs on my Linux box at work.
- pksebben 4y agoevil mode! https://github.com/emacs-evil/evil https://github.com/emacs-evil/evil
- spacebuffer 4y agoTridcatyl is the reason I keep coming back to firefox, I don't even think the level of customizability it offers is even possible on chromium browsers
- operator-name 4y agoTridactyl's key feature is "native messaging". A further alternative is https://github.com/brookhong/Surfingkeys https://github.com/brookhong/Surfingkeys. Its key feature is a javascript configuration - allowing you to bind arbitrary javascript to a key.
- jonas-w 4y ago"Key feature", it is a great feature but it is "only" for editing with your editor of choice (vim,neovim,helix, etc.) right? Or am i missing something?
- operator-name 4y agoI think you've misunderstood, "native messaging" allows the tridactyl extension to interact with the filesystem and native applications: https://github.com/tridactyl/native_messenger https://github.com/tridactyl/native_messenger
- jonas-w 4y agoOh okay i just installed native messenger today to use helix as my editor for textareas. Will look a bit more into it.
- huseyinkeles 4y agoAlso firenvim while you’re at it to have neovim embedded in your browser. https://github.com/glacambre/firenvim https://github.com/glacambre/firenvim
- cassepipe 4y agoEspecially since apparently Wasavi is not a firefox plugin anymore apparently. There's no anchor to "Firefox add-on" on the page and the firefox plugin search turns up nothing. Firenvim works in both Chrome and Firefox and you can harness the power of neovim, so that's a plus. Typing this from a neovim instance in firefox
- ravila4 4y agoActually, the releases page on GitHub does provide an .xpi file for Firefox, and it seems to be working fine. I guess the missing link on the website/README is a mistake.
- mihaigalos 4y agoI can confirm this. However, I constantly get a "View saved logins" to the top of the input field after I start typing. Did you experience the same? I'm on Firefox 108.0.2.
- ravila4 4y agoI don't see that, also on Firefox 108.0.2 (I'm using it to reply this comment.)
- dexterleng 4y agoI made Homerow, it's the same idea as Vimium, but for the entire macOS user interface. https://homerow.app https://homerow.app
- philonoist 4y agoOh, How I wish this for pesky Windows 11!
- quien 4y agoCheck out win-vind! It also comes with a tiling window manager but I've never used that. https://github.com/pit-ray/win-vind https://github.com/pit-ray/win-vind
- phil294 4y agoThis looks very similar to shortcat https://shortcat.app/ https://shortcat.app/, can you tell me what your program offers that the other one (free, but also not OS) does not? On an unrelated note, I made the same thing (barebones), but for Linux and theoretically also Windows: https://github.com/phil294/vimium-everywhere https://github.com/phil294/vimium-everywhere
- dexterleng 4y agoMajor differences are that (1) Homerow does not show search results in a command palette fashion. YMMV but I prefer the UI to be minimalist. (2) you can disable search and have it work almost exactly like Vimium. I would also like to note that the Shortcat dev plans on adding licensing. Homerow has licensing, but there's no blocks on features. So they are both "free" in the same way.
- forgotmypw17 4y agoIf you like Vimium, try qutebrowsers or Luakit, where keyboard is a first-class citizen that works everywhere and is not dependent on JS injection. May have a learning curve (took me about 3 days to get functional.) https://www.qutebrowser.org/ https://www.qutebrowser.org/ https://luakit.github.io/ https://luakit.github.io/
- vladvasiliu 4y agoI wanted to like qutebrowser, also for the minimalist interface. But not supporting ublock is a showstopper for me. Is that still the case?
- forgotmypw17 4y agoIt has an integrated ad blocker, which is good enough for me. You have to run :adblock-update once to enable it.
- gh02t 4y agoI don't think it supports ublock but it does have an integrated AdBlock now. It's based on the library Brave used and supported ABP style block lists.
- freeCandy 4y agoThere's also the nyxt browser which can be setup to vi or emacs bindings https://github.com/atlas-engineer/nyxt https://github.com/atlas-engineer/nyxt
- margarina72 4y agoJust to share my own experience of trying to make this my daily web driver, both these solutions are using webkit, and webkit behaviour is not exactly perfect and can be a real pain to update. Same issue with Nyxt, which I very much wanted to use. In the end I went for Trydactyl which give the best of both world: a web browser that works, with a decent ecosystem for extensions (lack of ublock is very quickly felt, even if yes there are some alternatives but... not as good and simple) and a powerful interface that you can mod to your needs, vim or emacs shortcut can be used.
- philonoist 4y agoVimium-C and 'Vimium-C for PDF' gives more functionality that Vimium couldn't. https://addons.mozilla.org/en-US/firefox/user/14732745/ https://addons.mozilla.org/en-US/firefox/user/14732745/
- lucasfcosta 4y agoHighly recommend Vimium too. It’s also a great way to test for accessibility as you’ll need good navigation attributes for it to work well.
- konart 4y agoLooks interesting but I have different approach: I use GhostText + NeoVim. This way I get real neovim backend and all my functinality.
- blacklight 4y agoI've been using FireNvim for quite a while now to turn textareas into editors. I like that this extension doesn't actually require vim/nvim to be installed on the system, but that also makes it a bit weaker. If everything happens in the browser then we're left only with a subset of what's possible with a full vim experience (plus, the user's vim configuration won't apply)
- mbwgh 4y agoChuckled at the "How to quit wasavi" section.
- bjarneh 4y agoThis is great; vertical editing is not supported it seems...
- brennvin 4y agoRandom tidbit: Wasavi sounds like Swedish for "what did we say".
- codetrotter 4y agoIt also sounds like a spin-off from the creator of the Wasa ship. https://en.wikipedia.org/wiki/Vasa_(ship) https://en.wikipedia.org/wiki/Vasa_(ship) “From the creators of the ship that wouldn’t float, now comes the editor that won’t edit!” No wait, that’s not a great slogan. Hmm. Perhaps from the makers of Wasa knäckebröd https://www.wasa.com/global/ https://www.wasa.com/global/ “You become what you code. Crunchy!” Sounds like a weird slogan also heh
- _dain_ 4y agoSee also Vime, which is Vim as an Input Method Editor, supposedly works with any X11 app. I haven't used it though. https://github.com/algon-320/vime https://github.com/algon-320/vime
- gigatexal 4y agoThis does not work in teh query editor text box/field in the google console. :( works fine in the gmail editor though!
- bamboozled 4y agoDoes anyone else us Tridactyl for firefox? I was using it but I stopped for some reason, I might give it another go. I think it had a few annoying bugs so I stopped using it. Come to think about it, I don't think it works as an "editor" in HTML text fields?
- e12e 4y ago> Come to think about it, I don't think it works as an "editor" in HTML text fields? There was "itsalltext"[1] (sadly defunct) - but there's an alternative (i just discovered - so I've yet to try it) : ghosttext https://github.com/fregante/GhostText https://github.com/fregante/GhostText [1] https://github.com/docwhat/itsalltext https://github.com/docwhat/itsalltext Ed: wasavi does enhance the text-area widget (wasavi is a browser extension) - so it does turn text fields into a vi-like editor. I can't imagine it plays well with vimperator-style extensions, though.
- bovine3dom 4y agoIf you have Tridactyl's native messenger installed you can launch an external text editor with Ctrl+I when inside a text box. There is also Firenvim which embeds real neovim instances inside text boxes.
- oblio 4y agoDid anyone try this: https://addons.mozilla.org/en-US/firefox/addon/tridactyl-vim/ https://addons.mozilla.org/en-US/firefox/addon/tridactyl-vim... ?
- kimoz 4y agoI am wandering if something like that exists but for text areas/boxes inside windows desktop applications.
- kiko123 4y agoWould love to try this, however it seems like the Firefox add-on is not available unfortunately. I've already tried the alternatives (tridactyl, vimium), but did not really like them enough to keep them installed. Seems like with wasavi, you can selectively launch vim interface for a text field whenever you feel like it, which was something I missed with the other solutions (or I haven't looked deep enough back then). Anyone managed to run wasavi on firefox by any chance?
- ravila4 4y agoI just did. There's an .xpi file in the releases page: https://github.com/akahuku/wasavi/releases/tag/v0.7.737 https://github.com/akahuku/wasavi/releases/tag/v0.7.737
- m0ntag 4y agoInteresting project idea for productivity. To be clear, the extension implements the editor features when it identifies a valid markup tag is supports? So the effectiveness is dependent on if the site uses the TEXTAREA tag for input.
- dang 4y agoRelated: Wasavi – a browser extension that transforms TEXTAREA elements into a VI editor - https://news.ycombinator.com/item?id=11023428 https://news.ycombinator.com/item?id=11023428 - Feb 2016 (42 comments)