9 ms·
What you could steal from the Kakoune code editor, and get away with
- donw 6y agoI know what I’d add: a link to the project from the article. :)
- TheDong 6y agoHuh, but the very first word (Kakoune) in the article is hyper-linked to https://kakoune.org/ https://kakoune.org/ Do you mean something else?
- donw 6y agoDoesn’t appear to be clickable on mobile (or at least not iOS, just tried)
- vbezhenar 6y agoWorks for me on iPhone
- donw 6y agoWeird, must be me. I, once again, stand corrected. :)
- vbezhenar 6y agoMay be you're looking at a wrong place? It's just a simple <a> tag, it should work. I can see link at first word in the sentence "Kakoune is a (fairly) young modal code editor that has matured for as long and as well as a good red wine."
- matsemann 6y agoProbably not what's happening here. But even "simple a tags" regularly break on iOS, because Safari has heuristics to see if the hover effect is to show something (like a menu), so then the first click triggers the hover, and the next click the actual click. Really frustrating as the heuristic is often way off.
- esquevin 6y agoIMHO we are trained to look for a home link in the header. I'd say that, even though the author put a link in the article, it's easy to miss it if you read the whole article first, then try to find more informations about Kakoune :/
- Arcuru 6y agoI would love for people to steal Kakoune's text editor, I think it's an improvement over Vim for modal editing. I've been a longtime user of the Vim style of editing, but I checked out Kakoune several years ago and was impressed. I tried it for a week or two and was starting to prefer it over Vim. The problem is that while Kakoune is a very good competitor to Vim the program, I am only rarely in need of a terminal based editor. The vast majority of my time is spent in full fledged IDEs or in Web-based editors, all of whom have Vim plugins so that I can consistently use the same style. It's always bummed me out a little bit. I spend the majority of my work days using Vim keys for editing text, and there is an editing style I'd actually prefer to use but I can't because there isn't already widespread adoption. There's not enough benefit for me to learn it if I can't use it everywhere, and switching back and forth with Vim seems extremely difficult.
- ternaryoperator 6y ago> I spend the majority of my work days using Vim keys for editing text, and there is an editing style I'd actually prefer to use but I can't because there isn't already widespread adoption. Unless your preferred style has some really unusual key combos, it seems to me that most IDEs and editors today enable you to configure your keys just the way you want them.
- syntheticnature 6y agoYou might not realize that when it comes to vi keys, or I assume (per context) Kakoune -- it's the ability to compose commands out of smaller bits. If the editor doesn't support the appropriate composition elements, you can't get there with simple key-remappings, for even if you (vi-wise) tell it 'dd' deletes a line, that won't get you 'd$' for delete-to-end of line, 'df)' for delete-to-next-parenthesis, etc. More in-depth commentary: https://medium.com/@mkozlows/why-atom-cant-replace-vim-433852f4b4d1 https://medium.com/@mkozlows/why-atom-cant-replace-vim-43385... Sadly, because I'm someone who learned vi in part because it's nearly everywhere and fits on the embedded devices I often develop for easily, a new editor isn't as interesting because it isn't everywhere.
- chrismorgan 6y agoI’m being triggered by the use of Unlicense, a license that I abhor purely because of its catastrophically bad name. The problem is that when expressed in the past tense (-ed suffix), “Unlicense” means precisely the opposite of an existing English word. If software is unlicensed, it means you have no license, no permission, to do anything with it. (Or, if it is your code, it means that you have not granted license/permission to anyone else to do anything with it.) If software is Unlicensed, it means you have permission to do absolutely anything with it. That’s a recipe for confusion. In old versions of npm, to convey “all rights reserved” or “proprietary” you used to need to set the license field in package.json to "UNLICENSED"; so that "UNLICENSED" was the opposite of "Unlicense" (and I think it was case-insensitive, too). And just so we’re clear, it’s not the word “unlicensed” that’s at fault, it’s Unlicense that’s at fault for hijacking an existing word to mean the opposite thing. Which is hardly a new phenomenon in language, I suppose (let, cleave, sanction, &c.), but still—. When I want public domain and want to be nice about the legal technicalities for all jurisdictions, I use CC0 instead, largely just because its name isn’t bad, but also because its contents seem to be slightly more highly regarded legally. https://creativecommons.org/choose/zero/ https://creativecommons.org/choose/zero/
- hardmath123 6y ago"un-" is indeed a funny prefix. You might enjoy (or be frustrated by) this analysis… https://hardmath123.github.io/un-unravelable.html https://hardmath123.github.io/un-unravelable.html
- social_quotient 6y agoThanks for this! I enjoyed all of it. It’s these sorts of things I would likely have never found that I can thank HN for bringing to me.
- wongarsu 6y agoIn this case something different but related is going on: software engineers have come to perceive a license as something negative, as something that sets limitations on what you can do. This makes an un-license seem desirable, as it's freedom from restriction. This also matches our behavior: code on a blog post is assumed to be free to copy and use, unless it has a license attached that limits this freedom. In reality of course the base state is reversed: having no license means you are allowed approximately nothing, and a license gives you (often limited) rights to do something with it. In reality an un-license would take away rights you previously have been granted. It feels like we are on the threshold to license becoming a Janus word.
- jamesrcole 6y agoHow is “Kakoune” pronounced? Ka-koon? Ka-koon-ey? Kak-oon? Kak-oon-ey? Or something else?
- andrewshadura 6y agoCocoon.
- jamesrcole 6y agoReally? I never would have guessed. It’s probably different for other accents, but with an Australian accent a word spelled like that would never be pronounced like “cocoon”.
- andrewshadura 6y agoThat's surprising, since I'd expect Australian accents to pronounce the first "o" as a schwa (think the second "o" in "doctor"), which is in a way similar to the French "a".
- sullyj3 6y agoI'm australian, and I pronounce them identically, with the schwa
- jamesrcole 6y agoIt’s the “Kak” bit. We’d say it in a way that rhymes with “back”. But we’d say “Coc” in “Cocoon” in a way that sounds like “cook”.
- jamesrcole 6y ago...for the record, I got that slightly wrong. Australian pronounciation of the initial "Co" in "Cocoon" is more like "Kuh".
- reyqn 6y ago
- thelastname 6y agoI really wish I could use some other key then Alt as the meta key. It's an odd limitation.
- b0rsuk 6y agoYou feel this limitation because Alt key is overloaded in Kakoune. Which in my opinion is a downside of having less modes than Vim. Only normal and insert. When you look at kakoune forums, there's constant head scratching where to put new potential functions or user macros. Default keymap is so crowded.
- elcomet 6y agoIn french it sounds like cacounet which is a cute word for poop.
- aloisdg 6y agoLiving in Paris. Never heard of "cacounet" as a word for poop.
- pvg 6y agoYou probably won't regularly hear 'pooplet' in most English-speaking cities and it still sounds like a diminutive of 'poop'.
- simias 6y agoBut to me the similar construction in French would be "cacaounet" and not "cacounet" which doesn't really evoke feces to me, just "a small cacou" whatever that'd mean. ... why are we arguing about this again?
- elcomet 6y agocacounet is a contraction of cacaounet, which is harder to pronounce.
- elcomet 6y agoIt's mostly used by mom for babies I think.
- b0rsuk 6y agoA bigger problem is the common shortcut: kak
- AQXt 6y agotldr; Kakoune is a public domain project. Which means that anyone is free to do anything they want with the source code of the editor, no questions asked.
- baq 6y agowhat i'm sorely missing from this otherwise very good post is some screenshots! i've only heard about kakoune in passing and i'm intrigued by clippy and its dependency info popup feature, but it'd greatly help to actually see it.
- domano 6y agoIn Germany there is no such thing as public domain for software copyright AFAIK. So the licensing could be an issue for professional usage.
- ketzu 6y agoEdgecases like this is probably why they include the "Unlicencse" license. Afaik, while (edit: In Germany) you cannot actively void your rights on a project (i.e., what they call the public domain model here) you can license it similarly (e.g., via CC0 and possibly the "Unlicense").
- cyphar 6y agoCC0 is much more thorough than the Unlicense, was written by actual lawyers, and has a fallback to a maximally-permissive license in jurisdictions where willing relinquishment of copyrights into the public domain doesn't exist. Unlicense doesn't have any of these properties so it really should be strongly avoided when choosing a license for a project -- there's no benefit to using it over CC0 and several potential (though admittedly theoretical) downsides. The Unlicense website also incorrectly states that "CC0 is not intended for software" -- while the other CC licensed aren't good choices for software, CC0 most definitely is intended to be used for software as much as any other copyrightable work.
- tomtomtom777 6y agoInteresting. It's not the first time I hear about problems with Public Domain, but I wonder what this means in practice. Are there any issues in Germany with professional usage of common Public Domain software like Sqlite?
- these_are_not_t 6y agoAre you saying that there's no copyright expiration in Germany? Or what would become the license at that point?
- ufo 6y agoIn Germany a work can only enter the public domain after the copyright expires. The author is not allowed to waive their copyright and intentionally put their work in the public domain before that. If you want to make something available without restrictions you have to grant people a license to your copyrighted work.
- TonyTrapp 6y agoI'm glad that "compilable with (reasonably) old compiler versions" finally means (at least to some people) that at least C++11 is supported.
- mraza007 6y agoReally cool editor. I was looking for editors that could run in terminal and I came across kakoune and what I really liked about this editor was auto suggestion feature and clippy look a like that tells you which command does what. For me that was very helpful
- leejoramo 6y agoThere is a reasonable package for vscode https://github.com/71/dance https://github.com/71/dance