Commit graph

209 commits

Author SHA1 Message Date
Mahlon E. Smith
ebcd720a09
fix: ssh adapter supports any system with /bin/sh (#161)
This allows support of other *nix operating systems where bash is not
universally present.
2023-08-24 09:17:54 -07:00
Steven Arcangeli
e45aeebc2b types: update type annotations for LuaLS 3.7 2023-08-24 09:15:06 -07:00
Steven Arcangeli
b61bc9b701 fix: set nomodifiable after BufWritePre in ssh adapter (#159) 2023-08-23 11:02:18 -07:00
Steven Arcangeli
bfa0e8705e fix: errors when writing files over ssh (#159) 2023-08-22 13:19:03 -07:00
Steven Arcangeli
9509ae0fee fix: fix flaky test 2023-08-20 23:33:34 +00:00
Steven Arcangeli
7aeb239a6a refactor: rename supports_xfer 2023-08-20 21:50:02 +00:00
Steven Arcangeli
f4819d8b43 refactor: remove cache side effects from adapter.list 2023-08-20 21:50:02 +00:00
Steven Arcangeli
ffb89bf416 perf: tweak uv readdir params for performance 2023-08-20 18:31:17 +00:00
Steven Arcangeli
866085407f refactor: fix type annotations for adapters 2023-08-20 18:18:36 +00:00
Steven Arcangeli
ff62fc28cd fix: sometimes use shell to run trash command (#99) 2023-08-20 05:10:09 +00:00
Steven Arcangeli
9d90893c37 refactor!: disable netrw by default (#155)
If you use oil and you want to still use netrw, set
`default_file_explorer = false`.

It is nonsensical to both use netrw _and_ have oil hijack directory
buffers (which was the case for the default config). It also causes
undefined behavior and bugs. When `default_file_explorer = true` (the
default) oil will now disable netrw for you.
2023-08-20 01:13:42 +00:00
Steven Arcangeli
8f7807946a fix: remaining type errors 2023-08-13 13:32:35 -07:00
Steven Arcangeli
ebf9337b32 ci: run type check in actions 2023-08-13 08:08:51 -07:00
Steven Arcangeli
47c7737618 fix: type annotations and type errors 2023-08-12 20:32:52 -07:00
Steven Arcangeli
0ccf95ae5d fix: actions.terminal supports ssh adapter (#152) 2023-08-12 12:49:07 -07:00
github-actions[bot]
0e5fca35cd
chore(master): release 1.1.0 (#136)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-09 01:04:32 -07:00
Steven Arcangeli
966eaaadbc fix: directory hijacking when oil is lazy loaded (#149) 2023-08-09 00:57:54 -07:00
Steven Arcangeli
887bb4a8b6 fix: opening oil from netrw defaults to netrw directory (#148) 2023-08-09 00:03:41 -07:00
Steven Arcangeli
a05b2eb54d doc: provide more hints in netrw buffer warning (#148) 2023-08-08 23:55:47 -07:00
Steven Arcangeli
b24380c0e1 feat: config to remove icon padding (#145) 2023-08-08 23:22:16 -07:00
Steven Arcangeli
eaa20a6aee fix: previewed buffers are deleted once hidden (#141) 2023-07-17 17:01:36 -07:00
Steven Arcangeli
c080379a4d cleanup: remove dead code 2023-07-14 12:03:10 -07:00
Jamie Bray
f180a9ffab
fix: use standard Directory highlight group (#139) 2023-07-14 12:02:55 -07:00
Steven Arcangeli
a5ff72a8da fix: url-escape paths for scp (#134) 2023-06-30 00:59:08 -07:00
David Attlee
789b486fb5
fix: leave netrw autocmds intact when default_file_explorer = false (#135) 2023-06-29 09:48:36 -07:00
github-actions[bot]
0138a2e0f9
chore(master): release 1.0.0 (#133)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-06-27 13:24:10 -07:00
Steven Arcangeli
23b1611ca6 ci: use release-please to tag releases 2023-06-27 12:57:43 -07:00
Github Actions
a2b7ab5e99 [docgen] Update docs
skip-checks: true
2023-06-26 15:56:41 +00:00
Aritra Sen
ac72a8df4a
feat: add override config option to customize float layout (#132)
* (feat) Added override function for floatwin

* (feat) Added in-place floatwin option modification

Added in-place modification of floatwin options, and removed example
from config.lua.
2023-06-26 08:56:22 -07:00
Steven Arcangeli
4a4e0f4013 refactor: small perf win by eliminating string object keys 2023-06-25 22:44:44 -07:00
Github Actions
db60c32d93 [docgen] Update docs
skip-checks: true
2023-06-25 06:30:09 +00:00
Steven Arcangeli
61f8655e03 fix: some autocmds skipped when opening files from oil (#120) 2023-06-24 23:28:57 -07:00
Steven Arcangeli
8882f6c89e doc: add mini.files to the alternatives list 2023-06-22 09:44:40 -07:00
Steven Arcangeli
9be36a6488 fix: symbolic link target parsing fails if it has a trailing slash (#131) 2023-06-21 17:15:57 -07:00
Github Actions
2a63f9224f [docgen] Update docs
skip-checks: true
2023-06-21 15:58:28 +00:00
Steven Arcangeli
393f0dcf82 fix!: selecting multiple files only opens buffers, not windows (#111)
In an oil buffer you can select multiple entries by highlighting them in
visual mode and then calling `oil.select()` (or using a keymap that does
so, like `<CR>` or `<C-s>`. Previously we would automatically assume
that you wanted to open multiple entries as splits. Now, we treat a
default call to `select()` (which is what `<CR>` does) as if you simply
wanted to open the buffers and keep the same window. This plays nicer
with bufferlines. If you want the old behavior, you can explicitly pass
in `oil.select({vertical = true})` or use the `<C-s>` keymap when you
have multiple entries selected.
2023-06-21 08:53:11 -07:00
Steven Arcangeli
a465123659 feat: oil.select can close oil buffer afterwards (#121) 2023-06-21 08:36:51 -07:00
Steven Arcangeli
a82503cd79 test: add tests for oil.select 2023-06-20 23:23:20 -07:00
Steven Arcangeli
0215ed3b0b
Merge pull request #130 from andrewcohen/master
Escape dollar sign
2023-06-20 09:30:20 -07:00
Andrew Cohen
53dcf6ee49
Escape dollar sign 2023-06-20 11:25:30 -04:00
Steven Arcangeli
6f8bf067c0 fix: stop using vim.wo to set window options
vim.wo also affects the global status of the option. We only want to set
the window-local option.
2023-06-16 18:24:47 -07:00
Steven Arcangeli
59dc12a978
Merge pull request #126 from fecet/fix/sshfs-locales
fix: oil-ssh assume target machine's locales
2023-06-14 09:20:58 -07:00
Steven Arcangeli
4ad162756b fix: error when float border is 'none' (#125) 2023-06-14 09:08:51 -07:00
fecet
c72bcb45b2 fix: oil-ssh assume target machine's locales 2023-06-14 16:26:49 +08:00
Steven Arcangeli
f322209a4a feat: Oil command supports split and vert modifiers (#116) 2023-06-03 08:18:36 -07:00
Steven Arcangeli
90acbdbbff fix: error messages opening terminal in dir 2023-05-24 23:13:48 -07:00
Steven Arcangeli
64d2f305d3 fix: catch errors opening preview window (#113) 2023-05-24 22:29:20 -07:00
Steven Arcangeli
9f2f50f915
Merge pull request #112 from davidsierradz/patch-1
Respect 'clipboard' in copy_entry_path
2023-05-24 00:06:10 -07:00
Steven Arcangeli
0e1b5e8f6b doc: extract API docs out of README 2023-05-23 23:40:41 -07:00
Steven Arcangeli
f535c1057c feat: support custom trash commands (#110) 2023-05-23 23:40:41 -07:00