Every one of the listed features is also available in Vim. I fail to see how this is either Sublime-like besides the keybindings (since a file pane is available on both Emacs and Vim) or will cause me to leave Vim or Emacs behind. That said, I can definitely see this replacing Nano for some folks.
I think the benefit is exactly the keybindings. And the fact that it is non-modal. It works like a text field in a desktop GUI, there is almost no state. You can't mess the state up. Contrast it to vim, where I got into the habbit of bashing ESC three times to be sure I'm not in a mode. Or emacs, which is nice until it's abstractions leak, and you accidentially start editing a configurations pane or something. I am a…
Slap – A Sublime-like terminal-based text editor
101–110 of 123 posts
Re: Slap – A Sublime-like terminal-based text editor
#102> Issues: [...] Slow on single cores, Raspberry Pi A text editor that is slow on 1GHz single-core machines. What a time to be alive.
I was very puzzled about that too, so I looked at the repo and... it's written in Javascript. No wonder.
Re: Slap – A Sublime-like terminal-based text editor
#103No multi cursors? :(
Re: Slap – A Sublime-like terminal-based text editor
#104Earlier quoted context omitted.
Agreed! I wish the sources of CygnusEd (Amiga) were open. Those guys nearly 30 years ago made a graphical text editor which on a 16 bit CPU clocked at 8MHz run circles around most today editors on 32/64 bit CPUs clocked over two orders of magnitude higher. Do we have to count optimization as a forgotten art, at least among non system developers?
This brought memories! There's a video on Youtube showing CED in action... Ladies and gentlemen, this is how a graphical text editor scrolled text 30 years ago on a 8 MHz 16 bit machine! https://www.youtube.com/watch?v=L41oIvre9K0
... and custom blit and other processors.
Re: Slap – A Sublime-like terminal-based text editor
#105Earlier quoted context omitted.
> It's a trade-off: Do I use a bit of mental power, and save some finger movement? hammerandtongs already suggested this: it's not a trade-off, you just didn't get to learn Vim appropriately (you say yourself that you're "part time vim user"). Vim is so convenient for its regular users not because it saves them keystrokes, but because it saves them this mental power you talk about. I don't think what commands I want…
>I don't think what commands I want to execute. I think where I want to get in the file or what should the text look like, and then the logic behind the structure of vi/Vim commands takes me there. this is gibberish unless vim comes with some sort of spinal cord dongle. either it's muscle memory or thinking but you still have to have practiced the keystrokes.
Re: Slap – A Sublime-like terminal-based text editor
#106Earlier quoted context omitted.
> It's a trade-off: Do I use a bit of mental power, and save some finger movement? hammerandtongs already suggested this: it's not a trade-off, you just didn't get to learn Vim appropriately (you say yourself that you're "part time vim user"). Vim is so convenient for its regular users not because it saves them keystrokes, but because it saves them this mental power you talk about. I don't think what commands I want…
>I don't think what commands I want to execute. I think where I want to get in the file or what should the text look like, and then the logic behind the structure of vi/Vim commands takes me there. this is gibberish unless vim comes with some sort of spinal cord dongle. either it's muscle memory or thinking but you still have to have practiced the keystrokes.
I expect not. Vim, for those that use it, is merely an extension of that.
Re: Slap – A Sublime-like terminal-based text editor
#107Re: Slap – A Sublime-like terminal-based text editor
#108Earlier quoted context omitted.
This brought memories! There's a video on Youtube showing CED in action... Ladies and gentlemen, this is how a graphical text editor scrolled text 30 years ago on a 8 MHz 16 bit machine! https://www.youtube.com/watch?v=L41oIvre9K0
> 8 MHz 16 bit ... and custom blit and other processors.
... with monster GPUs.
Re: Slap – A Sublime-like terminal-based text editor
#109Earlier quoted context omitted.
yeah, I clicked to the colored bar to see the distribution of languages in the repo, expecting to see C/C++ or even Pyhthon, and was shocked to see that 96.5% is javascript. Well, that explains such an extensive list of features, I guess..
I'm not saying that JavaScript is an efficient choice, especially when likely depending on a gazillion NPM modules... but do you realise that python is actually an order of magnitude slower than JavaScript these days? unless the body of your performance sensitive code is within a python library python is very slow. I find the problem with most slow javascript is poorly written code and an unnecessarily deep dependenc…
CPython is trivially easy to integrate with fast C though.