HN user

themadsens

54 karma
Posts5
Comments41
View on HN
Neovim 0.12.0 4 months ago

The dot command, as you probably well know, is a macro that captures the last change: was it '3cw' or 'cE' or '7s' or <visual>s or 'ct)', all changed to the last insert. All intuitively without you even having to think about it.

Much more powerful than "change all my selections to the next input" IMO.

Neovim 0.12.0 4 months ago

Whats with all the fuss over multicursor. How is this different from just using '.'

I was lucky enough that my first employer ran the very first 4.2BSD in Denmark outside academia (on a DEC-VAX/750), so i grew up with Bill Joy's newfangled "vi" and spent countless hours recap'ing the cheat sheet.

To this day stuff like "3dw" and "d}{{[P" are just second nature. Very much enjoying moders stuff like neovim and CoC/LSP too.

And yes, nvim is perferctly suitable for Java and maven with ctags/ripgrep/fzf etc. plugins

Sweet, very impressed.

To be really usable, for embedded and otherwise, a well documented and ergonomic C API for bindings is needed though.

The closest I could find was "If you need to add more predefined functions, add them in intrinsics.h." I will take a look though, this seems really promising

EDIT: Looks to be pretty easy to tack an external registration mechanism onto intrinsics.h. Good to go then ..

.. Only two SO comments at this point .. come on folks :-)

Well said! I have met a few of these codesmells where the actual functioning is hidden behind a bewildering maze of facades, shims, proxies and whatnot.

I guess some has had an irresistible itch to use as many patterns from the GoF book as possible.

Ghostty 1.0 2 years ago

Very impressed with ghostty so far, but: Main reasons for sticking with ITerm2 (for the moment at least):

- "Seamless" cut & paste with paste on "2 X right click" + "Trim trailing LF"

- Quadruple click "Smart selection"

- Brillant search with highlighting in text and scrollbar

- Support for OSC-1 "icon titles" in tabs, as opposed to OSC-0 "header title"

I connect to serial ports a lot in what I do, and never really understood why this should be handled by the terminal emulator. Much better done with eg. picocom, python serial.tools.miniterm or the like.

Modern Mono 3 years ago

I swear by "Monaco Nerd Mono"

It was a revelation to discover "Monaco" when I first got started on the mac. So casual yet stylish and refined.

My absolute most horrid work experiences have all involved Hibernate / JPA. It slows everything to a grinding crawl, works somewhat 99.9 % of the time and creates inexplicable un-debuggable errors for the remaining 0.1%

On top of that you have to ditch referential integrity to make it at least limp along

Give me plain SQL or something lowlevel like sql2o any day

Go 1.18 4 years ago

A schoolbook lesson in steadily pushing "because we (think we) know better" boneheadedness. Well done indeed!

Arguing that opponents to removal "can just step up as maintainers" are completely bogus. As mentioned elsewhere, this is more about eroding trust in stdlib as a stable baseline. This is just the kind of thing that will teach people to not trust Python as a stable foundation.

Also. If maintenance of aging modules becomes tiresome, maybe it is a strong hint to keep backwards compatibility in Python proper.

Vertical wildmenu (as opposed to horizontal in the statusline) is the most recent nvim goodie. Also clipboard integration via providers is nice for remote work (:helpgrep lemonade).

Made the switch originally because of swifter highlighting, less display issues and the builtin terminal.

My setup also still basically works with vim too