{"id":13523004,"url":"https://github.com/magiblot/turbo","last_synced_at":"2025-05-15T20:00:37.137Z","repository":{"id":41398224,"uuid":"285614878","full_name":"magiblot/turbo","owner":"magiblot","description":"An experimental text editor based on Scintilla and Turbo Vision.","archived":false,"fork":false,"pushed_at":"2025-05-15T00:22:25.000Z","size":1366,"stargazers_count":527,"open_issues_count":29,"forks_count":37,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-15T01:28:29.317Z","etag":null,"topics":["cpp","linux","linux-console","ncurses","scintilla","terminal","text-editor","tui","turbo-vision","utf-8","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magiblot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-06T16:08:19.000Z","updated_at":"2025-05-15T00:22:29.000Z","dependencies_parsed_at":"2024-05-15T22:47:14.242Z","dependency_job_id":"c6a78ade-28c6-4592-a7c7-51593562194d","html_url":"https://github.com/magiblot/turbo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiblot%2Fturbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiblot%2Fturbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiblot%2Fturbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magiblot%2Fturbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magiblot","download_url":"https://codeload.github.com/magiblot/turbo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414454,"owners_count":22067261,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","linux","linux-console","ncurses","scintilla","terminal","text-editor","tui","turbo-vision","utf-8","windows"],"created_at":"2024-08-01T06:00:54.522Z","updated_at":"2025-05-15T20:00:36.469Z","avatar_url":"https://github.com/magiblot.png","language":"C++","funding_links":[],"categories":["\u003ca name=\"editors\"\u003e\u003c/a\u003eEditors","Table of Contents"],"sub_categories":[],"readme":"# Turbo\n\nTurbo is an experimental text editor for the terminal, based on the [Scintilla](https://www.scintilla.org/index.html) code editing component by Neil Hodgson and the [Turbo Vision](https://github.com/magiblot/tvision) application framework.\n\nIt was created to demonstrate new features in Turbo Vision. In particular, it has served as testing ground for Turbo Vision's Unicode capabilities.\n\nAs a text editor, Turbo aims at being intuitive and easy to use. Usability and productivity are its two other major objectives, although it has not got that far yet. And only for being a Turbo Vision application, it offers a vintage look and feel.\n\nThe original location of this project is https://github.com/magiblot/turbo.\n\n![Turbo](https://user-images.githubusercontent.com/20713561/89552632-b7053380-d80c-11ea-92e0-a8c30f80cd49.png)\n\n## Downloads\n\n* Unix systems: you'll have to build Turbo yourself. You may follow the build instructions in the next section.\n* Windows: you can find up-to-date binaries in the [Actions](https://github.com/magiblot/turbo/actions?query=branch:master+event:push) page. Click on the first successful workflow (with a green tick) in the list. At the bottom of the workflow page, as long as you have logged in to GitHub, you'll find an *Artifacts* section with the following files:\n    * `turbo-x86.zip`: 32-bit executable built with MSVC. Windows Vista or later required.\n    * `turbo-x64.zip`: 64-bit executable built with MSVC. x64 Windows Vista or later required.\n\n## Building\n\nFirst of all, you should clone this repository along its submodules with the `--recursive` option of `git clone`.\n\nThen, make sure the following dependencies are installed:\n\n* CMake.\n* A compiler supporting C++17.\n* `libncursesw` (note the 'w') (Unix only).\n\nAdditionally, you may also want to install these optional dependencies:\n\n* `libmagic` for better recognition of file types (Unix only).\n* `libgpm` for mouse support on the linux console (Linux only).\n* `xsel`, `xclip` and/or `wl-clipboard` for system clipboard integration (Unix only, except macOS).\n\nTurbo can be built with the following commands:\n\n```sh\ncmake . -DCMAKE_BUILD_TYPE=Release \u0026\u0026 # Or 'RelWithDebInfo', or 'MinSizeRel', or 'Debug'.\ncmake --build .\n```\n\nThe above will generate the `turbo` binary.\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eDetailed build instructions for Ubuntu 20.04\u003c/b\u003e\u003c/summary\u003e\n\n```sh\nsudo apt update \u0026\u0026 sudo apt upgrade\nsudo apt install build-essential cmake gettext-base git libgpm-dev libmagic-dev libncursesw5-dev xsel\ngit clone --recursive https://github.com/magiblot/turbo.git\ncd turbo\ncmake . -DCMAKE_BUILD_TYPE=Release\ncmake --build . -- -j$(nproc) # Build Turbo.\nsudo cp turbo /usr/local/bin/ # Install (optional).\n```\n\u003c/details\u003e\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003eDetailed build instructions for Ubuntu 18.04\u003c/b\u003e\u003c/summary\u003e\n\n```sh\nsudo apt update \u0026\u0026 sudo apt upgrade\nsudo apt install build-essential cmake g++-8 gettext-base git libgpm-dev libmagic-dev libncursesw5-dev xsel\ngit clone --recursive https://github.com/magiblot/turbo.git\ncd turbo\nCXX=g++-8 cmake . -DCMAKE_BUILD_TYPE=Release\ncmake --build . -- -j$(nproc) # Build Turbo.\nsudo cp turbo /usr/local/bin/ # Install (optional).\n```\n\u003c/details\u003e\n\n## Usage\n\n### From the command line\n\n* **turbo** [*file*...]\n\nIn order to open several files in a directory tree you should use wildcards or subcommands, if they are supported by your command shell. For example, in Unix:\n\n```sh\n# Open all .c and .h files in the current directory and its subdirectories\nturbo `find . -type f -name '*.c' -o -name '*.h'`\n# Open all files in the current directory and its subdirectories, excluding executables and hidden files or directories\nturbo `find . -type f \\! -executable \\! -path '*/.*'`\n```\n\n### In-app\n\nAs said earlier, Turbo has been designed to be intuitive. So you probably already know how to use it!\n\nSome keybindings are:\n\n* `Ctrl+C`/`Ctrl+Ins`: copy.\n* `Ctrl+V`/`Shift+Ins`: paste.\n* `Ctrl+X`/`Shift+Del`: cut.\n* `Ctrl+Z`, `Ctrl+Y`: undo/redo.\n* `Tab`, `Shift+Tab`: indent/unindent.\n* `Ctrl+E`: toggle comment.\n* `Ctrl+A`: select all.\n* `Shift+Arrow`: extend selection.\n* `Ctrl+F`: find.\n* `Ctrl+R`: replace.\n* `Ctrl+G`: go to line.\n* `Ctrl+Back`/`Alt+Back`, `Ctrl+Del`: erase one word left/right.\n* `Ctrl+Left`/`Alt+Left`, `Ctrl+Right`/`Alt+Right`: move one word left/right.\n* `Ctrl+Shift+Up`/`Alt+Shift+Up`, `Ctrl+Shift+Down`/`Alt+Shift+Down`: move selected lines up/down.\n* `Ctrl+N`: create new document.\n* `Ctrl+O`: \"open file\" dialog.\n* `Ctrl+S`: save document.\n* `Ctrl+W`: close focused document.\n* `F6`, `Shift+F6`: next/previous document (in MRU order).\n* `Ctrl+Q`/`Alt+X`: exit the application.\n\nIn environments with extended keyboard support (e.g. the Linux console, Windows or Kitty ≥ 0.20.0), the following key shortcuts may also work:\n\n* `Ctrl+Shift+Z`: redo.\n* `Ctrl+Tab`/`Alt+Tab`, `Ctrl+Shift+Tab`/`Alt+Shift+Tab`: next/previous document (in MRU order).\n* `Shift+Enter`: find previous (in the \"find\" text box).\n* `Ctrl+/`/`Ctrl+_`: toggle comment.\n\nSupport for these key combinations may vary among terminal applications, but any issue on this should be reported to [Turbo Vision](https://github.com/magiblot/tvision/issues) instead.\n\n### Clipboard support\n\nSee the Turbo Vision [documentation](https://github.com/magiblot/tvision#clipboard).\n\n## Features\n\nScintilla has [lots of features](https://www.scintilla.org/ScintillaDoc.html), of which Turbo only offers a few. Making more of them available is just a matter of time, so contributions are welcome.\n\nBelow is a TO-DO list of features I would like to implement in Turbo:\n\n- [x] Several files open at the same time.\n- [x] Line numbers.\n- [x] Word wrap.\n- [x] Suspend to shell.\n- [x] Unicode in documents (in particular, UTF-8).\n- [x] Double-width characters.\n- [x] Opening binary files without freaking out.\n- [x] List of open documents in MRU order.\n- [x] Tree view of open documents.\n- [x] Tree view sorted alphabetically.\n- [x] Case-insensitive search.\n- [x] Find as you type.\n- [x] Replace.\n- [x] Go to line.\n- [ ] List of recently opened files.\n- [x] Remove trailing whitespaces on save.\n- [x] Ensure newline at end of file.\n- [ ] Detect open files modified on disk.\n- [ ] Persistent configuration.\n- [ ] Keybinding customization.\n- [ ] Color scheme customization.\n- [x] Syntax highlighting for some languages (C/C++, Rust, Python, JavaScript, Make, Bash, Ruby, JSON, YAML, HTML, INI, Go, PHP).\n- [ ] Syntax highlighting for the rest of [languages supported by Scintilla](https://github.com/ScintillaOrg/lexilla/blob/master/include/SciLexer.h).\n- [x] Comment toggling.\n- [x] Brace match highlighting.\n- [ ] VIM input mode.\n- [ ] Localization.\n- [x] Integration with the system clipboard.\n- [x] Unicode in dialog text boxes (this depends on Turbo Vision).\n- [ ] True Color support (this depends on Turbo Vision).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiblot%2Fturbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagiblot%2Fturbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagiblot%2Fturbo/lists"}