My own first version of kickstart.nvim
This commit is contained in:
parent
3668af39f4
commit
dc41cd1fc2
16 changed files with 305 additions and 93 deletions
5
lua/custom/plugins/autopairs.lua
Normal file
5
lua/custom/plugins/autopairs.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
"windwp/nvim-autopairs",
|
||||
event = "InsertEnter",
|
||||
opts = {}
|
||||
}
|
||||
20
lua/custom/plugins/colorscheme.lua
Normal file
20
lua/custom/plugins/colorscheme.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
{
|
||||
-- Best colorscheme
|
||||
'catppuccin/nvim',
|
||||
name = 'catppuccin',
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.cmd.colorscheme 'catppuccin'
|
||||
end,
|
||||
},
|
||||
|
||||
{
|
||||
-- Theme inspired by Atom
|
||||
'navarasu/onedark.nvim',
|
||||
priority = 1000,
|
||||
-- config = function()
|
||||
-- vim.cmd.colorscheme 'onedark'
|
||||
-- end,
|
||||
},
|
||||
}
|
||||
5
lua/custom/plugins/haskell-tools.lua
Normal file
5
lua/custom/plugins/haskell-tools.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'mrcjkb/haskell-tools.nvim',
|
||||
version = '^3', -- Recommended
|
||||
ft = { 'haskell', 'lhaskell', 'cabal', 'cabalproject' },
|
||||
}
|
||||
|
|
@ -2,4 +2,8 @@
|
|||
-- I promise not to create any merge conflicts in this directory :)
|
||||
--
|
||||
-- See the kickstart.nvim README for more information
|
||||
return {}
|
||||
--
|
||||
-- FOR PLUGINS NOT REQUIRING CONFIGURATION:
|
||||
return {
|
||||
"fladson/vim-kitty"
|
||||
}
|
||||
|
|
|
|||
29
lua/custom/plugins/neorg.lua
Normal file
29
lua/custom/plugins/neorg.lua
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
return {
|
||||
"nvim-neorg/neorg",
|
||||
dependencies = { "nvim-lua/plenary.nvim" },
|
||||
build = ":Neorg sync-parsers",
|
||||
-- tag = "*",
|
||||
lazy = true, -- enable lazy load
|
||||
ft = "norg", -- lazy load on file type
|
||||
cmd = "Neorg", -- lazy load on command
|
||||
config = function()
|
||||
require("neorg").setup {
|
||||
load = {
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.concealer"] = {}, -- Adds pretty icons to your documents
|
||||
["core.dirman"] = { -- Manages Neorg workspaces
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/documents/notes",
|
||||
},
|
||||
},
|
||||
},
|
||||
["core.completion"] = {
|
||||
config = {
|
||||
engine = "nvim-cmp",
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
3
lua/custom/plugins/rasi.lua
Normal file
3
lua/custom/plugins/rasi.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"Fymyte/rasi.vim"
|
||||
}
|
||||
9
lua/custom/plugins/sideways.lua
Normal file
9
lua/custom/plugins/sideways.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
"AndrewRadev/sideways.vim",
|
||||
config = function()
|
||||
vim.keymap.set("n", "<leader>s<", ":SidewaysLeft<Cr>")
|
||||
vim.keymap.set("n", "<leader>s>", ":SidewaysRight<Cr>")
|
||||
vim.keymap.set("n", "<leader>sh", ":SidewaysJumpLeft<Cr>")
|
||||
vim.keymap.set("n", "<leader>sl", ":SidewaysJumpRight<Cr>")
|
||||
end,
|
||||
}
|
||||
26
lua/custom/plugins/vim-orgmode.lua
Normal file
26
lua/custom/plugins/vim-orgmode.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
'nvim-orgmode/orgmode',
|
||||
dependencies = {
|
||||
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
|
||||
},
|
||||
-- ADD THIS BACK LATER - SOMETHING WRONG, SO DOESNT START
|
||||
-- event = 'VeryLazy',
|
||||
config = function()
|
||||
-- Load treesitter grammar for org
|
||||
require('orgmode').setup_ts_grammar()
|
||||
|
||||
-- Setup treesitter
|
||||
require('nvim-treesitter.configs').setup({
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
ensure_installed = { 'org' },
|
||||
})
|
||||
|
||||
-- Setup orgmode
|
||||
require('orgmode').setup({
|
||||
org_agenda_files = '~/documents/orgfiles/**/*',
|
||||
org_default_notes_file = '~/documents/orgfiles/refile.org',
|
||||
})
|
||||
end,
|
||||
}
|
||||
14
lua/custom/plugins/vim-template.lua
Normal file
14
lua/custom/plugins/vim-template.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"aperezdc/vim-template",
|
||||
-- Change init to config, and then tell when to load
|
||||
-- config only works for lua modules that are "required" by nvim.
|
||||
init = function()
|
||||
vim.g.templates_directory = "~/documents/latex-templates/"
|
||||
vim.g.templates_no_builtin_templates = true
|
||||
vim.g.templates_global_name_prefix = "template:"
|
||||
vim.g.templates_name_prefix = "template:"
|
||||
vim.g.templates_no_autocmd = true
|
||||
-- vim.cmd("let g:templates_no_autocmd=1")
|
||||
end,
|
||||
-- cmd = "Template",
|
||||
}
|
||||
6
lua/custom/plugins/vimtex.lua
Normal file
6
lua/custom/plugins/vimtex.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
return {
|
||||
"lervag/vimtex",
|
||||
config = function()
|
||||
vim.g.vimtex_view_method = 'zathura'
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue