Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mawww
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mawww
29d ago
https://sr.ht/~hadronized/kak-tree-sitter/ exists. I have not used it personally but the author has been pretty active and we had multiple discussions around performance, AFAIU it does not rely that much on the sh
2.
▲
by
mawww
1y ago
C and C++ can be made to generate pretty much the same assembly, sure. I find it much easier to maintain a template function than a macro that expands to a function as you did in the B-Tree code, but reasonable people can disagree on that.
3.
▲
by
mawww
1y ago
C and C++ do have very different memory models, C essentially follows the "types are a way to decode memory" model while C++ has an actual object model where accessing memory using the wrong type is UB and objects have actual life
4.
▲
by
mawww
6y ago
My guess is that because in most common x86_64 calling conventions the caller is responsible for destructing the parameters, it has to run the unique_ptr parameter destructor which needs to check if it was moved from in the callee or not. A
5.
▲
by
mawww
6y ago
`hook global RegisterModified '/' %{ add-highlighter -override global/search regex "%reg{/}" 0:+u }` will underline the current search pattern There is no ignorecase option, `(?i)` is the way to enable tha
6.
▲
by
mawww
6y ago
Kakoune goes the opposite way, there is no such thing as "search and replace" in it, you'd use multiselection for that. It ends up being much more powerful because the editing language is strictly more expressive than regular
7.
▲
by
mawww
7y ago
Coming from a video game industry background, I have been running Kakoune in Windows since its early days, but always in a posix environment (cygwin, then WSL). It was a concious design decision to rely on posix extensively, one reason bein
8.
▲
by
mawww
7y ago
To give a bit of context, the idea behind this design is that those scripts should ultimately only be glue scripts that convert from some editor agnostic tools into Kakoune commands. I do agree that sh is not a nice programing language, and
9.
▲
by
mawww
10y ago
The font is called terminus
10.
▲
by
mawww
11y ago
Hello, If you get your selections through a regex, you will have access to capture groups in registers 0..9 (which will store the correct match for each selections), so to do the change you wanted, you'll type (in normal mode, no '
11.
▲
by
mawww
11y ago
Thanks a lot for you feedback, if you use tmux, interacting with fzf is easy as you can run fzf-tmux, that will open a tmux pan for fzf to run in. There is an example script for that in https://github.com/mawww/kakoune&
12.
▲
by
mawww
11y ago
Hello, 1. that is missing, but mostly because nobody needed it yet, and I am not very familiar with repl style languages. I expect it to be implementable with current features. 2. The simplest way to do that is to set the makecmd option, op
13.
▲
by
mawww
11y ago
Thanks a lot for you reply, I try to be reactive to feature requests, especially easy ones like making something configurable through an option (I expect most of these to be resolved in a day or so). Some people are using kakoune with fzf,
14.
▲
by
mawww
11y ago
Hello, Very interested to know what was missing for you ? We do not have options for everything, but I'll gladly add more options if there is a reasonable use case for them. In other words, options only get added if someone requests th
15.
▲
by
mawww
11y ago
Hello, Glad to hear you liked the interaction model, may I ask you what kind of options were missing for you ? The extension model is, I agree, unorthodox, but I think it does work reasonably well (the file you linked manage to provide asyn
16.
▲
by
mawww
11y ago
Hello, glad you enjoyed your first contacts. I have been using Kakoune not only to write itself, but as my only code editor in my day time job (C++ video game coding) as well for the last 3 years. I consider it stable, definitely not alpha,