summaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-07-02 13:23:21 -0500
committerBobby Bingham <koorogi@koorogi.info>2022-07-02 13:23:21 -0500
commit9f61562bbb4f40a8cf506a57ad7fd3fbb06c3717 (patch)
tree1375e309b043948dfbcdb53b973467e1931bf9fd /nvim/.config
parent7d1425ff4e5eaa7afe2582c58d7a5bc3841aa66c (diff)
nvim: add telescope
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/lua/plugins.lua6
-rw-r--r--nvim/.config/nvim/lua/telescope_config.lua7
2 files changed, 13 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua
index 28b7b09..b54d4ee 100644
--- a/nvim/.config/nvim/lua/plugins.lua
+++ b/nvim/.config/nvim/lua/plugins.lua
@@ -50,6 +50,12 @@ return require('packer').startup(function()
}
use {
+ 'nvim-telescope/telescope.nvim',
+ requires = 'nvim-lua/plenary.nvim',
+ config = function() require('telescope_config') end
+ }
+
+ use {
'nvim-neorg/neorg',
requires = 'nvim-lua/plenary.nvim',
config = function() require('neorg_config') end
diff --git a/nvim/.config/nvim/lua/telescope_config.lua b/nvim/.config/nvim/lua/telescope_config.lua
new file mode 100644
index 0000000..8cda28c
--- /dev/null
+++ b/nvim/.config/nvim/lua/telescope_config.lua
@@ -0,0 +1,7 @@
+--require("telescope").setup({
+--})
+
+vim.keymap.set('n', '<leader>ff', ':Telescope find_files<cr>')
+vim.keymap.set('n', '<leader>fg', ':Telescope live_grep<cr>')
+vim.keymap.set('n', '<leader>fb', ':Telescope buffers<cr>')
+vim.keymap.set('n', '<leader>fh', ':Telescope help_tags<cr>')