LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-11-2017, 02:44 PM   #1
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Rep: Reputation: 213Reputation: 213Reputation: 213
Good minimalist text editor?


Hello,

Let's discuss about possible good minimalist text editor?

A small editor is good for learning programming in C.

There is nano which is quite nice, but actually,there are much simpler.

Here a good one, tiny, and simple to compile.
Just a single file for a good learning experience.
https://pastebin.com/raw/smjP1xvK
 
Old 05-11-2017, 03:34 PM   #2
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
I like vi
 
Old 05-11-2017, 03:38 PM   #3
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by Laserbeak View Post
I like vi
nice. vi source code is no longer so easy to find.
 
Old 05-11-2017, 03:41 PM   #4
Laserbeak
Member
 
Registered: Jan 2017
Location: Manhattan, NYC NY
Distribution: Mac OS X, iOS, Solaris
Posts: 508

Rep: Reputation: 143Reputation: 143
Quote:
Originally Posted by Xeratul View Post
nice. vi source code is no longer so easy to find.
Here's a clone of it: http://www.vim.org/about.php
 
Old 05-11-2017, 03:57 PM   #5
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by Laserbeak View Post
Here's a clone of it: http://www.vim.org/about.php
I am not a fan of the source code of vim. Too heavy.
 
Old 05-11-2017, 04:27 PM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918Reputation: 2918
A web search for vi source code returns the following as the first result:

http://ex-vi.sourceforge.net/
 
Old 05-11-2017, 05:10 PM   #7
coralfang
Member
 
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 792
Blog Entries: 3

Rep: Reputation: 271Reputation: 271Reputation: 271
Pico (nano is a clone of this editor).

The simplest one i can think of is "ee", which you typically find on a FreeBSD system. You can get it running on Linux though. Sources are here:
https://github.com/freebsd/freebsd/t...ter/contrib/ee
 
Old 05-11-2017, 08:04 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,497
Blog Entries: 28

Rep: Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434Reputation: 5434
vim. Like vi, only improved.
 
Old 05-11-2017, 10:40 PM   #9
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
what about ed?
 
Old 05-11-2017, 11:33 PM   #10
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS
Posts: 3,683
Blog Entries: 7

Rep: Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306
I like vim.
 
Old 05-12-2017, 12:10 AM   #11
Xeratul
Senior Member
 
Registered: Jun 2006
Location: UNIX
Distribution: FreeBSD
Posts: 2,357

Original Poster
Rep: Reputation: 213Reputation: 213Reputation: 213
Quote:
Originally Posted by Timothy Miller View Post
I like vim.
what about vi? vi is the barebone and sufficiently good to be used for long.
 
Old 05-12-2017, 12:16 AM   #12
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
On the BSDs there's ee aka easy edit. Otherwise vi(m) and nano are about as light as it gets with syntax highlighting. With pico being a nano light. There's wordgrinder if you're more of a writer than a coder. And various latex things if you're more academic and need super and sub scripted characters and formulas.

Not that one "needs" a light editor with modern computers being so powerful. Except to learn how to make an editor, but many tutorials for languages start with a make an editor howto.
 
Old 05-12-2017, 12:40 AM   #13
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS
Posts: 3,683
Blog Entries: 7

Rep: Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306Reputation: 1306
Quote:
Originally Posted by Xeratul View Post
what about vi? vi is the barebone and sufficiently good to be used for long.
I don't like vi at all. Too many features missing. First thing I always do is replace vi with vim on any system. IMO, vi isn't sufficient to be used for anything other than editing .bashrc with "alias vi='vim'"
 
Old 05-12-2017, 12:57 AM   #14
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213Reputation: 5213
vi? ed? who uses text editors? real programers use cat (or a magnetized needle and a steady hand).
 
Old 05-12-2017, 07:02 AM   #15
fatmac
Senior Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Posts: 4,207

Rep: Reputation: Disabled
Try ed, ex, or ee for minimalist editors.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: What is a good text editor on Linux LXer Syndicated Linux News 0 06-11-2014 09:10 AM
[SOLVED] Java IDE or good text editor Nauntilus Programming 7 10-24-2010 12:46 PM
A good text editor...this should be simple. TheMusicGuy Linux - Software 9 10-06-2004 12:16 AM
good text editor doralsoral Linux - Software 3 02-19-2004 10:43 PM
Can anyone recommend a good text editor? MadCactus Linux - General 11 08-23-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration