Commit graph

20 commits

Author SHA1 Message Date
Steven Arcangeli
273c2cecbf feat: can cancel out of progress window 2023-03-29 18:43:56 -07:00
Steven Arcangeli
9871ca9737 fix: oil loses track of buffers after refresh 2023-03-29 18:43:54 -07:00
Steven Arcangeli
d631d9fc5a fix: new oil buffers are nomodifiable during mutation processing 2023-03-29 18:42:48 -07:00
Steven Arcangeli
931453fc09 fix: oil buffers remain unmodified after saving changes 2023-03-23 21:18:46 -07:00
NWang
c1ed4fad14
Merge branch 'stevearc:master' into feat-setup-view-options-add-is_excluded 2023-03-19 07:09:48 +08:00
nyngwang
fe0f6c389f refactor: rename 2023-03-19 07:02:23 +08:00
Steven Arcangeli
57451c517d fix: update preview window in-place (#74) 2023-03-18 15:08:32 -07:00
Steven Arcangeli
12bea0f646 feat: API to change config.view.is_hidden_file at runtime (#69) 2023-03-12 12:49:49 -07:00
Steven Arcangeli
33d5701a8d WIP: force move cursor 2023-03-06 22:37:27 -08:00
nyngwang
19ab948e25 feat: add setup.view_options.is_excluded 2023-03-06 00:17:24 +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
7371dd220f fix: bad interaction with editorconfig-vim
This was a doozy. From the oil buffer, when you edited a file the
editorconfig-vim autocmd that runs s:UseConfigFiles() would run and
something in that logic would cause the oil buffer to become `set
modified`. This obviously messes with the buffer cleanup logic, and also
makes vim more annoying to exit. The solution is to disable
editorconfig-vim in oil buffers.
2023-02-03 14:28:55 -08:00
Steven Arcangeli
98fcc2d0d7 feat: sort symbolic directory links like directories 2023-02-03 13:57:10 -08:00
Steven Arcangeli
6c6b7673af feat: update preview window when cursor is moved (#42) 2023-01-21 18:46:30 -08:00
Steven Arcangeli
ca4da68aae feat: builtin support for editing files over ssh (#27) 2023-01-18 10:25:22 -08:00
Steven Arcangeli
64d7763ac6 fix: edge case where cursor position was not set (#37) 2023-01-18 00:21:04 -08:00
Steven Arcangeli
997d9cd78a feat: expose buf_options in config (#28) 2023-01-12 12:21:59 -08:00
Steven Arcangeli
e4c4110022 fix: preserve the alternate buffer (#20) 2023-01-07 12:23:47 -08:00
Steven Arcangeli
fefd6ad5e4 feat: first draft 2023-01-02 01:34:53 -08:00