google / ci_edit

A terminal text editor with mouse support and ctrl+Q to quit.
Apache License 2.0
223 stars 54 forks source link

RFC: Added 'open' command to open a file under the cursor. #190

Closed gennad closed 5 years ago

gennad commented 5 years ago

Hello, this is my first commit to the project.

As it is my first commit, I'm pretty rough in terms of best practices so any tips, hints and comments will be greatly appreciated.

As was advised in email dev list, I implemented the command to open a file under cursor.

I tested it on a filename that does not exist (it output an error message) and tested on the filename that does exist (it opened but discarded the existing buffer)