various plugin changes to make notes work
This commit is contained in:
parent
d5aaa05aca
commit
06c5d2415e
11 changed files with 131 additions and 56 deletions
|
|
@ -1,9 +1,9 @@
|
|||
return {
|
||||
'rmagatti/auto-session',
|
||||
config = function()
|
||||
require('auto-session').setup {
|
||||
log_level = 'error',
|
||||
auto_session_suppress_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
|
||||
}
|
||||
end,
|
||||
-- 'rmagatti/auto-session',
|
||||
-- config = function()
|
||||
-- require('auto-session').setup {
|
||||
-- log_level = 'error',
|
||||
-- auto_session_suppress_dirs = { '~/', '~/Projects', '~/Downloads', '/' },
|
||||
-- }
|
||||
-- end,
|
||||
}
|
||||
|
|
|
|||
39
lua/custom/plugins/dashboard.lua
Normal file
39
lua/custom/plugins/dashboard.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
return {
|
||||
'nvimdev/dashboard-nvim',
|
||||
event = 'VimEnter',
|
||||
config = function()
|
||||
require('dashboard').setup {
|
||||
theme = 'hyper',
|
||||
config = {
|
||||
week_header = {
|
||||
enable = true,
|
||||
},
|
||||
shortcut = {
|
||||
{ desc = ' Update', group = '@property', action = 'Lazy update', key = 'u' },
|
||||
{
|
||||
icon = ' ',
|
||||
icon_hl = '@variable',
|
||||
desc = 'Files',
|
||||
group = 'Label',
|
||||
action = 'Telescope find_files',
|
||||
key = 'f',
|
||||
},
|
||||
{
|
||||
desc = ' Daily Note',
|
||||
group = 'DiagnosticHint',
|
||||
action = 'ObsidianToday',
|
||||
key = 'o',
|
||||
},
|
||||
{
|
||||
desc = ' New File',
|
||||
group = 'Number',
|
||||
action = 'enew',
|
||||
key = 'n',
|
||||
},
|
||||
},
|
||||
},
|
||||
shortcut_type = 'number',
|
||||
}
|
||||
end,
|
||||
dependencies = { { 'nvim-tree/nvim-web-devicons' } },
|
||||
}
|
||||
9
lua/custom/plugins/easy-tables.lua
Normal file
9
lua/custom/plugins/easy-tables.lua
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
return {
|
||||
lazy = false,
|
||||
'Myzel394/easytables.nvim',
|
||||
config = function()
|
||||
require('easytables').setup {
|
||||
-- Your configuration comes here
|
||||
}
|
||||
end,
|
||||
}
|
||||
3
lua/custom/plugins/eunuch.lua
Normal file
3
lua/custom/plugins/eunuch.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'tpope/vim-eunuch',
|
||||
}
|
||||
5
lua/custom/plugins/marksman-lspconfig.lua
Normal file
5
lua/custom/plugins/marksman-lspconfig.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'williamboman/mason.nvim',
|
||||
'williamboman/mason-lspconfig.nvim',
|
||||
'neovim/nvim-lspconfig',
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
return {
|
||||
'jakewvincent/mkdnflow.nvim',
|
||||
config = function()
|
||||
require('mkdnflow').setup {
|
||||
-- Config goes here; leave blank for defaults
|
||||
links = {
|
||||
style = 'wiki',
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
return {
|
||||
'epwalsh/obsidian.nvim',
|
||||
version = '*', -- recommended, use latest release instead of latest commit
|
||||
lazy = true,
|
||||
lazy = false,
|
||||
ft = 'markdown',
|
||||
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
|
||||
-- event = {
|
||||
|
|
@ -53,21 +53,24 @@ return {
|
|||
},
|
||||
},
|
||||
|
||||
new_notes_location = '/',
|
||||
notes_subdir = 'Inbox',
|
||||
new_notes_location = 'notes_subdir',
|
||||
|
||||
preffered_link_style = 'wiki',
|
||||
note_id_func = function(title)
|
||||
return title
|
||||
end,
|
||||
|
||||
picker = {
|
||||
-- Set your preferred picker. Can be one of 'telescope.nvim', 'fzf-lua', or 'mini.pick'.
|
||||
name = 'telescope.nvim',
|
||||
-- Optional, configure key mappings for the picker. These are the defaults.
|
||||
-- Not all pickers support all mappings.
|
||||
mappings = {
|
||||
-- Create a new note from your query.
|
||||
new = '<C-x>',
|
||||
-- Insert a link to the selected note.
|
||||
insert_link = '<C-l>',
|
||||
},
|
||||
templates = {
|
||||
folder = 'Templates',
|
||||
date_format = '%Y-%m-%d-%a',
|
||||
time_format = '%H:%M',
|
||||
},
|
||||
|
||||
daily_notes = {
|
||||
folder = 'Daily Notes',
|
||||
date_format = '%Y-%m-%d',
|
||||
default_tags = { 'dailynote' },
|
||||
},
|
||||
|
||||
ui = {
|
||||
|
|
|
|||
3
lua/custom/plugins/zoxide.lua
Normal file
3
lua/custom/plugins/zoxide.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
'nanotee/zoxide.vim',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue