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