Skip to content
forked from segfaultdev/bedd

tiny yet fully functional text editor for linux, with mouse support and more!

License

Notifications You must be signed in to change notification settings

kushagra765/bedd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bedd: The weird editor

NOTE: This editor is not meant to be used by anyone other than me, @segfaultdev, as this is a project adapted to my usage and needs, so please don't submit any pull requests changing core functionality(specially the python and Java checks), and instead create your own fork. If you do so, please let me know so I can add a link to it below!

bedd is a tiny tab-based terminal text editor with mouse support, syntax highlighting, indentation and other features.

(screenshot of bedd)

Features

  • Simple and familiar keybindings(Ctrl+C for copying, Ctrl+Q for quitting, Ctrl+F for searching, etc.)
  • Fully complete mouse support(mousewheel for scrolling, draggable scrollbar, clickable tabs, selectable text, etc.)
  • Doesn't force the use of the mouse either(page buttons for scrolling, Ctrl+Left/Right for tab switching, etc.)
  • Syntax highlighting, indentation and parentheses closing
  • Clean and tidy user interface
  • Scrollable tree view(closing the editor or opening a new terminal and doing ls is too tedious, let's be honest)

Keybindings

Editor mode

  • Copy: Ctrl+C

  • Cut: Ctrl+X

  • Paste: Ctrl+V

  • Undo: Ctrl+Z

  • Redo: Ctrl+Y

  • Find: Ctrl+F (first result after the cursor position)

  • Replace: Ctrl+G

  • Select all: Ctrl+A

  • Show/hide tree: Ctrl+T

  • Open file(new tab): Ctrl+O

  • New file(new tab): Ctrl+N

  • Save file: Ctrl+S

  • Close file/tab: Ctrl+Q

  • Run command: Ctrl+E

  • Prev. tab: Ctrl+Left

  • Next tab: Ctrl+Right

  • Start of file: Ctrl+Up

  • End of file: Ctrl+Down

  • Move cursor: Up/Down/Left/Right

  • Select text: Shift+Up/Down/Left/Right

Prompt(find/replace/open/save/etc.) mode

  • Cancel: Ctrl+Q
  • Accept: Return/Enter/Ctrl+M

NOTE: Add ~ before a find/replace query to only match whole words.

NOTE: The clipboard actions(copy, cut and paste) all require xclip to be installed and in the PATH.

Supported languages

  • C(.c, .h): full support
  • C++(.cc, .hh, .cpp, .hpp, .cxx): partial support, C++-specific features missing
  • x86 assembly(.asm, .s, .inc): full support, NASM syntax
  • bash/sh(.sh): partial support, has some errors with special cases
  • JavaScript(.js): full support
  • JSON(.json): full support, uses the JavaScript parser

How to build

Run make to build it.

License

This project is licensed with the nop license, check LICENSE for more details.

Forks!

Forks that remove the python + Java check(good forks):

  • @aa2006's fork
  • @kushagra765's fork This fork not only removes the check, but also uses the Makefile system, so it's good
  • @DamieFC's fork Hasn't removed the check yet, but his changes to README.md make it look like he will soooooooooooooooooo

About

tiny yet fully functional text editor for linux, with mouse support and more!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.8%
  • Makefile 0.2%