Coder Social home page Coder Social logo

hired's People

Contributors

kianmeng avatar ryuheechul avatar sidju avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

hired's Issues

Paste doesn't include newlines

It seems that newlines aren't included when text is pasted into the editor. I'll have to look over the crossterm configurations about this, because I'm quite certain it has worked before...

Consistent moving behaviour

When moving to a earlier line the moved lines are inserted, when moving to a later line they are appended. make this consistent to the same behavior as 'ed'.

Add a change indentation command

Something that takes a signed integer and adds that to the number of spaces the selection is indented by.
Trying to remove more than there exists should just remove all there is without error.

Add variant basic editing commands

Proposed commands:
'A': As the 'a' command except appending to the same line.
'C': As the 'c' command except presenting you with a line buffer with the current contents of the given line or each line in turn.
'I': As the 'i' command except prepending to the same line.

Implement 'g'

Since regex search is essential in every editor 'g' with support for at least one command (such as 'n', to print line with number) should be added in next version.

Improve color handling

We currently assume that black is the background color and that white is the foreground color. We should instead either handle those as their own colors or use background/foreground instead of black/white.

Create proper UI

Set the UI to something with borders, active filename, a command line and a window that shows the state of the buffer. In essence take the first steps towards VI.

Look over 's' handling of $

Currently $ is after the '\n', meaning that replacing it with something is the same as adding to the line after. This is unexpected and should be resolved.

Note quirky colour behaviour around 16-color white and black

Since we now reset the color on white and black in 16-colour themes we should note that in the relevant code (which looks a bit strange now) and the theme declaration.

(
Possibly it would be good to create a way to more explicitly handle this in the theme itself, to provide a "colour" that is default and more explicitly use this in the theme.
)

(See 362c4a4 for relevant code change to clarify)

Add macro command

Allow users to write macros with arbitrary names to be accessed under ':'.

Initially without argument handling and acting upon a buffer.

(Intended use case is something along the lines of a shortcut for changing indentation, a crazy bash pipe for incrementing something or just appending 'hello world' to the buffer.)

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.