aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorMax Christian Pohle2024-08-29 14:54:43 +0200
committerMax Christian Pohle2024-08-29 14:54:43 +0200
commit7172c36d4508510ad844fcbea1bd3bc496da809e (patch)
tree9a94b4ff19c19e96f7faf9810a59a18b8e08e364 /lua
parent35ba5a3b68e334ea8dc2760536d16f50f2868faa (diff)
downloadvim-7172c36d4508510ad844fcbea1bd3bc496da809e.tar.bz2
vim-7172c36d4508510ad844fcbea1bd3bc496da809e.zip
improved config by splitting it.
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/cmp.lua11
-rw-r--r--lua/plugins/colorscheme.lua6
-rw-r--r--lua/plugins/fzf.lua4
-rw-r--r--lua/plugins/orgmode.lua17
-rw-r--r--lua/plugins/telescope.lua4
5 files changed, 42 insertions, 0 deletions
diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua
new file mode 100644
index 0000000..fed96e4
--- /dev/null
+++ b/lua/plugins/cmp.lua
@@ -0,0 +1,11 @@
1return {
2 'neovim/nvim-lspconfig',
3 'hrsh7th/cmp-nvim-lsp',
4 'hrsh7th/cmp-buffer',
5 'hrsh7th/cmp-path',
6 'hrsh7th/nvim-cmp',
7 'hrsh7th/vim-vsnip',
8 'L3MON4D3/LuaSnip',
9 'octaltree/cmp-look',
10 'saadparwaiz1/cmp_luasnip',
11}
diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua
new file mode 100644
index 0000000..a73b1e8
--- /dev/null
+++ b/lua/plugins/colorscheme.lua
@@ -0,0 +1,6 @@
1return {
2 'RRethy/base16-nvim',
3 config = function()
4 vim.cmd.colorscheme "base16-rebecca"
5 end,
6}
diff --git a/lua/plugins/fzf.lua b/lua/plugins/fzf.lua
new file mode 100644
index 0000000..f3fc76b
--- /dev/null
+++ b/lua/plugins/fzf.lua
@@ -0,0 +1,4 @@
1return {
2 'junegunn/fzf',
3 'junegunn/fzf.vim',
4}
diff --git a/lua/plugins/orgmode.lua b/lua/plugins/orgmode.lua
new file mode 100644
index 0000000..fe09f3e
--- /dev/null
+++ b/lua/plugins/orgmode.lua
@@ -0,0 +1,17 @@
1return {
2 'nvim-orgmode/orgmode',
3 event = 'VeryLazy',
4 ft = { 'org' },
5 config = function()
6 -- Setup orgmode
7 require('orgmode').setup({
8 org_agenda_files = '~/orgfiles/**/*',
9 org_default_notes_file = '~/orgfiles/refile.org',
10 })
11 require('cmp').setup({
12 sources = {
13 { name = 'orgmode' }
14 }
15 })
16 end,
17}
diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua
new file mode 100644
index 0000000..ed65c3f
--- /dev/null
+++ b/lua/plugins/telescope.lua
@@ -0,0 +1,4 @@
1return {
2 'nvim-telescope/telescope.nvim',
3 'nvim-telescope/telescope-media-files.nvim',
4}
..