Better org agenda colors
This commit is contained in:
@@ -2,3 +2,6 @@ runtime colors/lunaperche.vim
|
|||||||
|
|
||||||
" fix VertSplit for lunaperche
|
" fix VertSplit for lunaperche
|
||||||
hi VertSplit guifg=#aaaaaa
|
hi VertSplit guifg=#aaaaaa
|
||||||
|
" hi DiffAdd guifg=white
|
||||||
|
highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
|
||||||
|
|
||||||
|
|||||||
@@ -204,6 +204,9 @@ require("lazy").setup({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
org_agenda_hide_empty_blocks = true,
|
org_agenda_hide_empty_blocks = true,
|
||||||
|
org_agenda_skip_scheduled_if_done = true, -- Hide scheduled entries from agenda if they are in a "DONE" state.
|
||||||
|
org_agenda_skip_deadline_if_done = true, -- Hide deadline entries from agenda if they are in a "DONE" state.
|
||||||
|
org_agenda_current_time_string = '<- NOW',
|
||||||
org_agenda_custom_commands = {
|
org_agenda_custom_commands = {
|
||||||
-- "c" is the shortcut that will be used in the prompt
|
-- "c" is the shortcut that will be used in the prompt
|
||||||
c = {
|
c = {
|
||||||
@@ -228,7 +231,7 @@ require("lazy").setup({
|
|||||||
{
|
{
|
||||||
type = 'tags_todo',
|
type = 'tags_todo',
|
||||||
match = '-PRIORITY="A"', --Same as providing a "Match:" for tags view <leader>oa + m, See: https://orgmode.org/manual/Matching-tags-and-properties.html
|
match = '-PRIORITY="A"', --Same as providing a "Match:" for tags view <leader>oa + m, See: https://orgmode.org/manual/Matching-tags-and-properties.html
|
||||||
org_agenda_overriding_header = 'Normal prio todos',
|
org_agenda_overriding_header = 'Unscheduled todos',
|
||||||
org_agenda_sorting_strategy = { 'tag-up', 'todo-state-down', 'priority-down' }, -- See all options available on org_agenda_sorting_strategy
|
org_agenda_sorting_strategy = { 'tag-up', 'todo-state-down', 'priority-down' }, -- See all options available on org_agenda_sorting_strategy
|
||||||
-- org_agenda_todo_ignore_scheduled = 'all', -- Ignore all headlines that are scheduled. Possible values: past | future | all
|
-- org_agenda_todo_ignore_scheduled = 'all', -- Ignore all headlines that are scheduled. Possible values: past | future | all
|
||||||
|
|
||||||
@@ -242,7 +245,7 @@ require("lazy").setup({
|
|||||||
org_default_notes_file = sl_opt.org_default_notes_file,
|
org_default_notes_file = sl_opt.org_default_notes_file,
|
||||||
org_archive_location = sl_opt.org_archive_location,
|
org_archive_location = sl_opt.org_archive_location,
|
||||||
org_capture_templates = {
|
org_capture_templates = {
|
||||||
t = { description = 'Task', template = "* TODO %u %?\n SCHEDULED: %^{Due date}t" },
|
t = { description = 'Task', template = "* TODO %?\n %u SCHEDULED: %^{Due date}t" },
|
||||||
i = { description = 'Interruption', template = "* STARTED [#A] %^{Working on}\n %U\n %a\n" },
|
i = { description = 'Interruption', template = "* STARTED [#A] %^{Working on}\n %U\n %a\n" },
|
||||||
},
|
},
|
||||||
org_todo_keywords = { 'TODO(t)', 'STARTED(s)', 'PLANNED(p)', '|', 'DONE(d)', 'UNPLANNED(u)' },
|
org_todo_keywords = { 'TODO(t)', 'STARTED(s)', 'PLANNED(p)', '|', 'DONE(d)', 'UNPLANNED(u)' },
|
||||||
@@ -273,8 +276,18 @@ require("lazy").setup({
|
|||||||
callback = function()
|
callback = function()
|
||||||
-- Define own colors
|
-- Define own colors
|
||||||
-- color updates
|
-- color updates
|
||||||
vim.api.nvim_set_hl(0, '@org.agenda.weekend', { fg = '#aaaaaa' })
|
vim.api.nvim_set_hl(0, '@org.agenda.weekend', { fg = '#959595', reverse = true })
|
||||||
vim.api.nvim_set_hl(0, '@org.agenda.day', { fg = '#eeeeee' })
|
vim.api.nvim_set_hl(0, '@org.agenda.day', { fg = '#c0c0c0', reverse = true })
|
||||||
|
vim.api.nvim_set_hl(0, '@org.keyword.todo', { fg = '#FFAA00'})
|
||||||
|
vim.api.nvim_set_hl(0, '@org.keyword.done', { fg = '#00DFDF'})
|
||||||
|
vim.api.nvim_set_hl(0, '@org.agenda.time_grid', { fg = '#008F8F' })
|
||||||
|
-- vim.api.nvim_set_hl(0, '@org.agenda.scheduled', { fg = '#19D9D9' })
|
||||||
|
-- vim.api.nvim_set_hl(0, '@org.agenda.scheduled', { fg = 'white' })
|
||||||
|
vim.api.nvim_set_hl(0, '@org.agenda.scheduled_past', { fg = '#FF841E' })
|
||||||
|
vim.api.nvim_set_hl(0, '@org.agenda.scheduled', { fg = '#EEEEEE' })
|
||||||
|
vim.api.nvim_set_hl(0, '@org.agenda.separator', { fg = '#656565' })
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user