Live data from Hacker News

Vimium – The Hacker's Browser

github.com

71–80 of 86 posts

Re: Vimium – The Hacker's Browser

#71
post #52

Does anyone have any suggestions on useful vi commands to learn? I prefer vi over emacs, but mostly because before I was a hacker, I had an interest in systems administration -- it's so much simpler to edit config files in vi than rely on a tool that seems to require a lot of customization, but I actually usually use Sublime for anything more than a short shell script.

For gaining expertise in vim, I generally point people at https://danielmiessler.com/p/vim/ which will teach you how to think about vim as a text manipulation language rather than just as an editor.

Re: Vimium – The Hacker's Browser

#72
post #52

Does anyone have any suggestions on useful vi commands to learn? I prefer vi over emacs, but mostly because before I was a hacker, I had an interest in systems administration -- it's so much simpler to edit config files in vi than rely on a tool that seems to require a lot of customization, but I actually usually use Sublime for anything more than a short shell script.

I personally use neovim and something I love doing is :tabedit to create a new tab and then I slap a :term in there and baby you've got a fullscreen terminal in a separate tab right inside vim and get this, you can yank text from this buffer and easily move this between your terminal tab and the files you have open. I think regular vim will do all this as well but I think maybe the commands are different?

yes vim does this. same commands.

Re: Vimium – The Hacker's Browser

#73
post #63
post #61

Earlier quoted context omitted.

Nyxt doesn't need limited Chrome/Firefox like extensions. With Common Lisp you can do far more, and by default.

… if you have time and knowledge to rewrite all the WebExtensions you rely on in day-to-day browsing in Common Lisp? That's a rather big if. :-D

You understimate the power of CL...

https://nyxt.atlas.engineer/article/dbscan.org

Re: Vimium – The Hacker's Browser

#74

For Firefox, I'm using Tridactyl[1] and am very happy with it, hint mode is an absolute god send. [1] https://github.com/tridactyl/tridactyl

I had a lot of problems with that. The "disable on some domains" functionality was broken for years. Probably they fixed it by now. Vimium worked and works better.

You can almost totally disable Tridactyl on a domain with `:seturl [URL] superignore true` now for what it's worth.

`:blacklistadd [URL]` remains a much better option for most people for most sites because it lets you easily re-enable Tridactyl temporarily.

Glad you're happy with Vimium :)

Re: Vimium – The Hacker's Browser

#76
post #42

is there something comparable, providing emacs bindings instead? asking for a friend.

there's a somewhat popular repo for Tridactyl Emacs bindings here https://github.com/jumper047/tridactyl_emacs_config

I use this; it does require changing the Firefox accelKey to something other than control, but works well. I also tried using nyxt but found it to be far too slow.

Re: Vimium – The Hacker's Browser

#77
post #52

Does anyone have any suggestions on useful vi commands to learn? I prefer vi over emacs, but mostly because before I was a hacker, I had an interest in systems administration -- it's so much simpler to edit config files in vi than rely on a tool that seems to require a lot of customization, but I actually usually use Sublime for anything more than a short shell script.

For gaining expertise in vim, I generally point people at https://danielmiessler.com/p/vim/ which will teach you how to think about vim as a text manipulation language rather than just as an editor.

Thanks for this, just the sort of primer I was looking for.

(I was wondering why the name seemed familiar, then realized... they also are the person who put together a bunch of password lists[1] that are incredibly useful.)

[1] https://github.com/danielmiessler/SecLists/

Re: Vimium – The Hacker's Browser

#78
post #52

Does anyone have any suggestions on useful vi commands to learn? I prefer vi over emacs, but mostly because before I was a hacker, I had an interest in systems administration -- it's so much simpler to edit config files in vi than rely on a tool that seems to require a lot of customization, but I actually usually use Sublime for anything more than a short shell script.

I personally use neovim and something I love doing is :tabedit to create a new tab and then I slap a :term in there and baby you've got a fullscreen terminal in a separate tab right inside vim and get this, you can yank text from this buffer and easily move this between your terminal tab and the files you have open. I think regular vim will do all this as well but I think maybe the commands are different?

Since Neovim 0.10, `:tab term` now opens the terminal window in a new tab. And you could use the exact same command in Vim since they introduced their own terminal emulation feature in Vim 8.0.0693.

Re: Vimium – The Hacker's Browser

#79
post #76

Earlier quoted context omitted.

there's a somewhat popular repo for Tridactyl Emacs bindings here https://github.com/jumper047/tridactyl_emacs_config

I use this; it does require changing the Firefox accelKey to something other than control, but works well. I also tried using nyxt but found it to be far too slow.

You can patch Firefox (no rebuild required) to not reserve keys if you'd rather. Discussion here [1] and convenient AUR script here [2].

[1]: https://github.com/glacambre/firefox-patches/issues/1

[2]: https://aur.archlinux.org/packages/firefox-no-reserved-keys-...

Re: Vimium – The Hacker's Browser

#80
post #70

Earlier quoted context omitted.

LOL, this is the most crazy stuff I've ever read. Since all addons are disabled on the system pages, you come up with a lunatic analogy that means absolutely nothing. "Imagine that...". What addon, if any, works on firefox system pages? Vimium always works... what low speed connection do you have for being unable to load any page in a fraction of a second? Beside that, I often use jk or whatever before the page is co…

> Since all addons are disabled on the system pages, you come up with a lunatic analogy that means absolutely nothing. "Imagine that...". What addon, if any, works on firefox system pages? You've misinterpreted me twice. I don't know how I would rephrase it again so that you understand.

[flagged]
Post reply on HN