Live data from Hacker News

Big Pile of Vim-Like

vim.reversed.top

121–130 of 133 posts

Re: Big Pile of Vim-Like

#123
post #31

When I see things like this, it reminds me that what makes vim special is not the software but it’s keybindings. That is why there are so many clones like spacemacs or VScodeVim. You can take the vim keys and you basically have the whole package but using your own software.

I never thought of it that way, but that's a very good point indeed. As an emacs user, I think what makes emacs special is not the keybindings, but the software itself, or, better phrased, the architecture and approach to extensibility that the software uses. Opinions on that?

I agree completely. I switched to ERC back in the day because it was the best way to get vi keybindings in my IRC sessions.

Re: Big Pile of Vim-Like

#125
post #11

In the graphical browser category, I have tried Qutebrowser and it is neat. However, Firefox remains as my primary web browser. I use the Vimium plugin with Firefox. It provides Vim-like key bindings for many commonly used browsing tasks. My most favourite commands in Vimum are 'f' and 'F'. The 'f' or 'F' command creates key combinations for all the links found in the page. It highlights the key combinations in littl…

I see why people love the plugin. One thing that stops me from using Vimium is it doesn't support opening links in a new window. I don't like tabs and use my window manager to, well, manage my windows. Not being able to open links with "f" or "F" in a new window is a deal breaker, unfortunately.

Re: Big Pile of Vim-Like

#126
post #11

In the graphical browser category, I have tried Qutebrowser and it is neat. However, Firefox remains as my primary web browser. I use the Vimium plugin with Firefox. It provides Vim-like key bindings for many commonly used browsing tasks. My most favourite commands in Vimum are 'f' and 'F'. The 'f' or 'F' command creates key combinations for all the links found in the page. It highlights the key combinations in littl…

To add onto your excellent comment: Another lifesaver for me is the 'gi' command, which focuses your cursor on the first text input. Saves a lot of mouse movements. For me personally the browser was the last application in which I had to use the mouse, vimium solved that. Sounds like a mundane application but after a serious hand injury it made the difference to me for working 4 hours with mouse and being in pain, or…

Just tried 'gi' with Firefox Vimium, seems like it will not set focus to inputs not currently in viewport.

Re: Big Pile of Vim-Like

#127
post #71

It's great to see this list, but it's a bit sad that all those app have to emulate Vim behavior. Do they all handle .vimrc? I think it's ridiculous that some app insists on me using their keybinding instead of mine. I'd love to have an OS level way of exposing commands and settings key bindings across apps.

some apps actually use neovim or vim in client server mode and dont just emulate vim behavior, but flat out run vim.

But even those cases I've had mixed results on "obeys vimrc keybindings" and "captures all keypresses and uses vim purely as a modal"

firenvim for example, puts nvim into textarea boxes in firefox, and it loads up all my vimrc theme and status bar and stuff (but only dumps the text into the textarea on :w). whereas VSCode vim plugin merely uses vim under the hood for the actual text editing, but doesnt pass every keybind back (nor does it do color formatting). Which puts it into uncanny valley for me, and unless someone is VSCode live sharing at me, I don't use it.

Re: Big Pile of Vim-Like

#128
post #10

Earlier quoted context omitted.

Protip: If you use bash or zsh, you can source the ranger executable for this behavior (so the full command would be ". ranger"). If you're on fish, there is a patch pending for review, that soon will be available on master.

I don't observe a difference between `ranger` and `. ranger` in zsh. What am I supposed to notice?

With `. ranger`, if you change directory and then exit, the shell's working directory changes to where you left off in Ranger.

  $ pwd
  /home/grandpa
  $ ranger
  [ ... change directory ... ]
  $ pwd
  /home/grandpa
vs

  $ . ranger
  [ ... change directory ... ]
  $ pwd
  /home/grandpa/src

Re: Big Pile of Vim-Like

#130
post #105

Earlier quoted context omitted.

I get around this with qutebrowser by whitelisting JavaScript.

How do you do that on a per-domain basis? I suppose looking at javascript sources and whitelisting by domain isn't impossible with the UI tools available in Qute but I don't think anything like that currently exists (I've looked around a little). Still a real ad-blocker would be great, youtube is barely usable these days with three layers of unskippable ads on each video. (although you can work around that /specific/…

I use a little python glue in config.py:

https://git.sr.ht/~sircmpwn/dotfiles/tree/master/.config/qut...

Post reply on HN