Giter Site home page Giter Site logo

miv's Introduction

Currently under heavy development

What is Miv?

Miv is a STUPID text editor. The term "Miv" has no meaning and is just a play on words with "Vim"!

It has no superiority over other editors and only is developed for personal purposes! also it can be a good resource if you want to know how text editors work.

Compiling

Clone the project

git clone https://github.com/amiremohamadi/miv

Run the makefile.

cd miv/src
make # or sudo make install

And use like this:

./miv [path_to_file]

Usage and default keybindings

You can change default key bindings by editing defines.hh file, but default values are:

Key Behaviour
Ctrl + s Save The File
Ctrl + q Quit
Arrow Keys Move The Cursor
Pagedown/Pageup Move Up And Down

Don't forget, it's super stupid!

Requirements

  • ncurses (wncurses)

Copying

Available to anybody free of charge, under the terms of GPL V.2 License.

miv's People

Contributors

amiremohamadi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sajjadsabzkar

miv's Issues

Refactor Editor::insert_char and Editor::remove_char

it's a good idea to have foolish methods! these methods must give line as a string parameter instead of calculating line number each time.

so the we can get line in another method and pass it to these methods.

Refactor Editor::remove_char

removing a character must be applied in File class!
for now, Editor::remove_char is doing this which is illogical

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.