Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Lazy Hacker Editor

Build Status Build status

Fake code editor that writes real code (hopefully yours, probably from someone else) no matter which key you stroke.

Because nothing beats the eficiency of writing code already written.

Lazy Hacker Lazy Editor

Usage

USAGE:
    lhe [FLAGS] [OPTIONS] <FILE>...

FLAGS:
    -h, --help
            Prints help information

    -l, --highlight
            Highlight some common code characters

        --lps
            Activate line per keypress, ignores -c, --cps

    -V, --version
            Prints version information

OPTIONS:
        --color <color>
            Text color (0-7): [default: 2]

    -c, --cps <cps>
            Set chars per keypress [default: 1]

        --hcolor <hcolor>
            Highlight color (0-7): [default: 7]

ARGS:
    <FILE>...
            Files to process

Example

lhe -l -c 5 src/main.rs

Exit with ^C. I hope you know what this means, """hacker""".

Changelog

v0.1.0

  • read file
  • write a char on key down
  • ignore ESC

v0.5.0

  • read from multiple files
  • detect term resize
  • opt -V, --version
  • opt -h, --help
  • opt chars per stroke -c, --cps N
  • opt color --color
  • rudimentary code highlight (common symbols)
  • opt highlight -l, --highlight
  • opt highlight color --hcolor

v0.6.0

  • opt use line per stroke: --lps
  • control read errors
  • control Ctrl+C clean exit

v0.6.1

  • fix build

Backlog

  • add gif to README
  • add a logo
  • get rid of ncurses?

License

Lazy Hacker Editor Copyright (C) 2020 Ignacio Lago

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

About

Lazy Hacker Editor. Because nothing beats the eficiency of writing code already written. This is that kind of editor. Just for real hackers.

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.