Skip to content

Commit

Permalink
chore: update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy authored Mar 12, 2023
1 parent 6e7a179 commit 9b03dc9
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,19 @@ Flatten comes with the following defaults:
},
-- Window options
window = {
-- Options:
-- tab -> opens in new tab (default)
-- split -> opens in split
-- vsplit -> opens in vsplit
-- current -> opens in current window
-- func(new_bufs) -> flatten will only open the files, allowing you to handle window opening yourself. Argument is an array of new buffer numbers.
open = "tab",
-- Affects which file gets focused when opening multiple at once
-- Options:
-- "first" -> opens first file of new files (default)
-- "last" -> opens last file of new files
focus = "first"
-- Options:
-- tab -> open in new tab (default)
-- split -> open in split
-- vsplit -> open in vsplit
-- current -> open in current window
-- func(new_bufs) -> only open the files, allowing you to handle window opening yourself.
-- Argument is an array of buffer numbers representing the newly opened files.
open = "tab",
-- Affects which file gets focused when opening multiple at once
-- Options:
-- "first" -> open first file of new files (default)
-- "last" -> open last file of new files
focus = "first"
}
}
```
Expand Down

0 comments on commit 9b03dc9

Please sign in to comment.