Add space gg for neogit

This commit is contained in:
marctalcott 2024-07-02 17:31:48 -04:00
parent 61b47328cd
commit ba4c4d9773
3 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1 @@
vim.opt_local.conceallevel = 2

View File

@ -278,3 +278,6 @@ vim.cmd 'set shiftwidth=2'
-- Oil plugin -- Oil plugin
require('oil').setup() require('oil').setup()
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }) vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
-- Neogit plugin
vim.keymap.set('n', '<Leader>gg', ':Neogit<CR>', { desc = 'Neogit open' })

View File

@ -8,8 +8,16 @@ return {
org_agenda_files = '~/orgfiles/**/*', org_agenda_files = '~/orgfiles/**/*',
org_default_notes_file = '~/orgfiles/refile.org', org_default_notes_file = '~/orgfiles/refile.org',
org_capture_templates = { org_capture_templates = {
x = {
description = 'Journal Personal',
datetree = {
tree_type = 'day',
},
template = '\n**** %?\nEntered on %U\n',
target = '~/OrgMode-Personal/002-Areas/journal.org',
},
j = { j = {
description = 'Journal', description = 'Journal Inmar',
datetree = { datetree = {
tree_type = 'day', tree_type = 'day',
}, },