mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Neovim setup
Can it be this easy to make nvim stuff just work? Do I really just need to pull the files in with Home Manager? It seems so, so long as nvim knows about gcc :) There is also a related side of tmux here because it all ties together.
This commit is contained in:
parent
5b7bb14cd6
commit
dfc94f8c69
27 changed files with 369 additions and 3 deletions
13
modules/home-manager/files/nvim/lua/plugins/telescope.lua
Normal file
13
modules/home-manager/files/nvim/lua/plugins/telescope.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
return {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.5",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
config = function ()
|
||||
local builtin = require('telescope.builtin')
|
||||
|
||||
vim.keymap.set('n', '<C-p>', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<Space><Space>', builtin.oldfiles, {})
|
||||
vim.keymap.set('n', '<Space>fg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<Space>fh', builtin.help_tags, {})
|
||||
end
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue