about summary refs log tree commit diff stats
path: root/.config/nvim/lua/config/map.lua
diff options
context:
space:
mode:
authorVitor Gonçalves <vitorg@tilde.team>2024-02-03 11:56:21 -0300
committerVitor Gonçalves <vitorg@tilde.team>2024-02-03 11:56:28 -0300
commit173e25046f1bf8ff5b40849fc73833889d3f157e (patch)
tree1887398570a9005c32122c00be9cba4ee784d28d /.config/nvim/lua/config/map.lua
parent9b8432ef4c120b1e3e20276b69741445c6756a32 (diff)
downloaddots-173e25046f1bf8ff5b40849fc73833889d3f157e.tar.gz
nvim: fixed indentation, added treesitter/telescope
Diffstat (limited to '.config/nvim/lua/config/map.lua')
-rw-r--r--.config/nvim/lua/config/map.lua8
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)
+