refactor: rework Oil command to support --float argument anywhere
This commit is contained in:
parent
a0b69fa117
commit
101689b0fe
2 changed files with 10 additions and 11 deletions
|
|
@ -103,8 +103,7 @@ If you want to mimic the `vim-vinegar` method of navigating to the parent direct
|
|||
vim.keymap.set("n", "-", require("oil").open, { desc = "Open parent directory" })
|
||||
```
|
||||
|
||||
You can also use the `Oil` command to open oil.nvim.
|
||||
You can provide a folder argument to open this folder and add `--float` at the end of the command to open oil in a float.
|
||||
You can open a directory with `:edit <path>` or `:Oil <path>`. To open oil in a floating window, do `:Oil --float <path>`.
|
||||
|
||||
## Options
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue