Commit graph

142 commits

Author SHA1 Message Date
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
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
Steven Arcangeli
61f8655e03 fix: some autocmds skipped when opening files from oil (#120) 2023-06-24 23:28:57 -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
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
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
f535c1057c feat: support custom trash commands (#110) 2023-05-23 23:40:41 -07:00
David Sierra DiazGranados
30039f13f6
Respect 'clipboard' in copy_entry_path
Using `vim.v.register`, we can respect the user's desire of copying to the unnamed (or unnamedplus) register or default one.

Check `:h v:register`

Thanks
2023-05-23 19:35:20 -05:00
Steven Arcangeli
d27bfa1f37 refactor: use more modern methods for getting/setting options 2023-05-21 20:40:09 -07:00
wrapperup
29808f273c fix: opening with lowercase drive letters 2023-05-21 16:25:43 -04:00
Steven Arcangeli
19563c3658 fix: set bufhidden = 'hide' by default (#104) 2023-05-16 20:32:45 -07:00
Steven Arcangeli
d0efcc0c10 cleanup: remove disclaimer before saving files
Oil has been around for a few months now and there haven't been any
reports of unexpected filesystem operations.
2023-05-07 09:08:44 -07:00
Steven Arcangeli
6b05c2e913 feat: prompt user to save changes before editing moved file/dir (#93) 2023-05-07 08:07:08 -07:00
Steven Arcangeli
496d60fcff feat: config option for trashing deleted files (#99) 2023-05-06 21:07:01 -07:00
Steven Arcangeli
339ade9dc3 fix: escape special characters when editing buffer (#96) 2023-05-05 08:32:44 -07:00
Steven Arcangeli
37cb6be6f6 fix: block quit if changes during :wq (#98) 2023-05-03 08:06:49 -07:00
Steven Arcangeli
41077847b9 fix: prevent double-delete autocmd ids (#97) 2023-05-02 10:08:42 -07:00
Steven Arcangeli
82c706822b feat: add toggle_float function (#94) 2023-04-29 08:16:18 -07:00
Steven Arcangeli
caa65e5bfc fix: bug when copying saved win options to split (#89) 2023-04-27 08:33:42 -07:00
Steven Arcangeli
a9556aa872 fix: guard against invalid buffer (#90) 2023-04-27 07:30:48 -07:00
Steven Arcangeli
2bca582d93 feat: extension for resession.nvim 2023-04-21 22:03:33 -07:00
Steven Arcangeli
be695dc350 fix: allow calling oil.open() with a url 2023-04-21 22:03:33 -07:00
Steven Arcangeli
3ac035e5ac feat: dispatch autocmd when oil buffer finishes rendering 2023-04-20 20:24:50 -07:00
Steven Arcangeli
fb8b101d7c Merge branch 'NikolaM-Dev-feature-custom-icons' 2023-04-11 08:29:23 -07:00
Steven Arcangeli
54af7e013d doc: put documentation of icon config parameters in correct place 2023-04-11 08:28:03 -07:00
Steven Arcangeli
f6d2102e2b fix: icon column does nil-check of config 2023-04-11 08:27:41 -07:00
Steven Arcangeli
5edf9784a5 refactor: use nvim 0.9 window title when available 2023-04-07 12:52:00 -07:00
Steven Arcangeli
00465089cb fix: double callback in mutator 2023-04-04 13:53:01 -07:00
Steven Arcangeli
f28e63460a feat: can minimize the progress window 2023-04-04 13:53:01 -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
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