obsidian and update to telescope for hidden files

pull/1649/head
Tawfeeq 3 months ago
parent 4fe0e2df2e
commit e9d73e2249

@ -0,0 +1 @@
HALOOBA

@ -515,12 +515,35 @@ require('lazy').setup({
-- You can put your default mappings / updates / etc. in here -- You can put your default mappings / updates / etc. in here
-- All the info you're looking for is in `:help telescope.setup()` -- All the info you're looking for is in `:help telescope.setup()`
-- --
-- defaults = { defaults = {
-- mappings = { mappings = {
-- i = { ['<c-enter>'] = 'to_fuzzy_refine' }, i = { ['<c-enter>'] = 'to_fuzzy_refine' },
-- }, },
-- }, vimgrep_arguments = {
-- pickers = {} 'rg',
'--hidden',
'--color=never',
'--no-heading',
'--with-filename',
'--line-number',
'--column',
'--smart-case',
},
},
pickers = {
find_files = {
file_ignore_patterns = { '.git' },
hidden = true,
},
live_grep = {
file_ignore_patterns = {
'.git',
},
additional_args = function(_)
return { '--hidden' }
end,
},
},
extensions = { extensions = {
['ui-select'] = { ['ui-select'] = {
require('telescope.themes').get_dropdown(), require('telescope.themes').get_dropdown(),

@ -3,6 +3,7 @@ return {
version = "*", -- recommended, use latest release instead of latest commit version = "*", -- recommended, use latest release instead of latest commit
lazy = true, lazy = true,
ft = "markdown", ft = "markdown",
conceallevel = 1,
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault: -- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
-- event = { -- event = {
-- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'. -- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
@ -21,11 +22,11 @@ return {
workspaces = { workspaces = {
{ {
name = "personal", name = "personal",
path = "~/vaults/personal", path = "/Users/tawfeeq/vaults/personal",
}, },
{ {
name = "work", name = "work",
path = "~/vaults/work", path = "/Users/tawfeeq/vaults/work",
}, },
}, },

Loading…
Cancel
Save