Added Zettelkasten!
This commit is contained in:
parent
b6d268cc4e
commit
88628d13a5
|
@ -13,7 +13,19 @@ local neogit = require('neogit')
|
|||
|
||||
|
||||
|
||||
-- Launch panel if nothing is typed after <leader>z
|
||||
cmap("n", "<leader>z", "<cmd>Telekasten panel<CR>")
|
||||
|
||||
-- Most used functions
|
||||
cmap("n", "<leader>zf", "<cmd>Telekasten find_notes<CR>")
|
||||
cmap("n", "<leader>zg", "<cmd>Telekasten search_notes<CR>")
|
||||
cmap("n", "<leader>zt", "<cmd>Telekasten goto_today<CR>")
|
||||
cmap("n", "<leader>zn", "<cmd>Telekasten new_note<CR>")
|
||||
cmap("n", "<leader>zc", "<cmd>Telekasten show_calendar<CR>")
|
||||
cmap("n", "<leader>zb", "<cmd>Telekasten show_backlinks<CR>")
|
||||
|
||||
-- Call insert link automatically when we start typing a link
|
||||
cmap("i", "[[", "<cmd>Telekasten insert_link<CR>")
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -23,6 +23,20 @@ require("lazy").setup({
|
|||
-- colorscheme
|
||||
"EdenEast/nightfox.nvim",
|
||||
|
||||
-- Journaling and notes! with a calendar !
|
||||
{
|
||||
"renerocksai/telekasten.nvim",
|
||||
dependencies = {
|
||||
"nvim-telescope/telescope.nvim",
|
||||
"renerocksai/calendar-vim"
|
||||
},
|
||||
config = function ()
|
||||
require("telekasten").setup({
|
||||
home = vim.fn.expand("~/zettelkasten"), -- Put the name of your notes directory here
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
-- Focus more !
|
||||
"folke/twilight.nvim",
|
||||
"folke/zen-mode.nvim",
|
||||
|
@ -137,7 +151,7 @@ require("lazy").setup({
|
|||
|
||||
-- size does not matter
|
||||
{
|
||||
'echasnovski/mini.nvim',
|
||||
"echasnovski/mini.nvim",
|
||||
version = false,
|
||||
},
|
||||
|
||||
|
@ -171,18 +185,18 @@ require("lazy").setup({
|
|||
|
||||
-- this is pure magic, i love this guy
|
||||
{
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
"VonHeikemen/lsp-zero.nvim",
|
||||
branch = 'v2.x',
|
||||
dependencies = {
|
||||
-- LSP Support
|
||||
{'neovim/nvim-lspconfig'}, -- Required
|
||||
{'williamboman/mason.nvim'}, -- Optional
|
||||
{'williamboman/mason-lspconfig.nvim'}, -- Optional
|
||||
{"neovim/nvim-lspconfig"}, -- Required
|
||||
{"williamboman/mason.nvim"}, -- Optional
|
||||
{"williamboman/mason-lspconfig.nvim"}, -- Optional
|
||||
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'}, -- Required
|
||||
{'hrsh7th/cmp-nvim-lsp'}, -- Required
|
||||
{'L3MON4D3/LuaSnip'}, -- Required
|
||||
{"hrsh7th/nvim-cmp"}, -- Required
|
||||
{"hrsh7th/cmp-nvim-lsp"}, -- Required
|
||||
{"L3MON4D3/LuaSnip"}, -- Required
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue