diff options
Diffstat (limited to '.config/nvim/lua/justsaumit/which-key-config.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/which-key-config.lua | 6 |
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) |