diff options
Diffstat (limited to '.config/nvim/lua/config/map.lua')
-rw-r--r-- | .config/nvim/lua/config/map.lua | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/lua/config/map.lua b/.config/nvim/lua/config/map.lua index 24a286f..a64abed 100644 --- a/.config/nvim/lua/config/map.lua +++ b/.config/nvim/lua/config/map.lua @@ -1,3 +1,4 @@ +local tl = require("telescope.builtin") local key = vim.keymap vim.g.mapleader = " " @@ -11,4 +12,9 @@ key.set("n", "<C-l>", "<C-w>l") key.set("n", "<C-L>", ":vs<CR>") key.set("n", "<C-J>", ":sp<CR>") -key.set("n", "<Esc><Esc>", ":nohlsearch<CR>", { silent = true }) +key.set("n", "<Esc><Esc>", ":nohlsearch<CR>", { silent = true }) + +key.set("n", "<leader>ff", tl.find_files) +key.set("n", "<leader>f<leader>", tl.git_files) +key.set("n", "<leader><leader>", tl.buffers) + |