Commit Graph

15 Commits (main)

Author SHA1 Message Date
Daniel Barlow 4b78434ea4 extract search into a module, improve it 2023-01-17 11:30:10 +00:00
Daniel Barlow 24613ea424 hook up the history logger thing 2023-01-02 22:03:03 +00:00
Daniel Barlow c1b7c2d777 add back button 2023-01-01 22:22:40 +00:00
Daniel Barlow daa244c0b3 add switch-to-buffer command 2022-12-31 16:46:34 +00:00
Daniel Barlow b8d86c65cb invoke command.function with completion value not string
this means a function that wants a buffer (for example) gets called
with the actual buffer not the buffer name
2022-12-31 16:46:34 +00:00
Daniel Barlow 5069e6aff1 move command state into per-frame table
lots of dependent changes here, unfortunately

- get rid of Buffer.current (it's per-frame now)
- in define-command, functions providing default parameter values
   now accept frame as parameter
- in keymaps, parameter values are functions that accept frame as
   parameter
2022-12-27 12:25:50 +00:00
Daniel Barlow dd139c9796 express keymap bindings as [command-name args]
instead of using functions directly. This is so that the
appropriate frame-relevant commander can be used to execure
the command, but also makes the keymaps a little less opaque
2022-12-26 16:53:41 +00:00
Daniel Barlow cde0b8cd56 pass keymap into the frame 2022-12-23 15:21:06 +00:00
Daniel Barlow 4cb82c8ca6 add socket repl 2022-12-21 21:51:06 +00:00
Daniel Barlow e2c6e2c5f6 use CamelCase for tables/modules that implement classes
Frame => bound to (require :frame)
frame => result of evaluating (Frame.new)
2022-12-20 12:28:32 +00:00
Daniel Barlow bd8a1a5c7d don't hardcode directory name 2022-12-20 12:26:28 +00:00
Daniel Barlow a34e63877d add buffer 2022-12-20 10:34:37 +00:00
Daniel Barlow 38786d3790 add command line 2022-12-19 20:57:23 +00:00
Daniel Barlow 5760268c0d rename pane to frame 2022-12-19 18:48:51 +00:00
Daniel Barlow 38c71c347e initial commit 2022-12-19 18:19:13 +00:00