nsf / godit Goto Github PK
View Code? Open in Web Editor NEWA very religious text editor
License: MIT License
A very religious text editor
License: MIT License
github.com/nsf/termbox-go not supoort msys2 also.
godit RET
foo RET
bar RET
M-q RET RET
Expected to see "foo bar"
See two lines, "foo" and "bar"
E.g. https://github.com/kr/text has the necessary logic.
willing to add a go-fmt to current-buffer kind of command/key-binding?
Visual selection would be great also piping selection through external programs would make a big difference in terms of usability. :)
I use the german keyboard layout and for example left brace is typed in with AltGr+7. But if I press this it runs the undo action. Right brace would be AltGr+9 but when I do this it doesn't do anything.
I'd like to use this editor because of its simplicity, responsiveness etc., but I'm used to vim-bindings in conjunction with some basic state-behavior (contrary to state-less as the current emacs-like one).
I'm aware of the "very religious" statement, but why not being "very schizophrenic-religious"? :)
Are there any plans to support it in the future?
Can you write a bit about how it works? I'm interested in how you store an open file and undo history. What happens when you open a new file, and what happens when you copypaste something from one part of file to another.
Must be doing something wrong:
$ go run /Users/johanlundberg/gocode/src/github.com/nsf/godit/godit.go
src/github.com/nsf/godit/godit.go:53: undefined: view_tree
src/github.com/nsf/godit/godit.go:54: undefined: view_tree
src/github.com/nsf/godit/godit.go:55: undefined: buffer
src/github.com/nsf/godit/godit.go:56: undefined: vcommand_class
src/github.com/nsf/godit/godit.go:59: undefined: overlay_mode
src/github.com/nsf/godit/godit.go:87: undefined: buffer
src/github.com/nsf/godit/godit.go:131: undefined: buffer
src/github.com/nsf/godit/godit.go:183: undefined: buffer
src/github.com/nsf/godit/godit.go:336: undefined: view_tree
src/github.com/nsf/godit/godit.go:365: undefined: view_tree
src/github.com/nsf/godit/godit.go:365: too many errors
Being asked to authenticate to view the images.
Do you know why the sequence C-x C-c locks the command prompt on Win7?
Its like the editor is quitting but the terminal isn't left in a good state and everything is locked.
Maybe this could be used as a front end for lime text then you would get all the plugin functionality automatically
I know, you're happy with it, but anyway to link in go syntax coloring?
(starting to use Go alot in vagrant/CoreOS/Docker stuff. When I install go in coreos and docker, I usually install godit too (which I rename to emacs) and then I am good-to-go...)
Add gocode support similar to Emacs or VIM.
Do you have a plan to support godef-jump? Sincerely.
godit is so sweet. I tried this on windows.
But I uses cmd.exe with 500 liens buffer, So scrollbar is always displayed. Then, I hope to fit window to visible rectangle.
For example, vim.exe is doing that.
Vim
Godit
SetConsoleWindowInfo
can do it. Or CreateConsoleScreenBuffer create alternate window that fit the rectangle.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.