summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-04-24 00:23:35 +0200
committerAlan Pearce2023-04-24 00:24:16 +0200
commitbdb6be9b16889f02f9f72c2645131beffd689ed3 (patch)
tree1e260f833c40bc443d9b89f9fb2b2e04f92ca021
parent3b0c32cc6c20f6a20cf5f7e48668743f71c69e44 (diff)
downloadnixfiles-bdb6be9b16889f02f9f72c2645131beffd689ed3.tar.lz
nixfiles-bdb6be9b16889f02f9f72c2645131beffd689ed3.tar.zst
nixfiles-bdb6be9b16889f02f9f72c2645131beffd689ed3.zip
neovim: add keybind to find files in git repository
-rw-r--r--user/nvim/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua
index d1dcb88b..c3587e79 100644
--- a/user/nvim/init.lua
+++ b/user/nvim/init.lua
@@ -207,4 +207,5 @@ local ts_builtin = require('telescope.builtin')
 keyset("n", "<leader>ff", ts_builtin.find_files, {})
 keyset("n", "<leader>fg", ts_builtin.live_grep, {})
 keyset("n", "<leader>bb", ts_builtin.buffers, {})
+keyset("n", "<leader>pf", ts_builtin.git_files, {})
 keyset("n", "<leader>fh", ts_builtin.help_tags, {})