Live data from Hacker News

Big Pile of Vim-Like

vim.reversed.top

41–50 of 133 posts

Re: Big Pile of Vim-Like

#41
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?

Totally agree, that's the reason why I use spacemacs with vim-bindings (having previously used vim, then vanilla emacs, then emacs with evil-mode).

I prefer "vim-shortcuts" and "emacs-software". Best of both worlds in my view !

Re: Big Pile of Vim-Like

#42

Earlier quoted context omitted.

Interesting, that was more the experience I had the first time I tried using Emacs as a vi user. The documentation I could find (limited, this was back in the '80s, couldn't google it), said "You are never intended to leave Emacs, you should be able to do everything inside it." I was done with my lunch break and needed to get back to work, so I went to another X window and killed Emacs.

Oddly I have an installation of Emacs on my current ArchLinux box that doesn't shut down with `C-xC-c`.... I've had to resort to `C-z, ps ax | grep emacs` to kill the process. I haven't cared enough to fix it.

Assuming `M-x` still works correctly, in emacs you can explicitly run any command associated with a shortcut.

So in this case, `M-x save-buffers-kill-emacs`, or simply `M-x kill-emacs`, could have done the job.

(if this still didn't work, you could even have written "(kill-emacs)" in a buffer and ran it with `C-x C-e` :D )

Re: Big Pile of Vim-Like

#43

Earlier quoted context omitted.

Interesting, that was more the experience I had the first time I tried using Emacs as a vi user. The documentation I could find (limited, this was back in the '80s, couldn't google it), said "You are never intended to leave Emacs, you should be able to do everything inside it." I was done with my lunch break and needed to get back to work, so I went to another X window and killed Emacs.

Oddly I have an installation of Emacs on my current ArchLinux box that doesn't shut down with `C-xC-c`.... I've had to resort to `C-z, ps ax | grep emacs` to kill the process. I haven't cared enough to fix it.

I'd like to tangent a bit and introduce you to pgrep and pkill (available in arch via `procps-ng` pkg). They are very nice for reducing the amount of grep/sed/awk magic on the output of ps.

Re: Big Pile of Vim-Like

#44
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 working 8 hours pain free.

Re: Big Pile of Vim-Like

#45

Earlier quoted context omitted.

Ever since I started using vimium, it's become a need for me. It's the reason I don't use safari despite its better performance on a macbook. Weirdly enough, none of the people I've tried to convince to use it has stuck with it - all very tech literate people.

> It's the reason I don't use safari despite its better performance on a MacBook. I've been working on a Safari Vim-inspired Extension for macOS 10.15+ for many months now. It'll be paid, something like $5 or less. I would have liked to open source it, but I don't have a way to get enough eyes on a KickStarter or something to gather donations. It is close to ready, I'm hoping to release it this month. I'll do a Show…

I'm not telling you how to monetise your project, but here's a thought I've had in the past regarding a hybrid of these schemes: simply make a written commitment to open source the project after X amount of purchases.

Re: Big Pile of Vim-Like

#47
post #36

Earlier quoted context omitted.

Same here - I used qutebrowser exclusively for a couple months, but in the end I couldn't handle all the annoying popups and autoplaying videos in modern websites - all things that you can block with a single plugin in Firefox, together with ads. Too bad, because Vim plugins never allow full UI control in Firefox(e.g. closing an empty "new tab" is impossible with Vim plugins). Recently I switched from Vimium to Surfi…

>closing an empty "new tab" is impossible with Vim plugins Well, strictly speaking Tridactyl can do this. They overwrite your empty tab with their own so Tridactyl works there too and you can 'd' the tab.

[deleted]

Re: Big Pile of Vim-Like

#48
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…

Same here - I used qutebrowser exclusively for a couple months, but in the end I couldn't handle all the annoying popups and autoplaying videos in modern websites - all things that you can block with a single plugin in Firefox, together with ads. Too bad, because Vim plugins never allow full UI control in Firefox(e.g. closing an empty "new tab" is impossible with Vim plugins). Recently I switched from Vimium to Surfi…

>closing an empty "new tab" is impossible with Vim plugins

ctrl+w (is default browser shortcut)

Re: Big Pile of Vim-Like

#49

I can recommend Wasavi, which is a browser extension that allows you to use Vim commands in most text windows you can edit. https://github.com/akahuku/wasavi I use it on a daily basis and although it's not Vim it's still pretty good.

There's also https://github.com/glacambre/firenvim which, while it isn't real vim, it's neovim which is pretty close ;)

Re: Big Pile of Vim-Like

#50
post #32
post #27

One of the editors it lists is "vy" : a Vim-like in python: https://github.com/vyapp/vy Does anyone have any experience with this? I'd love to have a vim that is more pleasant to program. edit: added link

Check out Neovim! It features Lua as a first-class scripting language. I'm planning on giving it a whirl by migrating my VimL configuration to Lua.

Ah, good call. Did not know that. Will look into it. Thanks!
Post reply on HN