Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hou32hou
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
hou32hou
6mo ago
Please feel free to ask for help in https://ki-editor.zulipchat.com/join/zzhagqzl6wyzpqfeqxcsrki... :)
2.
▲
by
hou32hou
6mo ago
Have you actually tried it?
3.
▲
by
hou32hou
6mo ago
Have you used `*` to pick the keyboard layout?
4.
▲
by
hou32hou
6mo ago
In Ki you don't have to know the name of the syntax node, you can just press `d m`, and the editor will show the labels of all the syntax node visible that you can jump to.
5.
▲
by
hou32hou
6mo ago
"Emacs is an editor" is as true as "Toyota Hilux is a gattling gun carrier"
6.
▲
by
hou32hou
6mo ago
TBH, it's actually not as hard as you think, most of the time, what I do is just select the whole syntax node and delete it, copy it, or replace it, and only 20% of the time would actually require deliberate understanding of how the AS
7.
▲
by
hou32hou
6mo ago
Sorry for derailing a bit, the search and replace using a query make sense for purly textual (non-syntactic) editing, but if you want to apply consistent syntactic modifications across multiple locations in the same file, you will need both
8.
▲
by
hou32hou
6mo ago
We have one underway in https://codeberg.org/alicealysia/ki-bindings.nvim
9.
▲
by
hou32hou
6mo ago
> It shows the creator comes from VSCode Hey, one of the creators here, I actually daily drove Neovim for two years, before switching to Helix for a while, then finally Ki. > multi-cursor is a useless feature I was a Neovim macro user
10.
▲
by
hou32hou
6mo ago
It's good at least in my case because I switch between Dvorak (Corne) and Qwerty (laptop's keyboard) all the time, without positional keymap, I would have to develop two sets of muscle memory
11.
▲
by
hou32hou
6mo ago
It's not generated by LLM, it was actually my idea, but grammar-corrected by LLM, but you are not wrong either, the docs are really subpar in a lot of ways, and not clearly explaining why is one of them, and of course, the potentially
12.
▲
by
hou32hou
6mo ago
> How does the machine I ssh to know my keyboard layout Why does it need to? If you are using say, Dvorak, you can just pick the keyboard layout by pressing `*` (a keybinding which is not affected by the chosen keyboard layout)
13.
▲
by
hou32hou
6mo ago
> For large edits, most selections will be out of the scroll window and not really helping. That's why the Ki editor has a feature called Reveal Cursors ( https://ki-editor.org/docs/normal-mode/space-menu#-c
14.
▲
by
hou32hou
2y ago
Honestly they're just a bunch of data transformers plugged together to create the illusion of behaving like a human.
15.
▲
by
hou32hou
2y ago
Do you mind sharing the Emacs package that does "tree based selection expanding" so I can better highlight their differences?
16.
▲
by
hou32hou
2y ago
Multi-cursor, yes; structural selection, not so much, they are more like an afterthought for most editors, there’s a big difference between being treated as first-class and second-class.
17.
▲
by
hou32hou
2y ago
Thank you for trying! For character-based movement, simply press 'z' to enter the column mode. Regarding the built-in tutor, yes I really have to put in the effort, because it's so much harder than authoring documentation. An
18.
▲
by
hou32hou
2y ago
I think it's significantly better, because you don't need to know the specific type of node you want to select. In Ki, you only need to use `s` for any syntax node, while in nvim-treesitter-textobject, you need to use `vaf` for fu
19.
▲
by
hou32hou
2y ago
Selection modes are sticky, so it would be “w l l l l l”
20.
▲
by
hou32hou
2y ago
Künstliche Intelligenz. Sounds super cool, not gonna lie.
21.
▲
by
hou32hou
2y ago
That's true for some users certainly, but I guess most users will not know which 4 easy-to-access keybindings to downgrade in exchange for the 4 syntax navigation keys, if it were you which 4 default keybindings are you willing to sacr
22.
▲
by
hou32hou
2y ago
To be frank it takes time to get used to, especially if you are already a Vim amateur. However, once you get the hang of it you will find that most common operations can be achieved within 3 keypresses. For example, to delete the current li
23.
▲
by
hou32hou
2y ago
Ki is much inspired by Helix and Kakoune, however, it introduces an extra layer called the Selection Mode, with this, every movement is standardized to the same set of keybindings. Also, most importantly, syntactical selection/navigati
24.
▲
by
hou32hou
2y ago
I will need help unfortunately because I don't have an accessible Windows machine. For the configuration I'm planning something crazier, I might use my programming language that I built earlier ( https://github.com/
25.
▲
by
hou32hou
2y ago
Just `s` if your cursor is already placed on the first token of the function call node.
26.
▲
Show HN: Ki Editor – Multicursor syntactical editor
(ki-editor.github.io)
138 points
by
hou32hou
2y ago
|
71 comments
27.
▲
by
hou32hou
6y ago
Nope because I’m not convinced by this language anymore
28.
▲
by
hou32hou
6y ago
It won’t be delivered because it’s actually my final year project for my software engineering degree, and plus I’m also not convinced by this language anymore, I still think that there’s a better syntax which I can’t think of right now
29.
▲
by
hou32hou
6y ago
No no we haven’t broke up yet
30.
▲
by
hou32hou
6y ago
Yea it is indeed halted, because I’m still in search of a better syntax.
More ›