Live data from Hacker News

Slap: Terminal-based text editor

github.com

21–30 of 41 posts

Re: Slap: Terminal-based text editor

#22

What I like about the project is that it is written in JavaScript and open source. But this: a Sublime-like file sidebar You could as well say, a VIM like sidebar if you install the proper plugin. There is nothing "Sublime-like" about a sidebar, TextMate had this earlier, other editors too. What is with the proliferation of these "Sublime-like" editors lately ? Can't they just stand on their own ? This really looks l…

> There is nothing "Sublime-like" about a sidebar, TextMate had this earlier, other editors too. I don't understand why every discussion like this devolves into a discussion over who did something first. It's completely irrelevant to the point. The quote you pulled says nothing about Sublime being the only editor to have a sidebar, or Sublime being the first editor to have a sidebar. It says that Sublime has a file s…

Hear, hear!

I tried desperately to suppress my "Shut the hell up you whiney bitch" response, but, alas, I have failed to do so in this case.

Re: Slap: Terminal-based text editor

#26

Very nice. But consider a lot terminal people are living in Linux. A fork uses a language that's commonly bundled with Linux distros will be awesome.

I'm pretty sure most distros have node.js (albeit an older version) in their repos. I know Ubuntu has it for years now.

Re: Slap: Terminal-based text editor

#27
post #24
post #3

This is so freakin cool. I assume you will receive a lot of criticism from VIM die-hards for your key bindings. But I love it. Good job!

Not only VIM but also UNIX people, because of ^C and ^Z.

I'm definitely hard-coded to not use ctrl+c or ctrl+z for copy/undo inside of a terminal, but I can see how this would make it easier for those just starting out to get used to terminal commands. Homogenizing our hotkeys with the ones used in GUIs isnt a bad thing, but it's certainly going to make things hairy for a while if more command line tools follow suit (how do I know which ones use which? Could lead to some very costly mistakes when I try to copy).

Re: Slap: Terminal-based text editor

#28

Requires node.js ... EDIT: oops I'm getting downvoted, sorry for mentioning the platform. For the record, I think that JavaScript is the perfect choice of language for a terminal text editor. I can't think of a single better language and platform. :|

I think that what's objectionable about your comment is its absolute lack of information or anything that could possibly contribute to a discussion in any obvious way. What do we make of Requires node.js... ? The sentiment doesn't reflect an opinion, an argument or anything that wasn't obvious from looking at the repo.

It's gonna seem REALLY obtuse to install node.js on a machine that doesn't need node.js, just so you can do some regular maintenance.

If there is any value in a terminal text editor at all, it's the ability to operate that editor remotely. Unless the machine has node.js on it already, this is just crufty.

salp's choice of dependencies for what it is, is really oddball. I don't think there's any getting away from it.

I will agree that just dropping a "Requires node.js..." is kind-of a cheap trick. The idea being that people will read what they want and assume that's what the grandparent meant. But just because it's cheap, doesn't mean it's meritless.

Re: Slap: Terminal-based text editor

#29

What I like about the project is that it is written in JavaScript and open source. But this: a Sublime-like file sidebar You could as well say, a VIM like sidebar if you install the proper plugin. There is nothing "Sublime-like" about a sidebar, TextMate had this earlier, other editors too. What is with the proliferation of these "Sublime-like" editors lately ? Can't they just stand on their own ? This really looks l…

The differences between Vim's windows and Sublime's drawer are big enough that it really is useful to differentiate between the two in this context. Vim's window splits are specific to the tabs that they appear in, while Sublime's drawer and (presumably) Slap's sidebar both cut across all tabs.

Plugins like NERDtree attempt to emulate Sublime's behavior using Vim-style windows. But although things are improving on that front, there are still some visible cracks in the implementation of the concept. The vi-like editors simply took a different evolutionary path, and this is one of the points where that shows.

Re: Slap: Terminal-based text editor

#30

What I like about the project is that it is written in JavaScript and open source. But this: a Sublime-like file sidebar You could as well say, a VIM like sidebar if you install the proper plugin. There is nothing "Sublime-like" about a sidebar, TextMate had this earlier, other editors too. What is with the proliferation of these "Sublime-like" editors lately ? Can't they just stand on their own ? This really looks l…

> There is nothing "Sublime-like" about a sidebar, TextMate had this earlier, other editors too. I don't understand why every discussion like this devolves into a discussion over who did something first. It's completely irrelevant to the point. The quote you pulled says nothing about Sublime being the only editor to have a sidebar, or Sublime being the first editor to have a sidebar. It says that Sublime has a file s…

The "who did it first" stuff is always one of the most aggravating tangents in tech forum discussions. I truly just do not get it. Sometimes it's people reminiscing about computer history, which I usually enjoy, but most of the time it's someone who just wants to crap on whatever the thing being discussed is. It's a less downvotable way of saying, "I think this thing you just wrote is stupid, and my token excuse for saying this is because someone else did it before you, so nyah nyah nyah".

The canonical example IMO is the development of the modern GUI: in the '90s, people who liked to argue about dumb stuff would say that Windows is crap because it was "just a reimplementation" of Mac OS; this was usually followed up by some equally stupid argument from someone else about how the Mac was stupid because it was "just a reimplementation" of the Xerox Alto, and I'm sure that would be followed up by some primordial neckbeard claiming that the Xerox Alto was a steaming pile because it just a reimplementation of ENIAC with better graphics.

Also: GNU/Linux.

Post reply on HN