Skip to content

sam-roth/Keypad

Repository files navigation

Keypad Text Editor

See the developer documentation.

Warning: This program still has many bugs. It is not to be used for anything serious at this point.

Keypad is a text editor written in Python with a flexible plugin system.

Design Principles

  • Hackability: Unlike heavyweight IDEs such as Eclipse, Keypad makes simple plugins easy to write.
  • Flexibility: Keypad uses a model-view-controller architecture to isolate the GUI from the text editing logic, allowing for the possibility of additional user interfaces. For instance, it would be possible to build a Curses frontend.
  • Lack of Dogma: While Keypad is optimized for a certain style of text editing, it can be easily modified to suport others.

Screenshot (more)

Editing Python Code

Installation and Running

Core Dependencies

Dependencies of Included Plugins

C++ Completion

Note: In order to use Clang for code completion, you may need to add a file to your PYTHONPATH with the name stemrc.py and the following contents, substituting the path with one appropriate for your system.

#!python
import pathlib
import keypad.plugins.cpp.options
keypad.plugins.cpp.options.ClangLibrary = pathlib.Path('/Library/Developer/CommandLineTools/usr/lib/libclang.dylib')

Python Completion

Running

python3.3 -m keypad

License

Keypad Text Editor
Copyright © 2014 Sam Roth.

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 http://www.gnu.org/licenses/.

About

Flexible Programmer's Text Editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published