My own first version of kickstart.nvim

This commit is contained in:
AngryLuck 2024-03-19 18:01:42 +01:00
parent 3668af39f4
commit dc41cd1fc2
16 changed files with 305 additions and 93 deletions

View file

@ -0,0 +1,5 @@
return {
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {}
}

View 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,
},
}

View file

@ -0,0 +1,5 @@
return {
'mrcjkb/haskell-tools.nvim',
version = '^3', -- Recommended
ft = { 'haskell', 'lhaskell', 'cabal', 'cabalproject' },
}

View file

@ -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"
}

View 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,
}

View file

@ -0,0 +1,3 @@
return {
"Fymyte/rasi.vim"
}

View 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,
}

View 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,
}

View 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",
}

View file

@ -0,0 +1,6 @@
return {
"lervag/vimtex",
config = function()
vim.g.vimtex_view_method = 'zathura'
end,
}