Compare commits

..

2 Commits

Author SHA1 Message Date
ba80d54a52 Cool docs 2026-06-28 00:29:09 +02:00
f63bb12b4a better telescope 2026-06-28 00:17:17 +02:00
2 changed files with 29 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ Oil usage:
- `<A-h>` also goes to the parent directory - `<A-h>` also goes to the parent directory
- `<A-l>` opens the selected file or enters the selected directory - `<A-l>` opens the selected file or enters the selected directory
- `<C-p>` previews the selected entry - `<C-p>` previews the selected entry
- `go` opens the file in external viewer
## Window Navigation ## Window Navigation

View File

@@ -9,4 +9,31 @@ vim.pack.add({
}, },
}) })
require("telescope").setup({}) require("telescope").setup({
defaults = {
preview = {
filesize_limit = 0.1, -- in MB
},
initial_mode = "insert",
winblend = 30,
file_ignore_patterns = {
"%.git/.*",
"^%./lib/.*",
"^%./bin/.*",
"%.cache/.*",
".*%.[od]",
},
layout_strategy = "flex",
},
pickers = {
find_files = {
hidden = true,
follow = true,
},
live_grep = {
hidden = true,
follow = true,
initial_mode = "insert",
},
},
})