Commit graph

124 commits

Author SHA1 Message Date
Steven Arcangeli
f6d2102e2b fix: icon column does nil-check of config 2023-04-11 08:27:41 -07:00
Juan David Merchan Torres
98a186e8f9 feat(columns): Add compatibility with previous versions 2023-04-02 18:31:02 -05:00
Juan David Merchan Torres
f687b721e9 docs(doc): Change custom icons to columns config 2023-03-31 14:29:59 -05:00
Juan David Merchan Torres
4c528a0ad8 docs(root): Change custom icons to columns config 2023-03-31 14:28:34 -05:00
Juan David Merchan Torres
c19f2d74de refactor(columns): Add custom icons from conf param 2023-03-31 14:27:53 -05:00
Juan David Merchan Torres
cb54e03490 feat(config): Change custom icons to columns config 2023-03-31 14:27:01 -05:00
Juan David Merchan Torres
4a103df99d docs(doc): Add custom icons to options section 2023-03-29 14:53:44 -05:00
Juan David Merchan Torres
f09256c1de docs(root): Add custom icons to options section 2023-03-29 14:53:00 -05:00
Juan David Merchan Torres
6dc65dcf83 feat(columns): Change to use custom icons 2023-03-29 14:48:00 -05:00
Juan David Merchan Torres
bf20bca78d feat(config): Add custom icons 2023-03-29 14:47:47 -05:00
Steven Arcangeli
931453fc09 fix: oil buffers remain unmodified after saving changes 2023-03-23 21:18:46 -07:00
Steven Arcangeli
eea34329e8 refactor: extract some test utils into a shared lib 2023-03-23 21:16:16 -07:00
Steven Arcangeli
4b05ebdf20 fix: oil.close doesn't error when no other buffers exist (#79) 2023-03-20 09:25:17 -07:00
Github Actions
08c4b71ef1 [docgen] Update docs
skip-checks: true
2023-03-19 20:53:40 +00:00
Steven Arcangeli
3e1affa6c7 feat: config for floating preview window (#74) 2023-03-19 13:52:17 -07:00
Github Actions
6d9b1e5241 [docgen] Update docs
skip-checks: true
2023-03-18 23:16:32 +00:00
Steven Arcangeli
642bb30323
Merge pull request #69 from nyngwang/feat-setup-view-options-add-is_excluded
feat: add `setup.view_options.is_always_hidden`
2023-03-18 16:16:12 -07:00
nyngwang
c07cf810eb fix Stylua 2023-03-19 07:12:48 +08: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
3d3df74532 feat: config option to disable directory hijacking (#76) 2023-03-18 15:26:19 -07:00
Steven Arcangeli
57451c517d fix: update preview window in-place (#74) 2023-03-18 15:08:32 -07:00
Steven Arcangeli
b8eaf88c12 fix: edge case where window options were not set 2023-03-18 15:05:59 -07:00
Steven Arcangeli
90622106cd
Merge pull request #78 from stevearc/stevearc-detect-normal-file
feat: convert oil://path/to/file.lua to normal file path
2023-03-18 00:15:53 -07:00
Steven Arcangeli
0d5db08015 fix: always enter directory entries as a directory 2023-03-18 00:07:38 -07:00
Steven Arcangeli
9814c8b3f1 test: fix test flakiness 2023-03-17 22:29:33 -07:00
Steven Arcangeli
d7805c7751 feat: convert oil://path/to/file.lua to normal file path (#77) 2023-03-17 21:48:38 -07:00
Steven Arcangeli
d48fa09c82 fix: oil.close() sometimes closes window too (#64) 2023-03-16 08:53:51 -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
33ee724c2d feat: restore window view in oil.close() (#65) 2023-03-12 13:00:04 -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
Steven Arcangeli
b36ba91b7a fix: another case of incorrect alternate buffers (#60) 2023-03-06 00:14:06 -08:00
nyngwang
19ab948e25 feat: add setup.view_options.is_excluded 2023-03-06 00:17:24 +08:00
Github Actions
4152810907 [docgen] Update docs
skip-checks: true
2023-03-05 06:32:51 +00:00
Steven Arcangeli
073ecb3d68 fix: don't close floating windows we didn't open (#64) 2023-03-04 22:32:06 -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
f1131b5e90 fix: set alternate buffer when inside oil (#60) 2023-02-24 06:24:44 -08:00
Github Actions
647c2d316c [docgen] Update docs
skip-checks: true
2023-02-23 05:18:35 +00:00
Steven Arcangeli
e5acff1b77 feat: config function to define which files are hidden (#58) 2023-02-22 21:11:11 -08:00
Steven Arcangeli
f1ea6e0ad0 fix: error when use_default_keymaps = false (#56) 2023-02-11 18:46:14 -08:00
Steven Arcangeli
7f17648705 fix: better behaved lazy loading in autocmds 2023-02-04 12:03:19 -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
2e95b9d424 fix: edge case where opening a file would delete its contents 2023-02-03 13:53:01 -08:00
Steven Arcangeli
716dd8f9cf fix: unexpected behavior from BufReadPost autocmds 2023-01-28 18:07:18 -08:00
Steven Arcangeli
20e4ff1838 fix: expand terminal path 2023-01-28 16:22:47 -08:00
Github Actions
1c953a3eac [docgen] Update docs
skip-checks: true
2023-01-29 00:20:27 +00:00
Steven Arcangeli
48eec8b7ef feat: action to open entry in new tab (#52) 2023-01-28 16:19:45 -08:00
Steven Arcangeli
0e53d40221 fix: oil can open when terminal is focused (#51) 2023-01-28 15:57:18 -08:00