Commit graph

14 commits

Author SHA1 Message Date
Steven Arcangeli
3e1affa6c7 feat: config for floating preview window (#74) 2023-03-19 13:52:17 -07:00
Steven Arcangeli
383971b0cf fix: preview window renders on top of floating window title (#72) 2023-03-12 20:58:02 -07:00
Steven Arcangeli
33d5701a8d WIP: force move cursor 2023-03-06 22:37:27 -08:00
Steven Arcangeli
0b2a4ddde1 refactor: only gc oil buffers once all oil bufs are hidden
Previously we were gc-ing all hidden oil buffers 2 seconds after they
were hidden. I think this is a little too magical, and interferes with
some expected vim behavior (ctrl-o/i). If people want the old behavior,
we can expose the "GC hidden buffers" function via the API.

We're also changing the "rerender visible oil buffers" logic, because
previously that would delete hidden oil buffers. Now it simply marks
them as dirty, and they will be rerendered during the next BufEnter.
2023-02-24 07:55:39 -08:00
Steven Arcangeli
e5acff1b77 feat: config function to define which files are hidden (#58) 2023-02-22 21:11:11 -08:00
Steven Arcangeli
adff3b9154 feat: config option to skip the disclaimer 2023-01-20 02:00:37 -08:00
Steven Arcangeli
ca4da68aae feat: builtin support for editing files over ssh (#27) 2023-01-18 10:25:22 -08:00
Steven Arcangeli
bcb99ae95a fix: detect duplicate filenames in buffer 2023-01-11 23:54:51 -08:00
Steven Arcangeli
6d0b6ac43c fix: don't show preview if there are no changes (#19) 2023-01-06 18:25:48 -08:00
Steven Arcangeli
2e6d68453f fix: restore modified state of current buffer if actions are canceled (#6) 2023-01-03 21:48:49 -08:00
Steven Arcangeli
e58f347c67 fix: ignore errors when unlocking buffers 2023-01-03 09:12:41 -08:00
Steven Arcangeli
a587977edd feat: set filetype='oil_preview' for preview buffer 2023-01-02 21:31:07 -08:00
Steven Arcangeli
0d6ee144d2 fix: unlock buffers if we cancel the actions (#4) 2023-01-02 10:44:16 -08:00
Steven Arcangeli
fefd6ad5e4 feat: first draft 2023-01-02 01:34:53 -08:00