Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gpanders
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
gpanders
2y ago
Chris Oakman ported the parinfer algorithm to Lua [1]. I used this to write a parinfer plugin for Neovim [2]. I use Fennel (a Lisp that compiles to Lua) for all of my Neovim config and so use parinfer everyday. It works exceptionally well (
2.
▲
by
gpanders
2y ago
Note the AUR package was removed because it's since been packaged in the official Arch repos. There is a ghostty-git AUR repo for tracking the main branch: https://aur.archlinux.org/packages/ghostty-git
3.
▲
by
gpanders
2y ago
It's a macOS-only feature, for now.
4.
▲
by
gpanders
2y ago
Apple Terminal has a lot of problems. As others have mentioned, it lacks support for 24 bit color, enforces minimum contrast ratios without any ability to disable them (meaning you cannot set arbitrary color themes), is hopelessly bad at Un
5.
▲
by
gpanders
2y ago
This gets brought up a lot, so I wrote about it here https://gpanders.com/blog/ghostty-is-native-so-what/
6.
▲
by
gpanders
2y ago
It's a macOS-only feature, for now.
7.
▲
What's New in Neovim 0.10
(gpanders.com)
291 points
by
gpanders
2y ago
|
131 comments
8.
▲
State of the Terminal
(gpanders.com)
4 points
by
gpanders
3y ago
|
0 comments
9.
▲
by
gpanders
3y ago
Terminals do have a concept of a cursor (there are dedicated control sequences for cursor management). There's no fundamental reason a terminal emulator couldn't implement an animated cursor like this, my guess as to why no one ha
10.
▲
Neovim is 10 years old today
(github.com)
6 points
by
gpanders
3y ago
|
0 comments
11.
▲
by
gpanders
3y ago
>Zig gives buffer overflow safety and null pointer safety but not use after free, double free It can provide the latter two through the use of the `GeneralPurposeAllocator`, which tracks UAF and double free. Stack pointer escape safety
12.
▲
by
gpanders
3y ago
As a long time Vim user I’m extremely thankful for Bram’s creation and stewardship of an incredible piece of software. He gave the world an amazing gift. I’ve interacted with Bram a few times personally in the process of submitting changes
13.
▲
by
gpanders
3y ago
In contrast, for me this seems like the "killer feature" that differentiates it from the current generation of headsets. I've always been completely uninterested in anything AR/VR and a big reason for that is that these
14.
▲
by
gpanders
3y ago
I mean to be fair, in that video he was recording a video using the headset. In that context, I don't think it's _that_ different from a parent pressing their eye into a camcorder or holding up a smart phone.
15.
▲
by
gpanders
3y ago
“Atlasean task” sounds like a Jira ticket.
16.
▲
by
gpanders
3y ago
You can invoke Zig without build.zig: zig build-obj file.zig And then include the object file along with your other sources. How you do this will of course depend on your build system.
17.
▲
by
gpanders
3y ago
Indeed. The combination of direnv and exrc is very potent.
18.
▲
by
gpanders
3y ago
Probably true, but the Pi4 is not up to the task of transcoding 4k video.
19.
▲
by
gpanders
3y ago
>I've really tried to move from vim to neovim for a long time and spent many hours trying to configure it to behave like vim Could you elaborate on this? Out of the box, Neovim and Vim are extremely similar, almost identical to a fi
20.
▲
by
gpanders
3y ago
>E.g. when you are in a vim terminal and you go to normal mode to yank some stuff to put it in the other pane with the code, nvim defaults adds line numbers to the terminal that need to be cleaned up afterwards Maybe I'm misundersta
21.
▲
by
gpanders
3y ago
>I believe it was a mistake to fracture the ecosystem with plugins that can only be used with neovim. I hate to break this to you, but Vim itself is in the process of converting its runtime files into Vim9script (which is Vim specific),
22.
▲
by
gpanders
3y ago
One feature I'm personally excited about is the "undeprecation" of the 'exrc' option, which allows project-specific configuration. Vim (and thus Neovim) has had the 'exrc' option for a long time, which loa
23.
▲
by
gpanders
3y ago
Neovim uses LuaJIT on most distributions (or when building from source), which is substantially faster than Vimscript. Although this only really matters in computation-heavy plugins. The only other "advantage" is that the Neovim d
24.
▲
by
gpanders
3y ago
You can use Neovim without a framework. In fact, for the most part Neovim will work as-is with a .vimrc written for Vim (there are some options that are specific to Vim or Neovim, but not many, as both projects port features from the other)
25.
▲
by
gpanders
3y ago
rm -rf ~/.local/{bin,share}/nvim
26.
▲
by
gpanders
3y ago
I have been installing into $HOME/.local for a while now and it works wonderfully. I build from source, but it should work just as well from a tar or AppImage.
27.
▲
by
gpanders
3y ago
I completely agree. Many of the recent articles and blog posts written by AI enthusiasts giving examples of how AI makes their job "easier" or "more productive" just demonstrates this to me even further. What they call &
28.
▲
by
gpanders
3y ago
There are a few mentioned in this discussion: https://m.youtube.com/watch?v=-m6GFs3GuU0&feature=youtu.be I haven’t read any of them myself or I’d recommend them directly, but your question brought this to mind.
29.
▲
by
gpanders
3y ago
It is also supported by iTerm2, Wezterm, and foot. Alacritty does not (yet) support dynamically modifying the key encoding per-application, but you can hardcode the encodings in your config file (there is an issue in the Alacritty repo that
30.
▲
by
gpanders
3y ago
It is briefly mentioned in this post, but this work is based on a proposal by Paul Evans [1] (creator of libtickit and libvterm, among others). Kovid deserves credit for addressing some of the issues in the original proposal, and for docume
More ›