Skip to content

Commit ba4c4d9

Browse files
committed
Add space gg for neogit
1 parent 61b4732 commit ba4c4d9

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

after/ftplugin/markdown.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
vim.opt_local.conceallevel = 2

init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,3 +278,6 @@ vim.cmd 'set shiftwidth=2'
278278
-- Oil plugin
279279
require('oil').setup()
280280
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
281+
282+
-- Neogit plugin
283+
vim.keymap.set('n', '<Leader>gg', ':Neogit<CR>', { desc = 'Neogit open' })

lua/plugins/orgmode.lua

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,16 @@ return {
88
org_agenda_files = '~/orgfiles/**/*',
99
org_default_notes_file = '~/orgfiles/refile.org',
1010
org_capture_templates = {
11+
x = {
12+
description = 'Journal Personal',
13+
datetree = {
14+
tree_type = 'day',
15+
},
16+
template = '\n**** %?\nEntered on %U\n',
17+
target = '~/OrgMode-Personal/002-Areas/journal.org',
18+
},
1119
j = {
12-
description = 'Journal',
20+
description = 'Journal Inmar',
1321
datetree = {
1422
tree_type = 'day',
1523
},

0 commit comments

Comments
 (0)