From bc3fae6b88308dc3e478954a0fb3d0b14809c2e8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 14 Oct 2024 00:44:29 +0100 Subject: New neovim config Uses lazy nvim and Lua instead of the old Vundle and vimscript setup. --- NeoVim/.config/nvim/lua/plugins/init.lua | 10 ++++++++++ NeoVim/.config/nvim/lua/plugins/neosolarized.lua | 11 +++++++++++ NeoVim/.config/nvim/lua/plugins/telescope.lua | 8 ++++++++ 3 files changed, 29 insertions(+) create mode 100644 NeoVim/.config/nvim/lua/plugins/init.lua create mode 100644 NeoVim/.config/nvim/lua/plugins/neosolarized.lua create mode 100644 NeoVim/.config/nvim/lua/plugins/telescope.lua (limited to 'NeoVim/.config/nvim/lua/plugins') diff --git a/NeoVim/.config/nvim/lua/plugins/init.lua b/NeoVim/.config/nvim/lua/plugins/init.lua new file mode 100644 index 0000000..9617fd8 --- /dev/null +++ b/NeoVim/.config/nvim/lua/plugins/init.lua @@ -0,0 +1,10 @@ +local neosolarized = require ("plugins/neosolarized") +local telescope = require ("plugins/telescope") + +return { + neosolarized, + telescope, + { + "christoomey/vim-tmux-navigator", + } +} diff --git a/NeoVim/.config/nvim/lua/plugins/neosolarized.lua b/NeoVim/.config/nvim/lua/plugins/neosolarized.lua new file mode 100644 index 0000000..54a939f --- /dev/null +++ b/NeoVim/.config/nvim/lua/plugins/neosolarized.lua @@ -0,0 +1,11 @@ +return { + "overcache/NeoSolarized", + init = function () + vim.cmd.colorscheme "NeoSolarized" + -- Make background transparent + vim.cmd.hi "Normal guibg=none" + vim.cmd.hi "NonText guibg=none" + vim.cmd.hi "Normal ctermbg=none" + vim.cmd.hi "NonText ctermbg=none" + end +} diff --git a/NeoVim/.config/nvim/lua/plugins/telescope.lua b/NeoVim/.config/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..5271a80 --- /dev/null +++ b/NeoVim/.config/nvim/lua/plugins/telescope.lua @@ -0,0 +1,8 @@ +return { + "nvim-telescope/telescope.nvim", + config = function () + local telescope = require("telescope.builtin") + vim.keymap.set("n", "ff", telescope.find_files, {}) + vim.keymap.set("n", "ss", telescope.current_buffer_fuzzy_find, {}) + end +} -- cgit v1.2.3-13-gbd6f