4 ms·
This is my go-to text editor on Linux. Only one feature I miss from Notepad++ is persisting unsaved files. Otherwise it is a perfect application.
by butz 3y ago
This is my go-to text editor on Linux. Only one feature I miss from Notepad++ is persisting unsaved files. Otherwise it is a perfect application.
- smusamashah 3y agoThis is sad. I so much need a lightweight editor to replace Notepad++. There are so many annoying things with NPP including search, find and file explorer view. Also multi carret handling is much better in some other tools. But none of them are as lightweight or fast as NPP.
- dizhn 3y agohttps://news.ycombinator.com/item?id=37961174 https://news.ycombinator.com/item?id=37961174
- tkuraku 3y agoNot open source, but sublime text does the trick.
- smusamashah 3y agoSublime is not as fast. My main problem was with large files and files with weird encoding schemes which I can usually safely edit in NPP but not in sublime
- crabbone 3y agoThis is... bizarre? The two most well-developed, feature-rich while also very small editors are Vi(m) and Emacs. Notepad++ doesn't hold a candle to either one of those, and you somehow missed them? :| Also, what does it mean for the text editor to be fast? What speed do you measure?
- forty 3y agoI love emacs and I'd agree to categorize it as one of the most well developed and feature rich IDE. However I wonder: is it really "very small"?
- ElectricalUnion 3y ago120.6 MiB for a entire Elisp development environment that casually happens to have a text editor built-in is pretty small to me. For a alternative development environment example, the The Glasgow Haskell Compiler is 191.4 MiB by itself and it doesn't have a text editor. For example Visual Studio Code is 89.6 MiB, but then you have electron25 as a dependency and that is 212.7 MiB extra. As a somewhat larger example JetBrains bundle it's own customized Jetbrains Runtime JRE with it's 3.5 GiB IDEA IDE. It's for sure no vim-minimal, but it's pretty lightweight as far as "IDEs" go.
- crabbone 3y agoEmacs, just the binary is 8 MB in my distro package. You can, of course make it smaller if you want. There are also miniature versions of it, like MicroEmacs, which would be even smaller. But, even if you add a bunch of Emacs Lisp code, that will put you in the lower 3-digit number of Megabytes. Which would be equivalent to a hello-world Electron app after a lot of optimizations.
- Reubend 3y agoYou're right, but I'm guessing the parent commenter wants something with a nice GUI and mouse support.
- crabbone 3y agoWell, to me, the best GUI for the text editor is as little of it as possible... But Emacs can be made to show a lot of buttons and drop-down menus. Very few people would use it like that though. Also, Emacs has decent mouse support, it's just not useful for editing text, so nobody is really using it.
- smusamashah 3y agoI use Windows as main OS and I am absolutely not comfortable with using either Vim or Emacs. Caret handling, search and file explorer view is much better in sublime and vs code. But both of them are not as quick for large files and files with weird encoding schemes. NPP is the onlyone which for me has kept the encoding intact even when edit binary-ish files.
- RunSet 3y agoSuggest running the notepad++ installer in wine. Maybe not everything works but everything I've needed has. The notepad++ plugin ecosystem is a resource that no other software is likely to offer.
- dizhn 3y agoThe only editor I've found that reliably does that is mousepad. (I believe it's from xfce4) It's also really fast to start like Notepad++. Though it is more like windows Notepad in features than a bigger editor/ide.
- nunodonato 3y agognome text editor does that too
- RunSet 3y agoFeatherpad also does so, by enabling the option "Start with files of last window". Also: * instead of giving an error message when it lacks permission to read a file (like mousepad) it instead prompts for credentials and attempts to open the file. * it lets you put the tabs on either side. Or use a panel with a list of open files instead of tabs ("split mode"). Featherpad does have a qt dependency, which may be a dealbreaker for some.
- dizhn 3y agoThough I am quite happy with mousepad, I will give featherpad a go. Thanks (I am already on KDE so the QT requirement is OK) EDIT: Tested leafpad. I will keep it around but it doesn't have tabs which I quite like to have. :)
- heresie-dabord 3y agoIt's brilliant to be able to pass selected code or text through a definable shell command. right-click -> Format -> Send selection to...