diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2022-05-26 13:26:01 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2022-05-26 13:26:01 +0200 |
| commit | 9f09a23e20ea1ea4e8646e826156112c9ca7725c (patch) | |
| tree | 7b7ddda4e8644208d1398ac1b67c358c9a239464 /config/nvim/lua/plugins.lua | |
| parent | 1953b447ce51d48c658dcfef6ea5957b1a5bd062 (diff) | |
| download | dotfiles-9f09a23e20ea1ea4e8646e826156112c9ca7725c.tar.gz dotfiles-9f09a23e20ea1ea4e8646e826156112c9ca7725c.tar.bz2 dotfiles-9f09a23e20ea1ea4e8646e826156112c9ca7725c.zip | |
Updated nvim telescope fallback to files if can't find git repo
Diffstat (limited to 'config/nvim/lua/plugins.lua')
| -rw-r--r-- | config/nvim/lua/plugins.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index b2c68c7..4ca6124 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -179,7 +179,7 @@ return require('packer').startup(function() } } local map = vim.api.nvim_set_keymap - map('n', '<C-p>', '<cmd>Telescope git_files<cr>', {}) + map('n', '<C-p>', '<CMD>lua require"telescope-config".project_files()<CR>', { noremap = true, silent = true }) map('n', '<leader>H', '<cmd>Telescope help_tags<cr>', {}) map('n', '<leader>;', '<cmd>Telescope commands<cr>', {}) end |
