diff --git a/lazy-lock.json b/lazy-lock.json index 5542a50..e3e61b0 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -11,7 +11,7 @@ "harpoon": { "branch": "harpoon2", "commit": "87b1a3506211538f460786c23f98ec63ad9af4e5" }, "hererocks": { "branch": "master", "commit": "88ef4650f1e62bb9a9f931eab024b2a167f17a5a" }, "indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" }, - "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, + "lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" }, "lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" }, "lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "4cfe411526a7a99c18281135e8b4765ae6330d15" }, @@ -27,7 +27,6 @@ "nvim-treesitter": { "branch": "main", "commit": "737088f8571293f6a1ef8cd6c858d5daf9a38162" }, "nvim-ufo": { "branch": "main", "commit": "72d54c31079d38d8dfc5456131b1d0fb5c0264b0" }, "nvim-web-devicons": { "branch": "master", "commit": "6788013bb9cb784e606ada44206b0e755e4323d7" }, - "obsidian.nvim": { "branch": "main", "commit": "95ab825e7722b456d2f21b72705814de2d05069e" }, "oil.nvim": { "branch": "master", "commit": "81b8a91735ad5cd24a6b3137f14a89f19176364f" }, "parrot.nvim": { "branch": "main", "commit": "dcae923c7070431c8cb628b19594ab640168684c" }, "plenary": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, diff --git a/lua/crentist/filetype.lua b/lua/crentist/filetype.lua index 501077b..601db98 100644 --- a/lua/crentist/filetype.lua +++ b/lua/crentist/filetype.lua @@ -18,3 +18,10 @@ vim.filetype.add({ } }) +vim.filetype.add({ + pattern = { + ['%.gitlab%-ci%.ya?ml'] = 'yaml.gitlab', + ['pipelines/.*%.ya?ml'] = 'yaml.gitlab', + }, +}) + diff --git a/lua/crentist/lazy/obsidian.lua b/lua/crentist/lazy/obsidian.lua deleted file mode 100644 index eb07e4d..0000000 --- a/lua/crentist/lazy/obsidian.lua +++ /dev/null @@ -1,61 +0,0 @@ -return { - 'obsidian-nvim/obsidian.nvim', - version = '*', -- recommended, use latest release instead of latest commit - dependencies = { - -- Required. - 'nvim-lua/plenary.nvim', - }, - keys = { - { 'ot', 'Obsidian today', desc = "Open today's daily note" }, - { 'os', 'Obsidian quick_switch', desc = 'Search notes in my vault and switch to selected' }, - }, - mappings = { - -- Overrides the 'gf' mapping to work on markdown/wiki links within your vault. - ["gf"] = { - action = function() - return require("obsidian").util.gf_passthrough() - end, - opts = { noremap = false, expr = true, buffer = true }, - }, - -- Toggle check-boxes. - ["ch"] = { - action = function() - return require("obsidian").util.toggle_checkbox() - end, - opts = { buffer = true }, - }, - -- Smart action depending on context, either follow link or toggle checkbox. - [""] = { - action = function() - return require("obsidian").util.smart_action() - end, - opts = { buffer = true, expr = true }, - }, - }, - opts = { - legacy_commands = false, - workspaces = { - { - name = 'tech-work-hobby', - path = '/Users/rtim/Documents/Notes/tech-work-hobby/', - }, - }, - daily_notes = { - folder = 'Daily', - date_format = '%Y-%m-%d (%A)', - default_tags = { 'daily' }, - template = 'Daily.md', - }, - templates = { - folder = 'Templates', - }, - completion = { - blink = true, - nvim_cmp = false, - }, - ui = { - enable = false, - }, - }, -} - diff --git a/lua/crentist/remap.lua b/lua/crentist/remap.lua index cf5b91d..0aa6780 100644 --- a/lua/crentist/remap.lua +++ b/lua/crentist/remap.lua @@ -21,7 +21,7 @@ vim.keymap.set("n", "N", "Nzzzv") -- save register on pasting vim.keymap.set("x", "p", [["_dP]]) --- next greatest remap ever : asbjornHaland +-- next greatest remap ever vim.keymap.set({"n", "v"}, "y", [["+y]]) vim.keymap.set("n", "Y", [["+Y]])