Giter VIP home page Giter VIP logo

texted's Introduction

INTRODUCTION

What is TextEd?

TextEd is a simple text editor written in C, it has the basic functions and it's inspired by linux ed editor

TextEd 1.4

Install

To compile the program follow these instructions:

  1. Git the repository with git clone command:

    $ git clone https://github.com/Leonia-Tech/TextEd
  2. Change directory and compile it

    $ make DEBUG=0
  3. Install the program

    $ make install
  4. Execute the program

    $ texted [FILE] 

Note: If you don't have mpv installed some functionalities may not work as intended. The programm should still be perfectly usable, though.

Note: You must have ncurses development library (ncurses-devel) in order to compile this software

Note: You must have readline development library (readline-devel) in order to compile this software

Remove

To remove the app keep the Makefile and run: bash $ make remove

BASIC FUNCTIONALITY

In the editor

After have executed the program with the desired file name you will be into the program

Welcome in Texted - debug-version 1.4.2
your_file_name.txt > 

Here you can write commands that you can use for printing, modifying, saving the file and exit the program

Here follows a list of commands grouped by category:

Editor commands

This is a list of available commands in the editor

i:          insert mode
i: -w       saves  after exiting insert mode
esc:        exit insert mode 

NOTE: to exit the program you have to click on the esc button on your keyboard

Print commands

List of commmnads releated to print functionality

p:		print
pl:		print specified line (default = current line)
pn:		print with line numbers 
pln:	pl + pn

Use the l command to change the current line.

Save commands

List of command releated to save functionality

w:		save
x:		save and exit
b:		create backup file
q:		exit 

Word modify commands

List of commands releated to word modyfing functionality

s:		replace word (ed syntax)
m:		insert word before ... (ed syntax)
a:		insert at the end of line 
l:		set the current line

n:		add line before the current line 
d:		delete the current line

The l command must be followd by a valid line number. The space between the line number and the l command isn't necessary.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.