geekhack

geekhack Community => Other Geeky Stuff => Topic started by: iwantatrophy on Tue, 28 February 2017, 04:22:47

Title: Which text editor do you use and why?
Post by: iwantatrophy on Tue, 28 February 2017, 04:22:47
It is Sublime for me because of its easy usability. I tried learning vim and emacs but both are just strange to me.
Title: Re: Which text editor do you use and why?
Post by: algernon on Tue, 28 February 2017, 04:50:34
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.
Title: Re: Which text editor do you use and why?
Post by: Kilonzi on Tue, 28 February 2017, 04:51:13
When I was working a lot with Sun Solaris systems I used plain VI and also VIM all the time and on all operating systems.

Now I switched to Sublime Text too. It's a great text editor. A lot of good functions, cross-platform and really, really fast.

At work I do some coding here and there. I'm currently trying out Visual Studio Code. And it's not bad. I quite like it too. But sometimes I think that a lot of things are just copied from Sublime Text.
Title: Re: Which text editor do you use and why?
Post by: lancre on Tue, 28 February 2017, 05:57:26
I use emacs because of the support for R through ESS mode.

I also like org mode, and the ability to use shells in buffers, and it has nice support for Clojure which I want to learn.

I also like how I can remap keys in init.el.
Title: Re: Which text editor do you use and why?
Post by: nmur on Tue, 28 February 2017, 06:07:26
notepad++. it's really fast and i'm used to it

i've been meaning to try out vs code though, it's improving very fast
Title: Re: Which text editor do you use and why?
Post by: joey on Tue, 28 February 2017, 06:16:28
vim, picked it first over emacs and never tried to switch.
Title: Re: Which text editor do you use and why?
Post by: yuppie on Tue, 28 February 2017, 07:02:52
I use Vim because it's on every server in production and beyond.
Title: Re: Which text editor do you use and why?
Post by: dgneo on Tue, 28 February 2017, 07:04:53
Sublime, favorite by far once customized.
Title: Re: Which text editor do you use and why?
Post by: jal on Tue, 28 February 2017, 07:32:56
Vim, the One True Editor. Learned vanilla vi when I was a wee sysadmin farming Solaris and Irix boxes; kept using it because once the vi worms are your brain, you no longer want to escape. (Or rather, it is a Hotel California - you escape all the time, but never leave.)

The first "real" text editor I used was Eve, on VMS.
Title: Re: Which text editor do you use and why?
Post by: Flyersfan1 on Tue, 28 February 2017, 07:35:09
I really like Atom.

I'm very new to programming in general, but I like it for it's very user friendly interface and all the nice extensions that come along with it.  I don't have a ton to compare it to, but for now it's very comfortable for me to use.
Title: Re: Which text editor do you use and why?
Post by: Krakob on Tue, 28 February 2017, 10:32:37
I use Atom, came from Sublime Text. It's a lot stronger than Sublime Text and does some things a lot better, like package management. Open source is a plus too. I've considered switching to VS Code since it's supposed to be faster, but I'm not a huge fan of Microsoft and I don't code enough right now to care. If I switch to Linux later I would very much like to learn Vim, largely thanks to its omnipresence, allowing you to use it over ssh.
Title: Re: Which text editor do you use and why?
Post by: ErgoMacros on Tue, 28 February 2017, 10:52:31
BBEdit. l mostly live in Mac OS X. Been using it for years, haven't needed to switch.
Title: Re: Which text editor do you use and why?
Post by: pr0ximity on Tue, 28 February 2017, 13:24:17
vim for essentially everything, I immediately miss it when I have to use something else. I'll probably switch to emacs with evil mode at some point when I do more Lisp'ing

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do.

That is super compelling to me, basically sold me om switching with just that statement.
Title: Re: Which text editor do you use and why?
Post by: Sniping on Tue, 28 February 2017, 13:28:27
i'm a sublime boi
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 28 February 2017, 19:56:49
https://geekhack.org/index.php?topic=4482.0
https://geekhack.org/index.php?topic=48499.0
https://geekhack.org/index.php?topic=73366.0

:p
Title: Re: Which text editor do you use and why?
Post by: iMav on Tue, 28 February 2017, 22:26:34
I've always been a vi/vim guy.  I was a UNIX admin for many years...so that is where I picked it up.

I do use textmate on my Macs on occasion.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Thu, 02 March 2017, 07:19:27
Vim all the way. Been using it since 2006, invested a lot of time in writing plugins / streamlining setup / finding plugins.

I like spacemacs as well and I am attracted to it because it seems more streamlined / unified approach. Plugins all seem to have more predictable behavior, whereas vim plugins can vary greatly in terms of default shortcuts / UI layout (temporary buffer or not, opening in the same buffer or opening another window, allowing remap or having to set config parameters for the plugin etc).
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Thu, 02 March 2017, 08:32:48
I use Nano for all those small editing tasks, with the alias "pico".
Nano is GNU's clone of Pico (https://en.wikipedia.org/wiki/Pico_(text_editor)) which came with an early email client called Pine, which was the first email client that I used. Pine and Pico or Nano has been available on every Unix and Linux system that I have ever had a user account on. You can almost always count on it being installed.
It has very few commands. Nano has syntax highlighting but bogs down if source files are larger than a couple hundred lines or so, so ...

For programming, I use either GEdit or whatever is in the IDE that I have to use. I prefer the Mac/Windows hotkey set for heavy editing. Notepad++ on Windows.
Title: Re: Which text editor do you use and why?
Post by: chuckdee on Thu, 02 March 2017, 13:00:11
https://geekhack.org/index.php?topic=4482.0
https://geekhack.org/index.php?topic=48499.0
https://geekhack.org/index.php?topic=73366.0

:p

I knew this was a really popular question around here, but that's ridiculous :)
Title: Re: Which text editor do you use and why?
Post by: rowdy on Thu, 02 March 2017, 19:59:14
https://geekhack.org/index.php?topic=4482.0
https://geekhack.org/index.php?topic=48499.0
https://geekhack.org/index.php?topic=73366.0

:p

I knew this was a really popular question around here, but that's ridiculous :)

That's all I could find after a very brief search - there are probably a few more threads with more obscure titles.

FTR I use vim mostly, and TextWrangler on Mac.  ConTEXT on Windows on the rare occasions that I suffer under Microsoft these days.
Title: Re: Which text editor do you use and why?
Post by: pixelpusher on Thu, 02 March 2017, 20:27:05
SublimeText all the way :)
Title: Re: Which text editor do you use and why?
Post by: daerid on Fri, 03 March 2017, 02:21:17
I used to be completely Vim, but TBH VS Code has everything I could want, and the extensions for anything it doesn't have out of the box. Super lightweight, fast, cross-platform, and performs well under HiDPI on Windows (which GVim fails at hard)
Title: Re: Which text editor do you use and why?
Post by: chuckdee on Fri, 03 March 2017, 08:33:16
Realized that I didn't answer the question.  :)  I've gone through SlickEdit, UltraEdit,  Zeus,  Emacs,  and Atom,  but have Settled into Sublime Text,  and it's sublime text all the way now, though I dabble in VS Code. Extensions,  support for Markdown, speed, projects out of folders, split screen,  and the ability to sync the screens are my reasons.
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Fri, 03 March 2017, 09:20:09
I knew this was a really popular question around here, but that's ridiculous :)
It's interesting to see how usages change, though.
Title: Re: Which text editor do you use and why?
Post by: Coreda on Tue, 07 March 2017, 12:38:12
Interestingly Vim (https://wikileaks.org/ciav7p1/cms/page_4849889.html) and Sublime Text (https://wikileaks.org/ciav7p1/cms/page_9535740.html) listed as being used by the CIA in the latest WikiLeaks release. While curiously Notepad++ is targeted using a DLL hijack, as part of a section on exploiting portable versions of apps.
Title: Re: Which text editor do you use and why?
Post by: Puddsy on Tue, 07 March 2017, 14:15:03
libreoffice for most of my stuff

scrivener if it's november
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Tue, 07 March 2017, 14:48:54
Just a hobbyist here. VIM to jot down ideas. NANO for quick .conf edits. Mousepad/Geany/Gedit for everything else. I'll most likely d/l Sublime again to help with Python; I know enough to edit things but not enough to write things.
Title: Re: Which text editor do you use and why?
Post by: clacktalk on Tue, 07 March 2017, 14:57:08
sublime, notepad++

so good
Title: Re: Which text editor do you use and why?
Post by: Blanched_Almond on Wed, 08 March 2017, 00:39:50
For me its a Sublime text because I am able to customize shortcuts available for my needs.  It’s remarkably good! On one hand, I'm also using a notepad, though it is only suitable for windows.
Title: Re: Which text editor do you use and why?
Post by: iri on Mon, 20 March 2017, 08:15:09
Vim of course.
Title: Re: Which text editor do you use and why?
Post by: wangledorf on Tue, 21 March 2017, 02:16:33
Neovim and Vim when neovim isn't an option; once you learn Vim, relying on a mouse feels extra cumbersome. On Windows will occasionally use Notepad++ for non-programming stuff like editing markup. The alt-click (vertical select) functionality is pretty much the only reason I have it installed.  :thumb:
Title: Re: Which text editor do you use and why?
Post by: bmmcwhirt on Tue, 21 March 2017, 10:09:25
VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.

I learned VI way way back and it's just what I've always used, it works and unless you uninstall it almost every *nix style OS has some version of it installed by default.
Title: Re: Which text editor do you use and why?
Post by: jal on Tue, 21 March 2017, 10:37:30
VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.

If you use the Chrome browser/spyware, there's Vimium for forms. I have to use Chrome for some things at work, and Vimium's pretty nice.
Title: Re: Which text editor do you use and why?
Post by: iri on Tue, 21 March 2017, 11:10:47
VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.

If you use the Chrome browser/spyware, there's Vimium for forms. I have to use Chrome for some things at work, and Vimium's pretty nice.
Is there spyware in Chromium?
Title: Re: Which text editor do you use and why?
Post by: bmmcwhirt on Tue, 21 March 2017, 12:13:59
VIm with line numbers and Penumbra color theme. I actually find myself often wishing that the forum editor was VIm.

If you use the Chrome browser/spyware, there's Vimium for forms. I have to use Chrome for some things at work, and Vimium's pretty nice.
Is there spyware in Chromium?

Thats true for all browsers if you read the license agreement the parent company is allowed to collect anonymous browser habits and statistic. There are usually opt-outs but you can never be 100% sure, it's the nature of being online. When I'm president I will abolish licenses, companies will either sell you the software w/o ****ty ass licenses or they wont sell anything. Tear down the walls not build new ones.  ;)

Title: Re: Which text editor do you use and why?
Post by: KnightDX on Tue, 21 March 2017, 12:15:23
Notepad++ for its plugins and ease of use, as well as its syntax highlighting.
Title: Re: Which text editor do you use and why?
Post by: digi on Tue, 21 March 2017, 17:29:14
MS-DOS_Editor, works well in Windows 10.
Title: Re: Which text editor do you use and why?
Post by: riotonthebay on Wed, 22 March 2017, 09:14:04
I used to be completely Vim, but TBH VS Code has everything I could want, and the extensions for anything it doesn't have out of the box. Super lightweight, fast, cross-platform, and performs well under HiDPI on Windows (which GVim fails at hard)

Never thought I'd use a MS product, but I've actually been using VS Code with Vim mode instead of Emacs over the last week and am liking it a lot. Previously had used Emacs for ~6 years.
Title: Re: Which text editor do you use and why?
Post by: iri on Wed, 22 March 2017, 09:42:16
VS Code is nice. Its Vim modes are crap.
Title: Re: Which text editor do you use and why?
Post by: SpecTP on Wed, 22 March 2017, 15:03:09
I've been using Ultra-Edit for over a decade. fantastic for handling really big data files too. very customizable too.
Title: Re: Which text editor do you use and why?
Post by: riotonthebay on Thu, 23 March 2017, 07:58:58
VS Code is nice. Its Vim modes are crap.

You're right, but I'm not using the Vim mode for the sake of Vim emulation, just to have slightly nicer keyboard navigation. There are definitely lots of little parts of it that don't work well -- macros seem to be particularly bad. I periodically revert to Emacs just for macros and then switch back to VS Code.
Title: Re: Which text editor do you use and why?
Post by: iri on Thu, 23 March 2017, 08:55:31
Makes sense.
Title: Re: Which text editor do you use and why?
Post by: chuckdee on Thu, 23 March 2017, 11:00:28
libreoffice for most of my stuff

scrivener if it's november

Hey, another writer... cool! :)
Title: Re: Which text editor do you use and why?
Post by: iwantatrophy on Fri, 31 March 2017, 23:15:00
A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Fri, 31 March 2017, 23:33:34
You could just launch vim with the file in question straight from your CLI. Well, there are probably loads of plugins for file browsing that I'm not aware of just yet
Title: Re: Which text editor do you use and why?
Post by: rowdy on Sun, 02 April 2017, 22:21:52
A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.

I use vim to edit files in multiple directories fairly often.  I just invoke vim and pass a list of filenames (or a wildcard) on the command line, then :n to cycle through all the buffers in turn.
Title: Re: Which text editor do you use and why?
Post by: northpark on Mon, 03 April 2017, 00:42:12
Notepad++ on Windows... that alt-select functionality... O_O
Title: Re: Which text editor do you use and why?
Post by: user 18 on Mon, 03 April 2017, 01:09:04
Windows: Notepad++
Linux GUI: Geany
Linux CLI: Nano

