evbogdanov / Acme
Licence: bsd-3-clause
My collection of Acme notes and scripts
Stars: ✭ 191
Programming Languages
shell
77523 projects
Projects that are alternatives of or similar to Acme
Vscode Chrome Debug
Debug your JavaScript code running in Google Chrome from VS Code.
Stars: ✭ 2,126 (+1013.09%)
Mutual labels: editor
Ngx Inline Editor
Native UI Inline-editor Angular (4.0+) component
Stars: ✭ 172 (-9.95%)
Mutual labels: editor
Seashore
easy to use mac osx image editing application for the rest of us
Stars: ✭ 182 (-4.71%)
Mutual labels: editor
Pixel Editor
An online canvas based Pixel Art creation tool for Lospec.com
Stars: ✭ 180 (-5.76%)
Mutual labels: editor
Unityheapexplorer
A Memory Profiler, Debugger and Analyzer for Unity 2019.3 and newer.
Stars: ✭ 179 (-6.28%)
Mutual labels: editor
Zerobranestudio
Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
Stars: ✭ 2,255 (+1080.63%)
Mutual labels: editor
Pixel
📷 A composable image editor using Core Image and Metal.
Stars: ✭ 2,495 (+1206.28%)
Mutual labels: editor
Smartblock
intuitive block based wysiwyg editor built with React and ProseMirror
Stars: ✭ 173 (-9.42%)
Mutual labels: editor
Flutter image editor
Flutter plugin, support android/ios.Support crop, flip, rotate, color martix, mix image, add text. merge multi images.
Stars: ✭ 181 (-5.24%)
Mutual labels: editor
Cattaz
Realtime collaborative tool which can run custom applications in a Wiki page
Stars: ✭ 191 (+0%)
Mutual labels: editor
Acme text editor
Acme is a Zen-style text editor.
Using Acme you sacrifice:
- configuration files
- themes
- syntax highlighting
- autocompletion
- specific language support
- your favourite Vim/Emacs/Sublime feature
What you gain is that instead of spending too much time configuring your editor, you will focus on actual working.
The killer feature of Acme is how it integrates into surrounding system. Acme is not trying to be a complete environment by itself. Acme acts as a glue which links together other programs and tools. With Acme the OS becomes your IDE.
Install
macOS
mkdir $HOME/9 && cd $HOME/9
git clone https://github.com/9fans/plan9port/ && cd plan9port
./INSTALL
Debian
sudo apt-get install gcc libx11-dev libxt-dev libxext-dev libfontconfig1-dev
git clone https://github.com/9fans/plan9port $HOME/plan9
cd $HOME/plan9/plan9port
./INSTALL -r $HOME/plan9
Environment setup
export PLAN9="/path/to/plan9port"
export PATH="$PATH:$PLAN9/bin"
Font
Run font server:
fontsrv
In case it's not installed:
cd /path/to/plan9port/src/cmd/fontsrv/
9 mk install
Have a look at all available fonts:
9p ls font
Try one of them:
acme -f /mnt/font/'Droid Sans Mono'/13a/font
Run
I spawn Acme by running a script.
Scripts
Who is who in bin directory:
-
astart Acme -
bcreate an indented C-like block{ ... } -
c SYMBOL/uc SYMBOLcomment/uncomment selection -
commit MESSAGEcommit and push to master -
cssandcssifytransform abbreviations into CSS properties -
f TEXTfind TEXT using The Silver Searcher -
hd SYMBOLdraw a pretty heading -
htmfeed selection to Pug -
htmlHTML boilerplate -
i/uiindent/unindent selection -
lstripremove leading whitespace -
t2s N_SPACES/s2t N_SPACEStabs <=> spaces -
upper/lowerconvert selection to uppercase/lowercase
Put these guys in your $PATH.
Random notes
-
Edit =find out the current line number -
:13goto 13th line -
:0goto file beginning -
:$goto file end -
:1,$or:,orEdit 1,$orEdit ,select all lines -
:1,5orEdit 1,5select lines 1..5 -
Edit , dclear window -
Edit , < echo hello worldreplace window body with some text -
Edit , < erl -man mapsreplace window body with erlang manual -
Edit , s/text/TEXT/gorEdit , | sed 's/text/TEXT/g'global replace -
$%or$samfilecurrent file name -
$winidcurrent window id -
echo some text | 9p write acme/$winid/bodyappend to the end of current window - keyboard shortcuts:
-
ctrl-udelete from cursor to start of line -
ctrl-wdelete word before the cursor -
ctrl-hdelete character before the cursor -
ctrl-amove cursor to start of the line -
ctrl-emove cursor to end of the line -
ctrl-itab -
ctrl-jenter -
ctrl-ffilepath autocompletion -
fn-*left arrow*go home (macOS) -
fn-*right arrow*go end (macOS)
-
- search with right click:
-
:+/foobar,:/foobarand justfoobarsearch forward -
:-/foobarsearch backwards
-
- press
escto select the last typed text - press
escagain to delete any selected text -
Fontswitch between fonts -
:/^helregexp match: lines starting with 'hel' -
:/lo\n/regexp match: lines ending with 'lo' -
:/^b/,/^e/regexp match: lines between starting with 'b' and starting with 'e' -
Dumpwrite the state of acme to the file -
Loadrestore from the dump -
Edit , > pythonpipe window body through python interpreter - three-finger tap emulates middle click (macOS)
Sam commands
-
Edit +/hellosearch 'hello' forward -
Edit -/hellosearch 'hello' backward -
Edit , > wc -lcount lines in file -
Edit , | sortsort lines -
Edit 3,5pprint lines 3..5 in new window -
Edit 3,5 | upperlines 3..5 upper cased -
Edit 3,5 s/HE/he/greplace on 3..5 lines only -
Edit 2 ddelete 2nd line -
Edit 2 c/newchange 2nd line -
Edit 2 a/newappend text after 2nd line -
Edit 2 i/newinsert text before 2nd line -
Edit 2 < datereplace 2nd line with the output of date -
Edit ,x/^TODAY$/ < datereplace matching lines with the output of date -
Edit ,x/Plan9/ |tr a-z A-Zreplace all instances of Plan9 with upper case -
Edit 3,5x/^/ a/ /indent lines 3..5 with 1 tab
You can do amazing things with Sam commands:
Edit ,x/Acme/ {
i/I love
c/Sam
a/ editor!
}
Cut / Copy selection to a file
- select some text
- cut:
| sed '' > file.txt - copy:
> sed '' > file.txt - pipe selection to a file:
> awk '{ print(toupper($1)) }' | sort | nl > file.txt
Games!
Other Plan9 goodies
-
winstart shell in a new window -
page FILEview graphics files -
web URLopen url in your browser
Wanna use bash inside win?
Put in your .bashrc
## If inside Acme...
if [ "$winid" ]; then
## ... then patch the `cd` command
_cd () {
\cd "[email protected]" && awd
}
alias cd=_cd
fi
Resources
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].

