From 30109f847e8162626c201e4f084687482f0ea66d Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Wed, 21 Aug 2024 18:12:06 -0500 Subject: [PATCH] Upload files to "config/nvim/lua/config" --- config/nvim/lua/config/init.lua | 2 ++ config/nvim/lua/config/remap.lua | 7 +++++++ config/nvim/lua/config/set.lua | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 config/nvim/lua/config/remap.lua create mode 100644 config/nvim/lua/config/set.lua diff --git a/config/nvim/lua/config/init.lua b/config/nvim/lua/config/init.lua index e69de29..7b908b5 100644 --- a/config/nvim/lua/config/init.lua +++ b/config/nvim/lua/config/init.lua @@ -0,0 +1,2 @@ +require("config.remap") +require("config.set") diff --git a/config/nvim/lua/config/remap.lua b/config/nvim/lua/config/remap.lua new file mode 100644 index 0000000..d4e0661 --- /dev/null +++ b/config/nvim/lua/config/remap.lua @@ -0,0 +1,7 @@ +vim.g.mapleader = " " + +local builtin = require('telescope.builtin') +vim.keymap.set('n', 'ff', builtin.find_files, {}) +vim.keymap.set('n', 'fg', builtin.live_grep, {}) +vim.keymap.set('n', 'fb', builtin.buffers, {}) +vim.keymap.set('n', 'fh', builtin.help_tags, {}) diff --git a/config/nvim/lua/config/set.lua b/config/nvim/lua/config/set.lua new file mode 100644 index 0000000..5dcaba3 --- /dev/null +++ b/config/nvim/lua/config/set.lua @@ -0,0 +1,5 @@ + + +vim.opt.hlsearch = false + +vim.opt.termguicolors = true