Compare commits
2 Commits
4fe311c3c5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a81aaba57 | |||
| bdbd173a2b |
58
init.lua
58
init.lua
@@ -710,6 +710,7 @@ require('lazy').setup({
|
|||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
|
{ name = 'orgmode' },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
end,
|
end,
|
||||||
@@ -720,16 +721,37 @@ require('lazy').setup({
|
|||||||
-- change the command in the config to whatever the name of that colorscheme is.
|
-- change the command in the config to whatever the name of that colorscheme is.
|
||||||
--
|
--
|
||||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||||
'morhetz/gruvbox',
|
'ellisonleao/gruvbox.nvim',
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
init = function()
|
opts = {
|
||||||
-- Load the colorscheme here.
|
terminal_colors = true,
|
||||||
-- Like many other themes, this one has different styles, and you could load
|
undercurl = true,
|
||||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
underline = true,
|
||||||
|
bold = true,
|
||||||
|
italic = {
|
||||||
|
strings = false,
|
||||||
|
emphasis = false,
|
||||||
|
comments = false,
|
||||||
|
operators = false,
|
||||||
|
folds = false,
|
||||||
|
},
|
||||||
|
strikethrough = true,
|
||||||
|
invert_selection = false,
|
||||||
|
invert_signs = false,
|
||||||
|
invert_tabline = false,
|
||||||
|
invert_intend_guides = false,
|
||||||
|
inverse = true,
|
||||||
|
contrast = '', -- can be "hard, "soft", or empty string
|
||||||
|
palette_overrides = {},
|
||||||
|
overrides = {},
|
||||||
|
dim_inactive = false,
|
||||||
|
transparent_mode = false,
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
require('gruvbox').setup {
|
||||||
|
--optional customization here
|
||||||
|
}
|
||||||
vim.cmd.colorscheme 'gruvbox'
|
vim.cmd.colorscheme 'gruvbox'
|
||||||
|
|
||||||
-- You can configure highlights by doing something like:
|
|
||||||
vim.cmd.hi 'Comment gui=none'
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -830,6 +852,26 @@ require('lazy').setup({
|
|||||||
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
{ '<leader>gg', '<cmd>LazyGit<cr>', desc = 'LazyGit' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'nvim-orgmode/orgmode',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
ft = { 'org' },
|
||||||
|
config = function()
|
||||||
|
--Setup orgmode
|
||||||
|
require('orgmode').setup {
|
||||||
|
org_agenda_files = '~/org/**/*',
|
||||||
|
org_default_notes_file = '~/org/default.org',
|
||||||
|
mappings = {
|
||||||
|
org = {
|
||||||
|
org_toggle_checkbox = '<C-Space>',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
-- Setup org-specific keybindings
|
||||||
|
vim.keymap.set('n', '<leader>oa', '<cmd>lua require("orgmode").action("agenda.prompt")<CR>', { desc = '[O]rg [A]genda' })
|
||||||
|
vim.keymap.set('n', '<leader>oc', '<cmd>lua require("orgmode").action("agenda.prompt")<CR>', { desc = '[O]rg [C]apture' })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
-- init.lua. If you want these files, they are in the repository, so you can just download them and
|
||||||
|
|||||||
Reference in New Issue
Block a user