I have fairly light requirements for a text editor. I like having auto-indent and syntax highlighting. Geany's search/replace is quite powerful compared to others I've used, which is nice.
Title: Re: Which text editor do you use and why?
Post by: drakche on Mon, 03 April 2017, 04:10:19
Long time Sublime Text user, but some months ago I switched to VS Code, and I'm really loving it.
out-of-the-box NodeJS debugger is amazing (I'm a JS developer)
Title: Re: Which text editor do you use and why?
Post by: iwantatrophy on Mon, 03 April 2017, 06:10:39
Long time Sublime Text user, but some months ago I switched to VS Code, and I'm really loving it.
out-of-the-box NodeJS debugger is amazing (I'm a JS developer)

I like VS Code too, but Sublime is very fast and it feels soo wrong using MS VS Code in Linux.
Title: Re: Which text editor do you use and why?
Post by: drakche on Mon, 03 April 2017, 06:14:39
Long time Sublime Text user, but some months ago I switched to VS Code, and I'm really loving it.
out-of-the-box NodeJS debugger is amazing (I'm a JS developer)

I like VS Code too, but Sublime is very fast and it feels soo wrong using MS VS Code in Linux.

Sublime will always be faster no matter what.
But as I upgraded my work machine, VS code feels more than enough fast.

As for using it on linux.
It was strange at first, but the features won me over. So I decided to do the unthinkable.

BTW, I'm a former C# developer, so I'm used to MS IDE's and work tools, so I got that to help me out with it.

Currently for me, it's hands down the most comfortable text editor for web development.

It has some really kick ass features.

And with the awesome plugin for syncing the settings it's perfect for me since I switch computers a lot.
Title: Re: Which text editor do you use and why?
Post by: iwantatrophy on Mon, 03 April 2017, 06:18:16

Sublime will always be faster no matter what.
But as I upgraded my work machine, VS code feels more than enough fast.

As for using it on linux.
It was strange at first, but the features won me over. So I decided to do the unthinkable.

BTW, I'm a former C# developer, so I'm used to MS IDE's and work tools, so I got that to help me out with it.

Currently for me, it's hands down the most comfortable text editor for web development.

It has some really kick ass features.

And with the awesome plugin for syncing the settings it's perfect for me since I switch computers a lot.

Hey, VS has a syncing plugin? How does it work?
Title: Re: Which text editor do you use and why?
Post by: funderburker on Mon, 03 April 2017, 06:32:48
Used Sublime Text for couple of years but have migrated to Atom. It has better package management and it's open-source so no need to worry about licenses and stuff. It's been quite nice replacement but I had to get used to it, for example, add some keymapping that I grew accustomed to in ST and that's about it.
Title: Re: Which text editor do you use and why?
Post by: Giorgio on Mon, 03 April 2017, 07:55:03
It's VIM. I use it to write prose, letters, code, wikis, todos list. I even use its shortcuts in firefox through vimfx.
I use it because it's faster and easier than all the other editors. Selecting text in normal mode is easier than having to use the mouse, or some combinations like ctrl maiusc arrow. Most of the times, if I have to write a word document, first I write the text in vim, and then I paste in office/libreoffice.
Title: Re: Which text editor do you use and why?
Post by: drakche on Mon, 03 April 2017, 08:43:44

Sublime will always be faster no matter what.
But as I upgraded my work machine, VS code feels more than enough fast.

As for using it on linux.
It was strange at first, but the features won me over. So I decided to do the unthinkable.

BTW, I'm a former C# developer, so I'm used to MS IDE's and work tools, so I got that to help me out with it.

Currently for me, it's hands down the most comfortable text editor for web development.

It has some really kick ass features.

And with the awesome plugin for syncing the settings it's perfect for me since I switch computers a lot.

Hey, VS has a syncing plugin? How does it work?

https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync


You set up a gist and it has the settings and plugins backups.

IMHO one of the most useful things to have on a text editor.
Title: Re: Which text editor do you use and why?
Post by: iwantatrophy on Mon, 03 April 2017, 09:12:40

https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync

You set up a gist and it has the settings and plugins backups.

IMHO one of the most useful things to have on a text editor.

I found something similar for Sublime. I never knew I needed this. Thanks!
https://packagecontrol.io/packages/Sync%20Settings
Title: Re: Which text editor do you use and why?
Post by: rowdy on Mon, 03 April 2017, 22:01:16
I'm a JS developer

You have my deepest sympathy.
Title: Re: Which text editor do you use and why?
Post by: robertdane101 on Tue, 04 April 2017, 01:26:48
I use android studio for programming
Ms word for writing
Title: Re: Which text editor do you use and why?
Post by: drakche on Tue, 04 April 2017, 04:04:08
I'm a JS developer

You have my deepest sympathy.

Why, JS is actually an extremely pleasant language to use.
And on top of that, and really potent language, especially if you know what are you doing.
ES6 is beyond amazing.

Mind you, I'm not talking about jQuary or already made frameworks.
I'm mostly talking about NodeJS and usage of pure vanilla JS and ES6.

Currently it's my second favorite after Pyhton.
 
And by far much better to use than PHP or Java.

I think that main problem that people have with JS is that a lot of them dive into directly, and they don't have any prior knowledge of any other proper programming language.
In my opinion, the only correct way of learning to properly use JS is to first be very proficient in a traditional back end language. It's really an language that doesn't hold your hand and on top of it, even a lousy code can work. That doesn't mean you should write a lousy code, it just mean you suck at programming. I've been programming in JS for about 5ish years, while being a programmer professionally for about 8 year. Most of the time I used either python or C# as my main language, while complimenting them with JS. And since couple of years back, I've moved to mostly NodeJS and NoSQL databases. And never felt any hindrances by using the language. On contrary, I felt hindrances using other languages and stuff missing from JS. Over the course of my professional carrier I've work on many platforms and on many languages, from desktop apps, web apps, Symbian, Android, Windows Mobile and Windows Phone and even did Mathematical programming in Mathlab and APL2, and in the end. I don't give a **** what I'm using, as long as it's not Java :D

Everything is logical in JS if you know what are you doing, but if you do 3 courses on Lynda or CodeAcademy and they you have the nerve to call yourself a JS developer... Good on you, but you're full of ****.

Rant over...

TL;DR; I kinda had to rant about people slandering JS all the time, while not knowing anything about it or how to proper utilize it. I'm not saying that you don't know, but most people in fact don't, and they're not helping by slandering it.
Title: Re: Which text editor do you use and why?
Post by: iri on Tue, 04 April 2017, 07:49:19
I'm a JS developer

You have my deepest sympathy.

Why, JS is actually an extremely pleasant language to use.

 :-X
Title: Re: Which text editor do you use and why?
Post by: davkol on Tue, 04 April 2017, 13:54:06
Everything is logical in JS if you know what are you doing
Oh dear…
Title: Re: Which text editor do you use and why?
Post by: Giorgio on Tue, 04 April 2017, 16:41:36
Could we please modify the subject?

What text editor do you use, and why is it vim?
Title: Re: Which text editor do you use and why?
Post by: dubious on Tue, 04 April 2017, 17:01:04
I use vim, because I don't totally hate babies
Title: Re: Which text editor do you use and why?
Post by: dubious on Tue, 04 April 2017, 17:09:20
"...VS Code.....Super lightweight"

Lightweight compared to what?? a full fledged Visual Studio install!?   :))
Title: Re: Which text editor do you use and why?
Post by: davkol on Tue, 04 April 2017, 17:11:59
GNU Emacs, because ELisp >>> that native abomination in Vim. Perhaps I could give Neovim a chance, but I don't see that much of a point in switching TBH.
Title: Re: Which text editor do you use and why?
Post by: iri on Tue, 04 April 2017, 17:38:49
I use vim, because I don't totally hate babies
I totally hate babies and I use Vim.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 04 April 2017, 22:21:29
I'm a JS developer

You have my deepest sympathy.

Why, JS is actually an extremely pleasant language to use.
And on top of that, and really potent language, especially if you know what are you doing.
ES6 is beyond amazing.

Mind you, I'm not talking about jQuary or already made frameworks.
I'm mostly talking about NodeJS and usage of pure vanilla JS and ES6.

Currently it's my second favorite after Pyhton.
 
And by far much better to use than PHP or Java.

I think that main problem that people have with JS is that a lot of them dive into directly, and they don't have any prior knowledge of any other proper programming language.
In my opinion, the only correct way of learning to properly use JS is to first be very proficient in a traditional back end language. It's really an language that doesn't hold your hand and on top of it, even a lousy code can work. That doesn't mean you should write a lousy code, it just mean you suck at programming. I've been programming in JS for about 5ish years, while being a programmer professionally for about 8 year. Most of the time I used either python or C# as my main language, while complimenting them with JS. And since couple of years back, I've moved to mostly NodeJS and NoSQL databases. And never felt any hindrances by using the language. On contrary, I felt hindrances using other languages and stuff missing from JS. Over the course of my professional carrier I've work on many platforms and on many languages, from desktop apps, web apps, Symbian, Android, Windows Mobile and Windows Phone and even did Mathematical programming in Mathlab and APL2, and in the end. I don't give a **** what I'm using, as long as it's not Java :D

Everything is logical in JS if you know what are you doing, but if you do 3 courses on Lynda or CodeAcademy and they you have the nerve to call yourself a JS developer... Good on you, but you're full of ****.

Rant over...

TL;DR; I kinda had to rant about people slandering JS all the time, while not knowing anything about it or how to proper utilize it. I'm not saying that you don't know, but most people in fact don't, and they're not helping by slandering it.

I tried to learn JavaScript for a couple of months last year following online courses (can't remember which) and about 4 different books.

The courses were not going in the direction I wanted (writing web components), so I tried the books.

Many of the examples in the books simply didn't work.

I did a few of the exercises, and my solutions worked, more or less, but bore almost no resemblance to the solution the book was expecting, so I probably missed the point of the exercises.

I tried going it alone and using intuition, which usually works well, but we were using an alpha framework something from Google at the time and when something broke I had no idea if it was me or the framework, which didn't help.

Not much in JavaScript seemed to make sense, not many of the changes I made to existing scripts had the expected results, and eventually I was moved off onto $ome more important $tuff.

If you've been programming professionally for 8 years, then I have probably been programming professionally since before you were born., and have forgotten more programming languages than most people have known.

My favourite is Python - it is simple, comprehensive, well supported, does almost everything out of the box and there are modules that can be installed for almost anything else, even runs under the JVM in environment where I'm not allowed to install a Python interpreter but a Java runtime is available.

Maybe one day I'll go back to JavaScript, although others in the company have already written the web components, and most of the rest of us are concentrating on migrating to Java anyway.

And I do use vim on a daily basis, and don't mind babies as long as they are somewhere else (mine has grown up a lot now and is approaching teenhood).
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Tue, 04 April 2017, 22:46:41
I'm a JS developer

You have my deepest sympathy.

Why, JS is actually an extremely pleasant language to use.
And on top of that, and really potent language, especially if you know what are you doing.
ES6 is beyond amazing.

Mind you, I'm not talking about jQuary or already made frameworks.
I'm mostly talking about NodeJS and usage of pure vanilla JS and ES6.

Currently it's my second favorite after Pyhton.
 
And by far much better to use than PHP or Java.

I think that main problem that people have with JS is that a lot of them dive into directly, and they don't have any prior knowledge of any other proper programming language.
In my opinion, the only correct way of learning to properly use JS is to first be very proficient in a traditional back end language. It's really an language that doesn't hold your hand and on top of it, even a lousy code can work. That doesn't mean you should write a lousy code, it just mean you suck at programming. I've been programming in JS for about 5ish years, while being a programmer professionally for about 8 year. Most of the time I used either python or C# as my main language, while complimenting them with JS. And since couple of years back, I've moved to mostly NodeJS and NoSQL databases. And never felt any hindrances by using the language. On contrary, I felt hindrances using other languages and stuff missing from JS. Over the course of my professional carrier I've work on many platforms and on many languages, from desktop apps, web apps, Symbian, Android, Windows Mobile and Windows Phone and even did Mathematical programming in Mathlab and APL2, and in the end. I don't give a **** what I'm using, as long as it's not Java :D

Everything is logical in JS if you know what are you doing, but if you do 3 courses on Lynda or CodeAcademy and they you have the nerve to call yourself a JS developer... Good on you, but you're full of ****.

Rant over...

TL;DR; I kinda had to rant about people slandering JS all the time, while not knowing anything about it or how to proper utilize it. I'm not saying that you don't know, but most people in fact don't, and they're not helping by slandering it.

I tried to learn JavaScript for a couple of months last year following online courses (can't remember which) and about 4 different books.

The courses were not going in the direction I wanted (writing web components), so I tried the books.

Many of the examples in the books simply didn't work.

I did a few of the exercises, and my solutions worked, more or less, but bore almost no resemblance to the solution the book was expecting, so I probably missed the point of the exercises.

I tried going it alone and using intuition, which usually works well, but we were using an alpha framework something from Google at the time and when something broke I had no idea if it was me or the framework, which didn't help.

Not much in JavaScript seemed to make sense, not many of the changes I made to existing scripts had the expected results, and eventually I was moved off onto $ome more important $tuff.

If you've been programming professionally for 8 years, then I have probably been programming professionally since before you were born., and have forgotten more programming languages than most people have known.

My favourite is Python - it is simple, comprehensive, well supported, does almost everything out of the box and there are modules that can be installed for almost anything else, even runs under the JVM in environment where I'm not allowed to install a Python interpreter but a Java runtime is available.

Maybe one day I'll go back to JavaScript, although others in the company have already written the web components, and most of the rest of us are concentrating on migrating to Java anyway.

And I do use vim on a daily basis, and don't mind babies as long as they are somewhere else (mine has grown up a lot now and is approaching teenhood).

Awesome. I'm literally on day 21 of a Python learning experiment. Python must be a good choice. Currently using Geany as I pool resources to help with the first VIM configuration.
Title: Re: Which text editor do you use and why?
Post by: lolbitter on Tue, 04 April 2017, 23:26:44
Vim and python for me too. I guess vim bindings felt relatively reasonable to learn, although this thread made me think maybe emacs wouldnt be so bad to revisit
Title: Re: Which text editor do you use and why?
Post by: Jhors2 on Sun, 09 April 2017, 14:49:40
Lately I've been using Atom.  I write a lot of go and the extra extensions for auto formatting and import make my life a lot easier.
Title: Re: Which text editor do you use and why?
Post by: vim_commando on Sun, 09 April 2017, 15:06:40
I think it goes without saying for me: Vim.

A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.

Absolutely, I use a plugin called NERDTRee https://github.com/scrooloose/nerdtree (https://github.com/scrooloose/nerdtree) and it works wonders for projects with lots of subdirectories. You can recursively open directories and quickly search by filename just like any other buffer.

[attach=1]

In Vim (not plain Vi) there is some basic file browsing built in as well. Just use "e ." (edit current directory) to open it. You can use CTRL+O like a "back" button to reopen your previous file too.
Title: Re: Which text editor do you use and why?
Post by: profanum429 on Tue, 11 April 2017, 16:12:10
Vim when using a Linux or BSD system; Notepad++ in Windows.

I'll also end up using the editor provided by an IDE depending on the platform; like for developing ARM software I'll usually be using either the Keil uVision IDE or Segger Embedded Studio (depending on the tools I'm using).
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Sat, 15 April 2017, 02:46:16
I think it goes without saying for me: Vim.

A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.

Absolutely, I use a plugin called NERDTRee https://github.com/scrooloose/nerdtree (https://github.com/scrooloose/nerdtree) and it works wonders for projects with lots of subdirectories. You can recursively open directories and quickly search by filename just like any other buffer.

(Attachment Link)

In Vim (not plain Vi) there is some basic file browsing built in as well. Just use "e ." (edit current directory) to open it. You can use CTRL+O like a "back" button to reopen your previous file too.

I found that Ranger works really well with vim. Super fast and deadly
Title: Re: Which text editor do you use and why?
Post by: iri on Sat, 15 April 2017, 06:24:08
Deadly?
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Sat, 15 April 2017, 11:19:30
Deadly?

... a file browser that takes vi/vim commands tho. Sometimes I forget how serious this stuff is to some people.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 15 April 2017, 17:01:37
I think it goes without saying for me: Vim.

A genuine question : is Vim like editor really viable for those who have to work on files in multiple directories? It seems way easier for me to use a GUI to browse and open the file rather than type :b and browse to the file manually.

Absolutely, I use a plugin called NERDTRee https://github.com/scrooloose/nerdtree (https://github.com/scrooloose/nerdtree) and it works wonders for projects with lots of subdirectories. You can recursively open directories and quickly search by filename just like any other buffer.

(Attachment Link)

In Vim (not plain Vi) there is some basic file browsing built in as well. Just use "e ." (edit current directory) to open it. You can use CTRL+O like a "back" button to reopen your previous file too.

NERDtree is awesome, although fuzzy file finders are also great, like CtrlP:

https://github.com/kien/ctrlp.vim (https://github.com/kien/ctrlp.vim)
Title: Re: Which text editor do you use and why?
Post by: rasmusx on Fri, 05 May 2017, 15:56:56
Using Vim for over 5 years. Recently switches to nvim :)

Like it because of the modal editing mode. Now using it in browser also through chrome extension.
Title: Re: Which text editor do you use and why?
Post by: SBJ on Sat, 06 May 2017, 05:00:33
On Linux: nano, as I'm usually on through ssh.
On Win: just your standard notepad. Or notepad+ if I'm feelin' fancy.
Title: Re: Which text editor do you use and why?
Post by: robertdane101 on Wed, 17 May 2017, 05:36:46
MS Word for Normal work
Sometimes wordpad
Title: Re: Which text editor do you use and why?
Post by: fine_italian_leather on Wed, 17 May 2017, 06:51:52
PhpStorm and Vim.
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Fri, 19 May 2017, 01:10:56
I recently came across a page about Elastic Tabstops (http://nickgravgaard.com/elastic-tabstops/). There are plugins for a whole slew of text editors.
At first glance, the idea looks really tempting - I see potential for not having to fidget so much with the code I write to make it pretty but I can see how it could be problematic when having to deal with code/users that do not use it.

Are you using it? What do you think of it? Could the idea be improved somehow?
Title: Re: Which text editor do you use and why?
Post by: Entropia on Fri, 19 May 2017, 05:03:41
I've been using Ultraedit for many years. Now, thanks to this thread, I've discovered Sublime Text 3 and I've installed it and configured it in all my computers. It's fantastic.
Title: Re: Which text editor do you use and why?
Post by: user 18 on Fri, 19 May 2017, 18:24:00
I recently came across a page about Elastic Tabstops (http://nickgravgaard.com/elastic-tabstops/). There are plugins for a whole slew of text editors.
At first glance, the idea looks really tempting - I see potential for not having to fidget so much with the code I write to make it pretty but I can see how it could be problematic when having to deal with code/users that do not use it.

Are you using it? What do you think of it? Could the idea be improved somehow?

No plugin for my preferred editor (Geany).

In terms of making things less problematic for collaborators, it might be nice to combine the alignment properties of the elastic tabstops with some sort of space:tab ratio like in a lot of editors right now, moving whole blocks/columns to the next predefined stop (I like every 4 spaces). If I'm interpreting the page correctly, I think this is similar to how Sublime handles the idea right now?

That's a little against the stated philosophy, but I think it improves the portability aspect a lot.
Title: Re: Which text editor do you use and why?
Post by: riktors on Fri, 02 June 2017, 22:59:32
VIM4Life

Seriously though I started with vi/vim because I started as a UNIX admin 16 years ago and that is guaranteed to be everywhere. HP-UX, Solaris, Linux, AIX, BSD etc.

At this point I can't imagine anything replacing it for me.
Title: Re: Which text editor do you use and why?
Post by: asianboy30354 on Sat, 08 July 2017, 20:56:43
sublime for me, just so clean imo
Title: Re: Which text editor do you use and why?
Post by: Darksair on Tue, 11 July 2017, 19:43:34
10 year Emacs user here.

Because there's no way I can migrate my ~200K of configuration to any other editor…  And since no other editor are configured with Lisp, I don't want to…  :p
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 11 July 2017, 21:41:11
10 year Emacs user here.

Because there's no way I can migrate my ~200K of configuration to any other editor…  And since no other editor are configured with Lisp, I don't want to…  :p

That's a lot of configuration :eek:

Does it take long to start up?
Title: Re: Which text editor do you use and why?
Post by: nmur on Tue, 11 July 2017, 22:39:16
last time i posted in this thread i said i wanted to try vscode

i've been using it at work for the last 3-4 months, and i'm loving it. very customisable and its development is very active

i urge you guys to give it a try. there are apparently pretty good vim extensions available if you can't live without it
Title: Re: Which text editor do you use and why?
Post by: dodgeyhack on Wed, 12 July 2017, 00:20:39
vim, gVim, MacVim.
Firstly because I can do so much without moving my hands very much.
Secondly it's fun. It's like regularly getting new toys as you learn more and more tricks.
My favourite plugins are:
* Tagbar
* NERDTree
* CtrlP
Title: Re: Which text editor do you use and why?
Post by: Darksair on Wed, 12 July 2017, 02:09:59
10 year Emacs user here.

Because there's no way I can migrate my ~200K of configuration to any other editor…  And since no other editor are configured with Lisp, I don't want to…  :p

That's a lot of configuration :eek:

Does it take long to start up?

Unlike Vim, you can pretty much use Emacs as a notepad right from the start.  And you can build up your configs over time.  Nowadays Emacs has become much more "user-friendly" than the version 21 days; packages are quite easy to install and config.  In fact if you use the built-in package manager usually you don't need to do any configuration.  In this sense it's very similar to Atom, VS Code, and the like.  So yea, now it's a good time to start and it shouldn't take you very long to install some essential (and modern) packages (magit, company, and helm come to mind) and enjoy the experience.
Title: Re: Which text editor do you use and why?
Post by: iri on Wed, 12 July 2017, 04:26:08
there are apparently pretty good vim extensions available
Not a single one.
Title: Re: Which text editor do you use and why?
Post by: seva1385 on Sat, 15 July 2017, 13:29:33
20-years of VIMming. Best part of it is regular expression support. Macros come in handy often; for example, I can calculate total of Amazon promotional charges using VIM (loading statement in the editor and doing a bit of context-replacement, macroing, and scripting). I sometimes process millions of lines of text at a time in this manner, though sed is a better tool for such bulk work. Yes, configuration  script of VIM  does not deserve to be called a language; most of the time, however, you only need to write couple of lines in it.

Prior to that, I tried to love Emacs, which, they joked, stands for "Eight Megs And Constant Swapping", back in the day when eight megs was a lot of memory.
Title: Re: Which text editor do you use and why?
Post by: malthusthomas on Thu, 20 July 2017, 20:51:24
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Thu, 20 July 2017, 21:48:45
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.

For anyone following this, TextWrangler has been put out to pasture, and BBEdit (by the same company) now has a free mode with otherwise pretty much equivalent functionality.
Title: Re: Which text editor do you use and why?
Post by: malthusthomas on Thu, 20 July 2017, 22:40:57
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.

For anyone following this, TextWrangler has been put out to pasture, and BBEdit (by the same company) now has a free mode with otherwise pretty much equivalent functionality.

Jeez, I wonder how I missed that development.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Sat, 22 July 2017, 03:30:38
On Mac OS X I was using TextWrangler, mainly for working with raw data. I only wrote code within the editors contained in Stata and R Studio. Since I've migrated to Ubuntu I've been using Atom to write my code for Stata and R (and learning a little html, css, and js). For any document creation I use TeXstudio, though I see Atom has a package for TeX and I might check that out at some point.

For anyone following this, TextWrangler has been put out to pasture, and BBEdit (by the same company) now has a free mode with otherwise pretty much equivalent functionality.

Jeez, I wonder how I missed that development.

I think I probably saw an article on a tech website somewhere.  I pondered sticking with TextWrangler - it still works - but decided to cross-grade to BBEdit.  Once the trial period passed, for all intents and purposes it is identical to TextWrangler for my purposes.
Title: Re: Which text editor do you use and why?
Post by: ojrask on Mon, 31 July 2017, 15:45:07
Notepad++ on Windows. Vim or Gedit on Ubuntu. Vim when I'm already in a terminal and Gedit when I open stuff for just reading or putting notes about something.

I'm not a hardcore Vim user (I don't even have a .vimrc file), but especially with tmux it is nice once you learn the basics. I should start learning a bit more about configuring and extending it though.
Title: Re: Which text editor do you use and why?
Post by: Sylvester on Tue, 01 August 2017, 02:11:22
sublime.
Title: Re: Which text editor do you use and why?
Post by: wylie on Wed, 16 August 2017, 02:48:41
sublime.<vim movement command>
Title: Re: Which text editor do you use and why?
Post by: iri on Thu, 17 August 2017, 02:49:37
sublime.<vim movement command>
SVim<esc>
Title: Re: Which text editor do you use and why?
Post by: yuppie on Thu, 17 August 2017, 17:29:56
Vim.

It's in the terminal, where I spend half my time, I memorized the commands I use most frequently. Plenty of plugins. Easy.
Title: Re: Which text editor do you use and why?
Post by: fleischverpackung on Fri, 18 August 2017, 11:55:05
I like the dark theme from visual studio
Title: Re: Which text editor do you use and why?
Post by: Millsoncapo on Fri, 29 September 2017, 12:52:27
Sublime  +1
Title: Re: Which text editor do you use and why?
Post by: rowdy on Mon, 02 October 2017, 20:59:10
Don't forget the "... and why" bit!
Title: Re: Which text editor do you use and why?
Post by: SJHL on Tue, 03 October 2017, 11:17:07
Been using VIM at work. Confusing as heck in the beginning but after awhile, it isn't bad at all.
Title: Re: Which text editor do you use and why?
Post by: Landcaps on Fri, 06 October 2017, 01:24:53
Sublime user here. very user friendly and great ui
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 07 October 2017, 12:50:24
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 07 October 2017, 12:50:48
I use emacs because of the support for R through ESS mode.

I also like org mode, and the ability to use shells in buffers, and it has nice support for Clojure which I want to learn.

I also like how I can remap keys in init.el.

R in vim is far from perfect... VIM needs a proper REPL implementation. Perhaps neovim sometimes.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 07 October 2017, 12:53:37
Vim. All the thrusting way.

The first time I log on to a server or environment that's new to me I do:

inoremap kj <Esc>
inoremap jk <Esc>
nnoremap <Space> i

And that's about what I need from vanilla vim.

I use it literally for everything... prose, latex, python, html, js, css, yaml, rest, json, c, cpp, config, whatever.

But I must say seeing elisp made me hungry for more...

I really HATE vim in terms of consistency in the UI. Every plugin does things differently. It's a mess. For instance, I work in windows, and I have 3 monitors. I want vim to open every buffer in or below current window, not at the bottom of the whole effing screen. Why can't this be done? Can this be done in emacs?
Title: Re: Which text editor do you use and why?
Post by: Zobeid Zuma on Sat, 07 October 2017, 13:20:23
TextWrangler on the Mac, because it's free and familiar.

Pluma on Ubuntu MATE, because it came with the distro.

Do not understand why anybody today would willingly use CLI-based editors like vim or emacs.  From where I sit, those relics from 1970s mainframe environments have been obsolete since about 1985 or so.  More than thirty years later, it seems like a lot of people still haven't got the memo.
Title: Re: Which text editor do you use and why?
Post by: joey on Sat, 07 October 2017, 13:23:22
TextWrangler on the Mac, because it's free and familiar.

Pluma on Ubuntu MATE, because it came with the distro.

Do not understand why anybody today would willingly use CLI-based editors like vim or emacs.  From where I sit, those relics from 1970s mainframe environments have been obsolete since about 1985 or so.  More than thirty years later, it seems like a lot of people still haven't got the memo.
Because they work well for us :thumb:
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Sat, 07 October 2017, 14:10:59
I like the way that when I encounter a text file in command-line mode, I can get edit it quickly right then and there and then get back to the command line.
Works over SSH as well without having to set up X forwarding.

Earlier this year, I did a pre-study to see how difficult it would be to write my own text editor. I found that you can actually write a text editor in text mode that uses the regular Mac/Windows/Amiga/GNOME/KDE conventions that are used in GUI programs. It could use Shift-<Arrow> to select, and Ctrl+X,C,V shortcuts etc.
It could also take mouse input for controlling menus, and in a modern terminal that supports Unicode, you could do some pretty but basic frames, scrollbars, menus and status bars.
The only real limit that I came across was that text-mode programs can't take Ctrl+Shift+<letter> shortcuts.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 07 October 2017, 14:25:34
I like the way that when I encounter a text file in command-line mode, I can get edit it quickly right then and there and then get back to the command line.
Works over SSH as well without having to set up X forwarding.

Earlier this year, I did a pre-study to see how difficult it would be to write my own text editor. I found that you can actually write a text editor in text mode that uses the regular Mac/Windows/Amiga/GNOME/KDE conventions that are used in GUI programs. It could use Shift-<Arrow> to select, and Ctrl+X,C,V shortcuts etc.
It could also take mouse input for controlling menus, and in a modern terminal that supports Unicode, you could do some pretty but basic frames, scrollbars, menus and status bars.
The only real limit that I came across was that text-mode programs can't take Ctrl+Shift+<letter> shortcuts.

That's really interesting. What programming language did you use?
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Sat, 07 October 2017, 14:54:10
What programming language did you use?
The programming language does not matter much as long as you can input and output ANSI codes, and Unicode if supported by the current locale. If you write in C (or a derivative), there is the widely supported ncurses library which has abstractions around ANSI codes and can manage a character buffer for full-screen programs.

I wanted to use Rust, as an exercise to learn it but I could not get Rust to work under 32-bit x86 Linux, so I wrote C++.
Title: Re: Which text editor do you use and why?
Post by: joey on Sat, 07 October 2017, 14:56:11
I wanted to use Rust, as an exercise for learning it but I could not get Rust to work under 32-bit x86 Linux.
Why did you need to?

I wrote a ****ty editor in rust. It was ****ty.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sat, 07 October 2017, 15:43:54
What programming language did you use?
The programming language does not matter much as long as you can input and output ANSI codes, and Unicode if supported by the current locale. If you write in C (or a derivative), there is the widely supported ncurses library which has abstractions around ANSI codes and can manage a character buffer for full-screen programs.

I wanted to use Rust, as an exercise to learn it but I could not get Rust to work under 32-bit x86 Linux, so I wrote C++.

But what about UTF-8? Isn't that a ***** in C/C++? Or are there good libraries for that now? Sorry, I'm not an C/C++ expert (I wish I were).
Title: Re: Which text editor do you use and why?
Post by: iri on Sat, 07 October 2017, 16:26:08
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
Yes you are. Install evil-mode and achieve satori.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sun, 08 October 2017, 05:37:59
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?
Yes you are. Install evil-mode and achieve satori.

[attachimg=1]
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Sun, 08 October 2017, 06:31:30
But what about UTF-8? Isn't that a ***** in C/C++? Or are there good libraries for that now? Sorry, I'm not an C/C++ expert (I wish I were).
That depends on what tradeoffs you have... Unicode and utf-8 is a standard but not particularly user-friendly or safe.
If all you want to do is support European languages in a character set that the current user has set up in his environment -- and allow that to be utf-8 -- then you can do that with libc: the easiest thing is to setlocale() to make the C library redirect to functions for the current character set; Then convert to/from wchar_t when loading and saving - with internal buffers in 32-bit wchar_t.
If you want to correctly handle right-to-left language text (Hebrew, Arabic), you will have to use an external library to move letters around and you can create a real mess for yourself. Right-to-left text could be confusing in a programmer's text editor though.

There are a bunch of other libraries for C++ that handle utf-8 and Unicode wchar_t in various ways. There is rudimentary utf-8 support in later version of C++ and more in Boost (which is almost standard).
However, I wanted my editor to be binary-safe (https://en.wikipedia.org/wiki/Binary-safe) (with the exception of really long lines) and to validate utf-8 and highlight incorrect/unsafe utf-8 sequences. I did not find any library that did that so I wrote my own. I have not got much further than that though.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Sun, 08 October 2017, 06:42:23
But what about UTF-8? Isn't that a ***** in C/C++? Or are there good libraries for that now? Sorry, I'm not an C/C++ expert (I wish I were).
That depends on what tradeoffs you have... Unicode and utf-8 is a standard but not particularly user-friendly or safe.
If all you want to do is support European languages in a character set that the current user has set up in his environment -- and allow that to be utf-8 -- then you can do that with libc: the easiest thing is to setlocale() to make the C library redirect to functions for the current character set; Then convert to/from wchar_t when loading and saving - with internal buffers in 32-bit wchar_t.
If you want to correctly handle right-to-left language text (Hebrew, Arabic), you will have to use an external library to move letters around and you can create a real mess for yourself. Right-to-left text could be confusing in a programmer's text editor though.

There are a bunch of other libraries for C++ that handle utf-8 and Unicode wchar_t in various ways. There is rudimentary utf-8 support in later version of C++ and more in Boost (which is almost standard).
However, I wanted my editor to be binary-safe (https://en.wikipedia.org/wiki/Binary-safe) (with the exception of really long lines) and to validate utf-8 and highlight incorrect/unsafe utf-8 sequences. I did not find any library that did that so I wrote my own. I have not got much further than that though.

Interesting. I still don't grasp the basics of UTF-8, I think that they actually should've provided a very clean interface to dealing with UTF-8. Every programming language deals with it differently. My brain still explodes when I have to deal with it in python, for instance, even though people say "it is easy". Try reading multiple files in ISO-8859-1, UTF-8, and MacRoman. Try to combine them, and then write to disk again. Code becomes messy when you try to deal with it. I still haven't found a clean way to do it properly.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Sun, 08 October 2017, 20:58:47
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?

I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.

emacs was too clunky, commands too awkward, far too steep learning curve.  I can't remember how I learned vi, but I seem to recall always liking simple editors like that.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Mon, 09 October 2017, 13:21:39
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?

I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.

emacs was too clunky, commands too awkward, far too steep learning curve.  I can't remember how I learned vi, but I seem to recall always liking simple editors like that.

Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Mon, 09 October 2017, 20:58:57
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?

I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.

emacs was too clunky, commands too awkward, far too steep learning curve.  I can't remember how I learned vi, but I seem to recall always liking simple editors like that.

Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.

I've used a lot of odd editors over the years, including TDP, sol and ne.

sol had a feature where you could type a double-quote (iirc) and it would copy the character on the line above the cursor into the current line.  Hours (well, many minutes) were spent in idle contemplation with the " key presed down copying character after character, line after line.

I have not found another editor with the same command ...

... until today, where I accidentally pressed some keys in Eclipse and it copied the current line, which is close enough.

Turns out it was Option-Command-down arrow (on Mac).

Spent a good few minutes copying lines and giggline :D
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Tue, 10 October 2017, 17:36:25
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?

I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.

emacs was too clunky, commands too awkward, far too steep learning curve.  I can't remember how I learned vi, but I seem to recall always liking simple editors like that.

Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.

I've used a lot of odd editors over the years, including TDP, sol and ne.

sol had a feature where you could type a double-quote (iirc) and it would copy the character on the line above the cursor into the current line.  Hours (well, many minutes) were spent in idle contemplation with the " key presed down copying character after character, line after line.

I have not found another editor with the same command ...

... until today, where I accidentally pressed some keys in Eclipse and it copied the current line, which is close enough.

Turns out it was Option-Command-down arrow (on Mac).

Spent a good few minutes copying lines and giggline :D

I guess you could do that in vim or emacs. Get cursor position, get character at that line from line above, and paste character on current line.

But really.. what is the purpose of literally copying one character? It is an interesting feature... I've never heard such a thing.
Title: Re: Which text editor do you use and why?
Post by: ErgoMacros on Tue, 10 October 2017, 19:24:34
I'd assume you hold down the "copy key" and it would repeat parts of the above line until you released it.

Selective copy from previous line. (I've never seen it either.)
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 10 October 2017, 20:48:08
Emacs user here for nearly 17 years now, Spacemacs user for about a year and a half. I'm an Emacs user, because it is the most powerful, most customisable thing, ever. It's not just a text editor, it is an IDE, an IRC client, an Email and RSS feed reader, a music player, and whatever else you can imagine. I live inside Emacs. The only thing I do outside of it, is browsing.

This way, I have all the familiar key bindings, and the full power of Emacs at my fingertips, no matter what I do. It is consistent, powerful, and doesn't care that I have thousands of buffers open. Being able to reach everything, from anywhere, pretty much effortlessly, is an incredible boost to both productivity, and comfort.

Honest question. I type vim commands in my sleep, been using it for 15 years. But I am looking toward switching to emacs because of consistency in everything and the increased power. What are the benefits in your opinion? But more importantly. How Do I Switch From Vim. I tried reading emacs manual, tried to "simulate" vim as much as possible. Or am I doing it wrong?

I tried switching from various vi clones (including Vim) to various versions of emacs several times, but always came back to vi.

emacs was too clunky, commands too awkward, far too steep learning curve.  I can't remember how I learned vi, but I seem to recall always liking simple editors like that.

Yeah, I have the same experience. But then, in the beginning with vim I was like "where is the just type stuff in mode gone? why doesn't text appear?" So I would be up to a period of not knowing what to do until I do. But so far, I couldn't get past that point.

I've used a lot of odd editors over the years, including TDP, sol and ne.

sol had a feature where you could type a double-quote (iirc) and it would copy the character on the line above the cursor into the current line.  Hours (well, many minutes) were spent in idle contemplation with the " key presed down copying character after character, line after line.

I have not found another editor with the same command ...

... until today, where I accidentally pressed some keys in Eclipse and it copied the current line, which is close enough.

Turns out it was Option-Command-down arrow (on Mac).

Spent a good few minutes copying lines and giggline :D

I guess you could do that in vim or emacs. Get cursor position, get character at that line from line above, and paste character on current line.

But really.. what is the purpose of literally copying one character? It is an interesting feature... I've never heard such a thing.

Not copy/paste - that requires two operations and moving the cursor around between.  This is just one keypress (well, a combination of 3 keys pressed at the same time).

I did it again today twice, but deliberately this time.

Strange how useful that is.
Title: Re: Which text editor do you use and why?
Post by: Prothrin on Thu, 12 October 2017, 05:04:25
Sublime Text for sure. VS Code, Atom, and Brackets are also good alternatives.
Title: Re: Which text editor do you use and why?
Post by: TacticalCoder on Sun, 15 October 2017, 09:59:37
Did you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?

What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?

You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.

It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.

I never ever demo'ed in real-life to someone who then didn't make the switch:

The only thing to remember is "keep you eyes looking at where you want to move the cursor to".  Two minutes explanation/demo from an Emacs guru:



P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )
Title: Re: Which text editor do you use and why?
Post by: iri on Mon, 16 October 2017, 05:45:21
Newest versions of easy-motion require the user to press Leader key twice :(
Title: Re: Which text editor do you use and why?
Post by: joey on Mon, 16 October 2017, 06:09:39

Fine.. I'll give easymotion a go.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Mon, 16 October 2017, 06:54:31
Did you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?

What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?

You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.

It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.

I never ever demo'ed in real-life to someone who then didn't make the switch:

The only thing to remember is "keep you eyes looking at where you want to move the cursor to".  Two minutes explanation/demo from an Emacs guru:



P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )

I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.

It would be better if there was a plugin that allows you to go down/up 10..50%...70%, with predetermined keys, and then a visual indication where it would bring you, perhaps attached to beginnings of words / sentences / paragraphs / code blocks.
Title: Re: Which text editor do you use and why?
Post by: iri on Mon, 16 October 2017, 16:08:16
Did you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?

What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?

You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.

It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.

I never ever demo'ed in real-life to someone who then didn't make the switch:

The only thing to remember is "keep you eyes looking at where you want to move the cursor to".  Two minutes explanation/demo from an Emacs guru:



P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )

I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.

It would be better if there was a plugin that allows you to go down/up 10..50%...70%, with predetermined keys, and then a visual indication where it would bring you, perhaps attached to beginnings of words / sentences / paragraphs / code blocks.
H L M
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Tue, 17 October 2017, 06:11:35
Did you guys (at least for those who know how to type without looking at the keyboard, which I take is all of you but here it's a requirement: you cannot use that feature without touch-typing) ever seen vim's "easy motion" or emacs' "ace-jump-mode" or "avy" in action?

What if I tell you it's the biggest single efficiency boost you'll ever get for "moving the cursor around" and "jumping to a character visually on screen"?

You can basically jump to any visible character on screen in "shortcut + 2 or 3 keypress": shortcut to invoke "easy motion" or "ace-jump/avy" (or the equivalent in your editor), keypress the character you want to jump to do, then either one or two keypresses depending on how many times that character appears on screen.

It's the one shortcut I use the most. I use it all the time. Nothing beats that, nothing comes even close to it.

I never ever demo'ed in real-life to someone who then didn't make the switch:

The only thing to remember is "keep you eyes looking at where you want to move the cursor to".  Two minutes explanation/demo from an Emacs guru:



P.S: as it is the most efficient way of moving the cursor around on screen, it was of course invented by some vim user ; )

I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.

It would be better if there was a plugin that allows you to go down/up 10..50%...70%, with predetermined keys, and then a visual indication where it would bring you, perhaps attached to beginnings of words / sentences / paragraphs / code blocks.
H L M

Wass sagen Sie?
Title: Re: Which text editor do you use and why?
Post by: iri on Tue, 17 October 2017, 06:40:41
Ctrl+d - move down half a page
Ctrl+u - move up half a page
H - Jump to the top of the screen.
M - Jump to the middle of the screen.
L - Jump to the bottom of the screen.
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Tue, 17 October 2017, 07:08:47
I have noticed that page up/page down behaviour differs a lot between text-mode editors, and sometimes between GUI-based editors as well.

On şe olde Amiga, the style guide mandated that the cursor would first jump to the top/bottom of the screen (unless already there) and then scroll a page on a second press -- you have the functionality of H and L in vi but not the same behaviour.
Most GUI-based editors on Windows (and now on Unix/Linux) scroll the window while keeping the cursor position on the same screen position.

Emacs has the weirdest behaviour: if you press Page Down, the window scrolls down and the cursor is moved to the top, but if you then press Page Up, the window scrolls one page up (minus one line) but the cursor is at the bottom: it stayed put on the same line! In other words, page up/down moves the window and the cursor follows instead of the other way around.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Tue, 17 October 2017, 07:11:15
Ctrl+d - move down half a page
Ctrl+u - move up half a page
H - Jump to the top of the screen.
M - Jump to the middle of the screen.
L - Jump to the bottom of the screen.

Oh yeah, true.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Tue, 17 October 2017, 07:12:32
I have noticed that page up/page down behaviour differs a lot between text-mode editors, and sometimes between GUI-based editors as well.

On şe olde Amiga, the style guide mandated that the cursor would first jump to the top/bottom of the screen (unless already there) and then scroll a page on a second press -- you have the functionality of H and L in vi but not the same behaviour.
Most GUI-based editors on Windows (and now on Unix/Linux) scroll the window while keeping the cursor position on the same screen position.
Emacs has the weirdest behaviour: if you press Page Down, the window scrolls down and the cursor is moved to the top, but if you then press Page Up, the window scrolls one page up but the cursor says put on the same line!

In vim, I configured it so that the cursor will stay put 10 lines before begin/end of the current viewport, so that the next 10 lines are always the last 10 lines, so that I know where I am in the text.

Some editors literally scroll a whole viewport down/above, which is confusing for me.
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Tue, 17 October 2017, 13:48:29
Some editors literally scroll a whole viewport down/above, which is confusing for me.
I'm sorry, I omitted that most editors scroll at least one line less than a whole viewport. Sometimes, the "top of the viewport" is one or more lines down and if you then press up the cursor will not reach the top of the viewport unless it is at the top of the document. But as many as 10 lines is a bit unusual...

There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 17 October 2017, 20:54:34
I use BBEdit on Mac now since TextWrangler was discontinued.

BBEdit 12 was recently released, with a default dark theme.

I kinda like dark themes, so this sits well with me.
Title: Re: Which text editor do you use and why?
Post by: JohanAR on Wed, 18 October 2017, 03:45:22
I use vim because I like to keep my hands on the home row. I don't think there's a huge difference in ergonomy or productivity compared to moving one hand between the keyboard and mouse all the time but it feels more relaxing not being forced to. In addition i use i3 with movement remapped to hjkl, VimiumFF for Firefox, Vrapper for Eclipse and zsh with vim bindings so my most used applications are controlled in an (almost) uniform way. I also use less a lot and that also has vim-like controls.

More precisely it's neovim because I read that it was better than regular vim and I use SpaceVim to get lots of nice plugins and stuff without having to dig too deep into that myself
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Wed, 18 October 2017, 14:29:04
Some editors literally scroll a whole viewport down/above, which is confusing for me.
I'm sorry, I omitted that most editors scroll at least one line less than a whole viewport. Sometimes, the "top of the viewport" is one or more lines down and if you then press up the cursor will not reach the top of the viewport unless it is at the top of the document. But as many as 10 lines is a bit unusual...

There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.

Such a line would be great to have in vim. mmm...
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Wed, 18 October 2017, 14:29:35
I use BBEdit on Mac now since TextWrangler was discontinued.

BBEdit 12 was recently released, with a default dark theme.

I kinda like dark themes, so this sits well with me.

I used bbedit on macos 7/8. Aahh.. the nostalgia.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Wed, 18 October 2017, 14:32:13
I use vim because I like to keep my hands on the home row. I don't think there's a huge difference in ergonomy or productivity compared to moving one hand between the keyboard and mouse all the time but it feels more relaxing not being forced to. In addition i use i3 with movement remapped to hjkl, VimiumFF for Firefox, Vrapper for Eclipse and zsh with vim bindings so my most used applications are controlled in an (almost) uniform way. I also use less a lot and that also has vim-like controls.

More precisely it's neovim because I read that it was better than regular vim and I use SpaceVim to get lots of nice plugins and stuff without having to dig too deep into that myself

Neovim is meant as a re-implementation fork of the "standard" implementation of vim by Bram Moolenaar, which the major aims to (1) ensure continuity when Bram gets hit by a bus, (2) get rid of old bloat, like "spaghetti code" to have support for legacy platforms like the Amiga, and (3) to allow concurrent and non-blocking plugins via a new messaging platform.

Neovim is not feature-complete AFAIK, but is getting there rather quickly. There are already some interesting plugins for it.

What I hope that neovim will gain in the future is a proper REPL for things like latex, R, python, and lisp.

EDIT: neovim is a fork, not a re-implementation.
Title: Re: Which text editor do you use and why?
Post by: joey on Wed, 18 October 2017, 14:37:00
neovim is not a re-implementation. It is a fork.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Wed, 18 October 2017, 14:39:52
neovim is not a re-implementation. It is a fork.

Oh yeah, I updated it. Thanks. I really thought they started from ground up, but the project also explicitly mentions "major refactoring".
Title: Re: Which text editor do you use and why?
Post by: JohanAR on Wed, 18 October 2017, 15:11:29
Neovim is meant as a re-implementation fork of the "standard" implementation of vim by Bram Moolenaar, which the major aims to (1) ensure continuity when Bram gets hit by a bus, (2) get rid of old bloat, like "spaghetti code" to have support for legacy platforms like the Amiga, and (3) to allow concurrent and non-blocking plugins via a new messaging platform.

Neovim is not feature-complete AFAIK, but is getting there rather quickly. There are already some interesting plugins for it.

What I hope that neovim will gain in the future is a proper REPL for things like latex, R, python, and lisp.

EDIT: neovim is a fork, not a re-implementation.

(2) and (3) is what I read and it sounded like an improvement to me, though I've also heard good things about Vim 8.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Wed, 18 October 2017, 15:15:34
Neovim is meant as a re-implementation fork of the "standard" implementation of vim by Bram Moolenaar, which the major aims to (1) ensure continuity when Bram gets hit by a bus, (2) get rid of old bloat, like "spaghetti code" to have support for legacy platforms like the Amiga, and (3) to allow concurrent and non-blocking plugins via a new messaging platform.

Neovim is not feature-complete AFAIK, but is getting there rather quickly. There are already some interesting plugins for it.

What I hope that neovim will gain in the future is a proper REPL for things like latex, R, python, and lisp.

EDIT: neovim is a fork, not a re-implementation.

(2) and (3) is what I read and it sounded like an improvement to me, though I've also heard good things about Vim 8.

I use vim 8, not neovim. I had some plugins break for me occassionally, so unless neovim is 100% parity with "real vim", I am not switching. Too much work to do to tolerate occassional hiccups.

I did play with neovim, and it really feels more responsive and fast. Even though original vim already feels fast, but not when you load it with plugins in my experience.
Title: Re: Which text editor do you use and why?
Post by: TacticalCoder on Wed, 18 October 2017, 20:52:10
Quote
I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.

That's how it works and it's because you very probably didn't do it correctly when you tried it:  the trick is to keep your eyes precisely on the letter you want to jump to, say a 't'. Then you invoke ace-jump/avy/easymotion and you hit 't', all the while looking precisely at the 't' you want to go to. Then you immediately type the letter that appears (temporarily) where the 't' was!




Title: Re: Which text editor do you use and why?
Post by: TacticalCoder on Wed, 18 October 2017, 21:01:00
There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.

Interesting. The Amiga explanation is great too (oh I miss those Amiga days).

Of course in Emacs everything is configurable so any behavior can be configured. For example there's even a "smooth scrolling" option that scrolls like some old editors used to do (don't remember which one but Sublime scrolls like that): basically like when you scroll up and down in a webpage... Instead of "jumping at once", the thing "scrolls": complete with progressive acceleration and deceleration. And it's not just a fake smooth-scrolling using line by line scrolling: it's moving vertically by "pixels", not whole lines. In Emacs the package is called sublimity and sublimity-scroll.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Thu, 19 October 2017, 04:15:39
Quote
I have tried to get used to it, but it doesn't work for me. Because the key you have to press changes everytime, as it uses the letters of next words / paragraphs.

That's how it works and it's because you very probably didn't do it correctly when you tried it:  the trick is to keep your eyes precisely on the letter you want to jump to, say a 't'. Then you invoke ace-jump/avy/easymotion and you hit 't', all the while looking precisely at the 't' you want to go to. Then you immediately type the letter that appears (temporarily) where the 't' was!

Hmm.. perhaps that would work better.
Title: Re: Which text editor do you use and why?
Post by: iLLucionist on Thu, 19 October 2017, 04:18:41
There are some rare programs that when you jump a "page" (which is smaller than a full page), draws a line indicating where the viewport's border was before the jump. But the line does not remain - it fades away after a second or two.

Interesting. The Amiga explanation is great too (oh I miss those Amiga days).

Of course in Emacs everything is configurable so any behavior can be configured. For example there's even a "smooth scrolling" option that scrolls like some old editors used to do (don't remember which one but Sublime scrolls like that): basically like when you scroll up and down in a webpage... Instead of "jumping at once", the thing "scrolls": complete with progressive acceleration and deceleration. And it's not just a fake smooth-scrolling using line by line scrolling: it's moving vertically by "pixels", not whole lines. In Emacs the package is called sublimity and sublimity-scroll.

See.. that's what I mean. Imagine the possibilities with emacs. And the configurability. Finally I could have open all temp buffers in or below the same window as opposed to at the bottom of the whole application window. I would be sooo happy if that was possible.

I like to do everything in and around the window I am looking at, which prevents me moving my covert focus with my eyes all the time.

Let's say I want to open another file (vim CtrlP). I create new window first, then in that window I want to load a file into a buffer and show it in that window. So I want to have fuzzy completing in that window or split up the same window area in 2/3 content and 1/3 for the temp buffer to show the fuzzy completion.

Likewise, when I do linting, I want the suggestions around the current window where I am already looking. Vim just has 1 place for temp buffer for ALL open buffers, which is below and above the statusbar / commandline. It can get very confusing if you have a large screen and 6 windows open.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Thu, 19 October 2017, 20:52:50
I use BBEdit on Mac now since TextWrangler was discontinued.

BBEdit 12 was recently released, with a default dark theme.

I kinda like dark themes, so this sits well with me.

I used bbedit on macos 7/8. Aahh.. the nostalgia.

I didn't know it has been around for that long!

When I switched to Mac at home and eventually at work I was looking for a (free) text editor similar to ConTEXT under Windows.  TextWrangler by the same company as BBEdit was the result.  Now that has been mothballed so I switched to BBEdit.

But still use vim in a terminal because it starts quicker and I can do quite a few things quicker with vim shortcuts than the sometimes-abominable cmd-opt-shift-ctrl key combinations.
Title: Re: Which text editor do you use and why?
Post by: _rubik on Tue, 07 November 2017, 22:08:49
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

(https://i.redd.it/64d7abzb65lz.jpg)

Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.
Title: Re: Which text editor do you use and why?
Post by: Altis on Wed, 08 November 2017, 15:00:56
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

The thing that keeps me away from emacs, speaking as a novice, is that it seems like it's both complicated to learn and requires a lot of setup to make it great (though that requires learning first).
Title: Re: Which text editor do you use and why?
Post by: _rubik on Wed, 08 November 2017, 15:08:06
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

The thing that keeps me away from emacs, speaking as a novice, is that it seems like it's both complicated to learn and requires a lot of setup to make it great (though that requires learning first).

I would call myself a *nix ricer, so the ability to write list to customize my editor really enticed me. I started with a tiny config, taking my few preferences into consideration. But, over the years, my config has grown and grown. The reason I recommend it to folks is that it gives you the ability to start small and slow. Sure there are a few things you have to learn; but, believe it or not, there was a time in your life where you had to learn C-c and C-v also. I wouldn't say that basic usage has a steep learning curve; instead I would say that it has a steep re-learning curve. For a lot of people that's undesirable.
Title: Re: Which text editor do you use and why?
Post by: dubious on Thu, 09 November 2017, 14:11:58
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

so VIM is still the best text editor?   ;)
Title: Re: Which text editor do you use and why?
Post by: iri on Thu, 09 November 2017, 16:58:17
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

so VIM is still the best text editor?   ;)
Of course.
Title: Re: Which text editor do you use and why?
Post by: _rubik on Thu, 09 November 2017, 17:08:18
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

so VIM is still the best text editor?   ;)
Of course.

I take "basic text editor" to mean "on the fly edits in a remote environment". I would say that emacs is beyond a basic editor. But yeah, vim is hot for some good ole' config tweaks imo.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Thu, 09 November 2017, 19:59:53
This thread was made for me. I know its been said before but... emacs 100%.  I could go on about its amazing uses, but instead I'll sum up my editors in one photo.

Show Image
(https://i.redd.it/64d7abzb65lz.jpg)


Everyone I work with thinks I'm nuts, and should switch to Sublime to net beans/jet brains/or whatever...  but I couldn't imagine developing outside of my emacs config.

so VIM is still the best text editor?   ;)
Of course.

I take "basic text editor" to mean "on the fly edits in a remote environment". I would say that emacs is beyond a basic editor. But yeah, vim is hot for some good ole' config tweaks imo.

Emacs can still be used as a basic text editor.

But Vim is usually installed on more out-of-the-box systems than emacs.
Title: Re: Which text editor do you use and why?
Post by: no, the other guy on Sun, 05 August 2018, 13:15:41
I used a lot of text editors over time, including EditPad Lite, GVim and Notepad++. As I am currently owning a couple of Unix, BSD and Windows machines and one Linux laptop, I try to keep the overhead low though, so I have mostly settled to what works everywhere:


There is nothing else to do with a text editor for me.
Title: Re: Which text editor do you use and why?
Post by: haanuman on Sun, 02 September 2018, 12:15:27
Mostly Notepad++
Title: Re: Which text editor do you use and why?
Post by: Sintpinty on Mon, 04 March 2019, 11:56:57
The text editor that i use is notepad.
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Mon, 04 March 2019, 12:17:55
Recently added nerdtree to the vim folder.  I might keep this one around for a while--referencing directory structures at a glance is a nice feature
Title: Re: Which text editor do you use and why?
Post by: no, the other guy on Mon, 04 March 2019, 12:19:43
Life is too short for Vim.
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Mon, 04 March 2019, 12:31:54
Vim: It's like multiple space themed Lego sets blended into one mega set, but it's actually a basic text editor that can sometimes be a fully fledged IDE.

Instead of ordering a pizza you take a few chemistry classes to make the perfect ingredients.  Sometimes things blow up.  It's fun.
Title: Re: Which text editor do you use and why?
Post by: vegs on Tue, 05 March 2019, 04:36:11
Vim and Sublime :thumb:
Title: Re: Which text editor do you use and why?
Post by: Findecanor on Tue, 05 March 2019, 11:20:15
I use BBSubVIMe++ :P
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 05 March 2019, 20:03:30
I've been evaluating Sublime Text recently (on macOS).

It seems reasonable, but suffers the two issues that most modern editors have - an overly complex multi-step find dialog, and moving to the start of the next word actually moves to the end of the current word.

The first issue is an inconvenience, the second one throws out my auto-pilot code navigation techniques nearly every time.

Often I just open iTerm2 and start vim instead.

One day I might get around to writing my own editor.  Again.
Title: Re: Which text editor do you use and why?
Post by: dubious on Wed, 06 March 2019, 11:28:43
I've been evaluating Sublime Text recently (on macOS).

It seems reasonable, but suffers the two issues that most modern editors have - an overly complex multi-step find dialog, and moving to the start of the next word actually moves to the end of the current word.

The first issue is an inconvenience, the second one throws out my auto-pilot code navigation techniques nearly every time.

Often I just open iTerm2 and start vim instead.

One day I might get around to writing my own editor.  Again.

Have you tried the Vintage Mode plugin for Sublime? It gives you vi commands and movement. I've only used it a little bit, but worked fairly well when I tried.
Title: Re: Which text editor do you use and why?
Post by: romevi on Wed, 06 March 2019, 11:32:54
Spacemacs. Been using it for about a year now. I use it for all my note-taking for classes using Org mode, and then I used it for a bit during my Python class. It just werks.


(http://spacemacs.org/img/screenshots/ss1.png)
Title: Re: Which text editor do you use and why?
Post by: iri on Wed, 06 March 2019, 17:21:18
try/catch in imports? what the ****
Title: Re: Which text editor do you use and why?
Post by: no, the other guy on Wed, 06 March 2019, 17:22:14
Just Pythoneers being Pythoneers.
Title: Re: Which text editor do you use and why?
Post by: mkkeyboardvigilante on Fri, 08 March 2019, 18:39:30
Visual Studio Code these days, though I've enjoyed using Sublime Text in the past.

Been getting back to learning to code and all and taking some classes I've been in more seriously.
Title: Re: Which text editor do you use and why?
Post by: Flame on Sun, 10 March 2019, 12:21:15
BBEdit on Mac & Notepad++ on Windows. I use these because they are extremely easy to use and to modify code on. They have all the features I require in a text editor as well!
Title: Re: Which text editor do you use and why?
Post by: voight-kampff on Sun, 10 March 2019, 12:53:05
I use textmate. It is not opensource, but it is fast.

Sent from my MIX using Tapatalk

Title: Re: Which text editor do you use and why?
Post by: rowdy on Mon, 18 March 2019, 20:58:02
try/catch in imports? what the ****

Python 2/3 compatibility trick - try to import the Python 3 library.  if that fails, go for the Python 2 version.
Title: Re: Which text editor do you use and why?
Post by: _rubik on Wed, 03 April 2019, 21:39:05
As a long time Emacs user.... it pains me to say this, but I've fallen for the JetBrains suite (more specifically GoLand) with Vim bindings. It's feature rich but isn't in your face. It works out of the box, but lets me tweak. It's the Apple of IDEs... and I like it. They've been around a while, so I may be way behind the curve.
Title: Re: Which text editor do you use and why?
Post by: iri on Thu, 04 April 2019, 15:43:25
JetBrains are much better than Apple.
Title: Re: Which text editor do you use and why?
Post by: no, the other guy on Thu, 04 April 2019, 15:45:24
Show me the JetBrains smartphone.
Title: Re: Which text editor do you use and why?
Post by: iri on Thu, 04 April 2019, 15:50:57
I can show you my arse.
Title: Re: Which text editor do you use and why?
Post by: no, the other guy on Thu, 04 April 2019, 15:52:13
That's probably roughly similar to a hypothetical JetBrains smartphone. Including the smell.
Title: Re: Which text editor do you use and why?
Post by: rowdy on Sun, 07 April 2019, 21:59:14
I can show you my arse.

+1 for spelling it "arse" and not "ass" :D
Title: Re: Which text editor do you use and why?
Post by: 4sStylZ on Tue, 09 April 2019, 11:02:56
Sublime user here with MANY custom packages and options.

Custom fonts : Profont or Firacode (with ligatures now supported)
Color highlighter
Markdown preview synchronised with the browser
Custom extension icon on the sidebar
Linters
Custom theme made with some theme editor package
Custom keymap…

I can’t find another editor fast and customisable as Sublime for « my uses ».

Also my settings are versionned here :
https://framagit.org/4sStylZ/SublimeText3Settings

So I reinstal a desktop, I clone my settings and automaticly all the packages reinstall themselves like robots who builds some others robots…
Title: Re: Which text editor do you use and why?
Post by: Signature on Tue, 09 April 2019, 11:53:13
emacs and eclipse   :cool:
Title: Re: Which text editor do you use and why?
Post by: JP on Tue, 09 April 2019, 15:08:10
I use vi while walking uphill, both ways in the snow.  :thumb:
Title: Re: Which text editor do you use and why?
Post by: xtrafrood on Tue, 09 April 2019, 15:15:23
Everytime I use Nano to enable wifi for a new system I leave behind at least one :wq

Sometimes echo is not enough.  Am now broken
Title: Re: Which text editor do you use and why?
Post by: rowdy on Tue, 09 April 2019, 22:02:23
Losing affection for Sublime Text due to inconsistent text selection.

If I try to select a line, sometimes it selects only up to the last character instead of the whole line (move cursor to beginning of line, hold Shift, press down arrow - should select the whole line).

Also sometimes it selects, for an unknown reason, a whole block of text instead of one line.

Plus it indents things all over the place when I do not want it to.

And the find mechanism is a pain sometimes - the number of times I search for something, look in the code where the text was found (and is highlighted) and start typing, assuming the cursor is where the highlighted text is, but no, the cursor is still in the find field, so half the time the editor suddenly jumps somewhere else where it found whatever I had started typing.

Also why do most modern text editors move to the end of the current word instead of the beginning of the next word when you ctrl-rightarrow (or opt-right arrow on Mac)?  I usually end up ctrl-rightarrow (or opt-rightarrow) again, then ctrl/opt-leftarrow to go back where I wanted, which only works as expected sometimes due to varying interpretation of what constitutes a "word".

Grrr.
Title: Re: Which text editor do you use and why?
Post by: JP on Wed, 10 April 2019, 07:04:11
Actually I like nano for quick config changes but 95% of the time I am in Windows. I really like VS Code and still use Notepad++ for certain things out of habit. I even use regular MS notepad still for taking notes although I should really be using Onenote for that kind of stuff.
Title: Re: Which text editor do you use and why?
Post by: ollir_ on Mon, 29 April 2019, 13:14:06
Depends a little on what I'm doing but it's one of


Vim is great for fast little edits - config files etc. I used it for programming, but I've mostly switched to VSCode in that front now, the editor has become quite pleasant to work with and it 'just works' most of the time. For Haskell I still prefer Emacs though.