summaryrefslogtreecommitdiff
path: root/lua/maps/find.lua
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-18 11:39:25 +0200
committerHampusM <hampus@hampusmat.com>2022-09-18 11:39:25 +0200
commit3c238894c5b6f15c5f27cea8bd3785eb0f1ebf0f (patch)
tree68292df2b0cd698484d26057a4faf914e9ea6300 /lua/maps/find.lua
parentd8fa264ac732286dcf9234bc40e60eeb7e230ca7 (diff)
add config
Diffstat (limited to 'lua/maps/find.lua')
-rw-r--r--lua/maps/find.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/maps/find.lua b/lua/maps/find.lua
new file mode 100644
index 0000000..5d4bfbe
--- /dev/null
+++ b/lua/maps/find.lua
@@ -0,0 +1,8 @@
+vim.api.nvim_set_keymap("n", "<leader>p", ":Files<CR>", { silent = true, noremap = true })
+
+vim.api.nvim_set_keymap("n", "<leader>b", ":Buffers<CR>", { silent = true, noremap = true })
+
+vim.api.nvim_set_keymap("n", "<leader>c", ":Commits<CR>", { silent = true, noremap = true })
+
+vim.api.nvim_set_keymap("n", "<leader>f", ":Ag ", { noremap = true })
+