Obsidian!

This commit is contained in:
secretspecter 2024-03-09 16:46:38 -07:00
parent 765df27844
commit e1e2c7f0be
4 changed files with 16 additions and 8 deletions

View file

@ -13,6 +13,7 @@ Configuration via Fennel. Tuned for s-expressions and prose.
- Completion and snippets via [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
- [vim-markdown](https://github.com/preservim/vim-markdown)
- s-expression power editing via [nvim-sexp](https://github.com/guns/vim-sexp), [for regular people](https://github.com/tpope/vim-sexp-mappings-for-regular-people)
- [Obsidian](https://github.com/epwalsh/obsidian.nvim) powered notes.
## Dependencies
To build some of the packages you will need:

View file

@ -43,15 +43,11 @@
(nmap :<C-w><tab> :<C-w>gt "Go to next tab (cyclical)")
(tmap :<C-w><tab> "<C-\\><C-n><C-w>gt" "Go to next tab (cyclical)")
(nmap :<leader>jt
#(vim.cmd (.. "vsplit ~/TDC-Obsidian/Journal/"
(os.date "%Y") "/"
(os.date "%m") "/"
(os.date "%Y-%m-%d")
".md"
"|$")
"Open today's journal"))
(nmap :<leader>oo
#(vim.cmd (.. "cd ~/TDC-Obsidian/|edit WIP.md")
"Open Obsidian"))
(nmap :<leader>p ":Telescope commands<cr>" "Search commands")
(nmap :<leader>o ":Telescope find_files<cr>" "Search filenames in :pwd")
(nmap :<leader>b ":Telescope buffers<cr>" "Search open buffers")
(nmap :<leader>s ":Telescope live_grep<cr>" "Search current buffer")

View file

@ -31,6 +31,16 @@
" && cmake --build build --config Release"
" && cmake --install build --prefix build")}
"https://github.com/xiyaowong/telescope-emoji.nvim"]}
{:url "https://github.com/epwalsh/obsidian.nvim"
:version "v3.7.1"
:ft "markdown"
:opts {:workspaces [{:name "TDC-Obsidian"
:path "/home/specter/TDC-Obsidian"}]
:daily_notes {:folder "Journal/"
:date_format "%Y/%m/%Y-%m-%d"}
:disable_frontmatter true
:ui {
:enable false}}}
"https://github.com/sainnhe/everforest"
"https://github.com/tamton-aquib/duck.nvim"]))

View file

@ -17,6 +17,7 @@
"nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" },
"nvim-lspconfig": { "branch": "master", "commit": "16295b79410f131c4fa7870c663b4ace6a761fb2" },
"nvim-treesitter": { "branch": "master", "commit": "7ff51f53b0efb6228df2e8539b51bb2e737b77f3" },
"obsidian.nvim": { "branch": "main", "commit": "b136c1545fb9c4888d37ba482bfc77f222bbdf52" },
"plenary.nvim": { "branch": "master", "commit": "f7adfc4b3f4f91aab6caebf42b3682945fbc35be" },
"telescope-emoji.nvim": { "branch": "master", "commit": "86248d97be84a1ce83f0541500ef9edc99ea2aa1" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },