summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/justsaumit/which-key-config.lua
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-07-15 01:40:37 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-07-15 01:40:37 +0530
commita8ea70cb0592f207f22dfb9e3beb2603adbd9ebf (patch)
tree067630ca5afcffa001fc81e5331654791d92e9d1 /.config/nvim/lua/justsaumit/which-key-config.lua
parent0cc4ed7dd6fc5b06de245246723138996d449571 (diff)
nvim: Adding catpuccin theme and telescope nvim
Diffstat (limited to '.config/nvim/lua/justsaumit/which-key-config.lua')
-rw-r--r--.config/nvim/lua/justsaumit/which-key-config.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/lua/justsaumit/which-key-config.lua b/.config/nvim/lua/justsaumit/which-key-config.lua
index b438f7e..25ec150 100644
--- a/.config/nvim/lua/justsaumit/which-key-config.lua
+++ b/.config/nvim/lua/justsaumit/which-key-config.lua
@@ -4,8 +4,10 @@ local mappings = {
Z = {":wq<CR>", "Save and Quit"},
w = {":w<CR>", "Save"},
x ={":bdelete<CR>", "Close"},
- f = { ":Telescope find_files<cr>", "Telescope Find Files" },
- g = { ":Telescope live_grep<cr>", "Telescope Live Grep" }
+ f = { ":Telescope find_files<CR>", "Telescope Find Files" },
+ h = { ":Telescope find_files hidden=true<CR>", "Telescope Find Files" },
+ g = { ":Telescope live_grep<CR>", "Telescope Live Grep" },
+ r = { ":Telescope oldfiles<CR>", "Recent files" }
}
local opts = {prefix = '<leader>'}
wk.register(mappings, opts)