diff --git a/nvim/keymap.md b/nvim/keymap.md
index ab15f2c..1642e09 100644
--- a/nvim/keymap.md
+++ b/nvim/keymap.md
@@ -3,45 +3,102 @@
## Space as leader
## Debugging
-- F5: toggle breakpoint
-- F6: step over breakpoint
-- F7: step into breakpoint
-- F8: start debugging
-- F9: continue from breakpoint
-- F10: close debug UI
+| key | Description |
+| --- | ------------------------- |
+| F5 | toggle breakpoint |
+| F6 | step over breakpoint |
+| F7 | step into breakpoint |
+| F8 | start debugging |
+| F9 | continue from breakpoint |
+| F10 | close debug UI |
## Nerd Tree
-- t: toggle open
-- f: focus tree
+| key | Description |
+| --- | ------------------------- |
+| t |toggle open |
+| f | focus tree |
## buffer switching
-- F1: next buffer (cycles)
-- F2: previous buffer (cycles)
+| key | Description |
+| --- | ------------------------- |
+| F1 | next buffer (cycles) |
+| F2 | previous buffer (cycles) |
## formatting
-- F4: format this file
+| key | Description |
+| --- | ------------------------- |
+| F4 | format this file |
## telescope
-- ff: find files
-- fg: live ripgrep
-- fb: find buffers
-- fh: help for functions etc
-- fp: find projects
+| key | Description |
+| --- | ------------------------- |
+| ff | find files |
+| fg | live ripgrep |
+| fb | find buffers |
+| fh | help for functions etc |
+| fp | find projects |
+
+### project telescope
+
| normal mode | insert mode |
+ |
+
+| key | Description |
+| --- | --------------------------------- |
+| d | delete project |
+| r | rename project |
+| c | create project |
+| s | search files in project |
+| b | browse files in project |
+| w | change directory to project |
+| R | recently opened files in project |
+| f | find file within project |
+ |
+
+| key | Description |
+| -------- | --------------------------------- |
+| Ctrl + d | delete project |
+| Ctrl + v | rename project |
+| Ctrl + a | create project |
+| Ctrl + s | search files in project |
+| Ctrl + b | browse files in project |
+| Ctrl + l | change directory to project |
+| Ctrl + r | recently opened files in project |
+| Ctrl + f | find file within project |
+
+ |
+
## toggletrouble
-- Ctrl + f: show errors and warnings
+| key | Description |
+| -------- | ------------------------- |
+| Ctrl + f | show errors and warnings |
## cmp
Note, these require the cmp list view to be open to do anything!
-- Ctrl + b: scroll docs up
-- Ctrl + f: scroll docs down
-- Ctrl + e: cancel cmp
-- Enter: write selected suggestion (does nothing if not selected)
-- Tab: scroll down through suggestion list
-- Shift + Tab: scroll up through suggestion list
+| key | Description |
+| ----------- | --------------------------------------------------------- |
+| Ctrl + b | scroll docs up |
+| Ctrl + f | scroll docs down |
+| Ctrl + e | cancel cmp |
+| Enter | write selected suggestion (does nothing if not selected) |
+| Tab |scroll down through suggestion list |
+| Shift + Tab | scroll up through suggestion list |
## snippets
These require you to be inside a snippet!
-- Ctrl + j: jump to next entry
-- Ctrl + k: jump to previous entry
+| key | Description |
+| -------- | ------------------------- |
+| Ctrl + j | jump to next entry |
+| Ctrl + k | jump to previous entry |
+## Dashboard
+only available on dashboard
+| key | Description |
+| --- | ------------------------- |
+| f | file |
+| e | new file |
+| p | find project |
+| r | recently used files |
+| t | find text |
+| c | open config |
+| q | quit |
diff --git a/nvim/lua/settings/project.lua b/nvim/lua/settings/project.lua
index 4487630..10fc2e8 100644
--- a/nvim/lua/settings/project.lua
+++ b/nvim/lua/settings/project.lua
@@ -1,22 +1,25 @@
--- local status_ok, project = pcall(require, "project_nvim")
--- if not status_ok then
--- return
--- end
--- project.setup({
--- active = true,
--- on_config_done = nil,
--- manual_mode = false,
--- detection_methods = { "pattern" },
--- patterns = { ".git", "_darcs", ".hg", ".bzr", ".svn", "Makefile", "package.json" },
--- show_hidden = false,
--- silent_chdir = true,
--- ignore_lsp = {},
--- datapath = vim.fn.stdpath("data"),
--- })
-
local tele_status_ok, telescope = pcall(require, "telescope")
if not tele_status_ok then
return
end
telescope.load_extension("project")
+
+require('telescope').setup {
+ extensions = {
+ project = {
+ base_dirs = {
+ '~/dev/src',
+ {'~/dev/src2'},
+ {'~/dev/src3', max_depth = 4},
+ {path = '~/dev/src4'},
+ {path = '~/dev/src5', max_depth = 2},
+ },
+ hidden_files = true, -- default: false
+ theme = "dropdown",
+ order_by = "asc",
+ search_by = "title",
+ sync_with_nvim_tree = true, -- default false
+ }
+ }
+}