summary refs log tree commit diff
path: root/.vim
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-08-02 13:56:17 +0200
committerRobert Günzler <r@gnzler.io>2021-08-02 13:56:17 +0200
commita1e1a4ae8b16bdde5ec1bb04e6ce925513b94feb (patch)
tree5891742352ead3fae12e98efde14de31c9337baf /.vim
parentb22dc38564dcc8903f501ed92843aa9db9fd44a7 (diff)
vim: update orgmode config
Diffstat (limited to '.vim')
-rw-r--r--.vim/lua/plugins.lua13
-rw-r--r--.vim/plugin/packer_compiled.lua2
2 files changed, 14 insertions, 1 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index 425c2ca..98ba6bc 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -369,6 +369,19 @@ return require('packer').startup({function()
       require('orgmode').setup {
         org_agenda_files = {'$HOME/.zk/.orgmode/*.org'},
         org_default_notes_file = '$HOME/.zk/.orgmode/todo.org',
+        org_todo_keywords = {'TODO', 'NEXT', 'WIP', 'DONE'},
+        org_indent_mode = 'noindent',
+        org_agenda_templates = {
+          t = {
+            description = 'Todo',
+            template = '* TODO %?',
+          },
+          n = {
+            description = 'Note',
+            template = '* %?',
+            target = '$HOME/.zk/.orgmode/notes.org',
+          },
+        },
       }
 
       local pickers = require('telescope.pickers')
diff --git a/.vim/plugin/packer_compiled.lua b/.vim/plugin/packer_compiled.lua
index ab3d8c9..240ce20 100644
--- a/.vim/plugin/packer_compiled.lua
+++ b/.vim/plugin/packer_compiled.lua
@@ -149,7 +149,7 @@ _G.packer_plugins = {
     path = "/usr/local/share/nvim/site/pack/packer/start/nvim-treesitter-refactor"
   },
   ["orgmode.nvim"] = {
-    config = { "\27LJ\1\2³\1\0\0\6\2\t\0\19+\0\0\0007\0\0\0004\1\1\0003\2\2\0+\3\1\0007\3\3\0034\4\4\0%\5\5\0>\4\2\2\16\5\4\0007\4\6\4>\4\2\0=\3\0\2:\3\a\2>\0\3\2\16\1\0\0007\0\b\0>\0\2\1G\0\1\0\1À\2À\tfind\vfinder\18get_all_files\19orgmode.config\frequire\14new_table\1\0\1\17prompt_title\fOrgmode\topts\bnewˆ\a\1\0\6\0\20\00014\0\0\0%\1\1\0>\0\2\0027\0\2\0004\1\0\0%\2\3\0>\1\2\0027\1\4\0013\2\6\0003\3\5\0:\3\a\2>\1\2\0014\1\0\0%\2\b\0>\1\2\0024\2\0\0%\3\t\0>\2\2\2\16\3\0\0003\4\n\0001\5\v\0;\5\2\4>\3\2\0014\3\f\0007\3\r\3%\4\14\0>\3\2\0014\3\f\0007\3\r\3%\4\15\0>\3\2\0014\3\f\0007\3\r\3%\4\16\0>\3\2\0014\3\f\0007\3\r\3%\4\17\0>\3\2\0014\3\f\0007\3\r\3%\4\18\0>\3\2\0014\3\f\0007\3\r\3%\4\19\0>\3\2\0010\0\0€G\0\1\0_ command! OrgmodeArchive lua require('orgmode').action('org_mappings.toggle_archive_tag') Q command! OrgmodeTag lua require('orgmode').action('org_mappings.set_tags') ^ command! OrgmodeTodoCycle lua require('orgmode').action('org_mappings.todo_next_state') j command! OrgmodeInsert lua require('orgmode').action('org_mappings.insert_heading_respect_content') N command! OrgmodeCapture lua require('orgmode').action('capture.refile') F command! Orgmode lua require('orgmode').action('agenda.prompt') \bcmd\bvim\0\1\2\0\0\a;o\22telescope.finders\22telescope.pickers\21org_agenda_files\1\0\1\27org_default_notes_file $HOME/.zk/.orgmode/todo.org\1\2\0\0\29$HOME/.zk/.orgmode/*.org\nsetup\forgmode\rnnoremap\22astronauta.keymap\frequire\0" },
+    config = { "\27LJ\1\2³\1\0\0\6\2\t\0\19+\0\0\0007\0\0\0004\1\1\0003\2\2\0+\3\1\0007\3\3\0034\4\4\0%\5\5\0>\4\2\2\16\5\4\0007\4\6\4>\4\2\0=\3\0\2:\3\a\2>\0\3\2\16\1\0\0007\0\b\0>\0\2\1G\0\1\0\1À\2À\tfind\vfinder\18get_all_files\19orgmode.config\frequire\14new_table\1\0\1\17prompt_title\fOrgmode\topts\bnewó\b\1\0\6\0\28\00094\0\0\0%\1\1\0>\0\2\0027\0\2\0004\1\0\0%\2\3\0>\1\2\0027\1\4\0013\2\6\0003\3\5\0:\3\a\0023\3\b\0:\3\t\0023\3\v\0003\4\n\0:\4\f\0033\4\r\0:\4\14\3:\3\15\2>\1\2\0014\1\0\0%\2\16\0>\1\2\0024\2\0\0%\3\17\0>\2\2\2\16\3\0\0003\4\18\0001\5\19\0;\5\2\4>\3\2\0014\3\20\0007\3\21\3%\4\22\0>\3\2\0014\3\20\0007\3\21\3%\4\23\0>\3\2\0014\3\20\0007\3\21\3%\4\24\0>\3\2\0014\3\20\0007\3\21\3%\4\25\0>\3\2\0014\3\20\0007\3\21\3%\4\26\0>\3\2\0014\3\20\0007\3\21\3%\4\27\0>\3\2\0010\0\0€G\0\1\0_ command! OrgmodeArchive lua require('orgmode').action('org_mappings.toggle_archive_tag') Q command! OrgmodeTag lua require('orgmode').action('org_mappings.set_tags') ^ command! OrgmodeTodoCycle lua require('orgmode').action('org_mappings.todo_next_state') j command! OrgmodeInsert lua require('orgmode').action('org_mappings.insert_heading_respect_content') N command! OrgmodeCapture lua require('orgmode').action('capture.refile') F command! Orgmode lua require('orgmode').action('agenda.prompt') \bcmd\bvim\0\1\2\0\0\a;o\22telescope.finders\22telescope.pickers\25org_agenda_templates\6n\1\0\3\16description\tNote\vtarget!$HOME/.zk/.orgmode/notes.org\rtemplate\t* %?\6t\1\0\0\1\0\2\16description\tTodo\rtemplate\14* TODO %?\22org_todo_keywords\1\5\0\0\tTODO\tNEXT\bWIP\tDONE\21org_agenda_files\1\0\2\20org_indent_mode\rnoindent\27org_default_notes_file $HOME/.zk/.orgmode/todo.org\1\2\0\0\29$HOME/.zk/.orgmode/*.org\nsetup\forgmode\rnnoremap\22astronauta.keymap\frequire\0" },
     loaded = true,
     path = "/usr/local/share/nvim/site/pack/packer/start/orgmode.nvim"
   },