diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-14 00:44:29 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-14 00:44:29 +0100 |
commit | bc3fae6b88308dc3e478954a0fb3d0b14809c2e8 (patch) | |
tree | 721374b530fae630fe5234f1f63e2dbe388763a8 /NeoVim/.config/nvim/lua/plugins | |
parent | e36e3bd66c5cb9b9d3a604017c75e356e2678abd (diff) | |
download | dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.gz dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.tar.bz2 dotfiles-bc3fae6b88308dc3e478954a0fb3d0b14809c2e8.zip |
New neovim config
Uses lazy nvim and Lua instead of the old Vundle and vimscript setup.
Diffstat (limited to 'NeoVim/.config/nvim/lua/plugins')
-rw-r--r-- | NeoVim/.config/nvim/lua/plugins/init.lua | 10 | ||||
-rw-r--r-- | NeoVim/.config/nvim/lua/plugins/neosolarized.lua | 11 | ||||
-rw-r--r-- | NeoVim/.config/nvim/lua/plugins/telescope.lua | 8 |
3 files changed, 29 insertions, 0 deletions
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", "<leader>ff", telescope.find_files, {}) + vim.keymap.set("n", "<leader>ss", telescope.current_buffer_fuzzy_find, {}) + end +} |