SpunkyIceke42

joined 1 year ago
[–] SpunkyIceke42 1 points 9 months ago

It’s going in my .config/nvim/lua/config/autocmds.lua

I use lazyvim

[–] SpunkyIceke42 2 points 9 months ago* (last edited 9 months ago) (2 children)

I created an auto command for this

-- Ansible file pattern
  vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile", "BufEnter" }, {
    group = vim.api.nvim_create_augroup("Ansible", { clear = true }),
    pattern = {
      "*/roles/*/*/*.yaml",
      "*/roles/*/*/.yml",
      "main.yml",
      "main.yaml",
      "Debian*.yaml",
      "Debian*.yml",
      "*/ansible-devbox/*.yaml",
      "*/ansible-devbox/*.yml",
      "group_vars/*.yml",
      "group_vars/*.yaml",
      "files/*.yaml",
      "files/*.yml",
      "environments/*.yaml",
      "environments/*.yml,",
    },
    callback = function()
      vim.opt.filetype = "yaml.ansible"
    end,
  }),
14
submitted 11 months ago* (last edited 11 months ago) by SpunkyIceke42 to c/liftoff
 

I’d think the option to always open links in reader mode would be nice. As well as a search through comments.

[–] SpunkyIceke42 1 points 1 year ago (1 children)

Care to elaborate? We are using Caddy for several projects now, and I don’t see the advantages yet, my colleague swears by it.

[–] SpunkyIceke42 2 points 1 year ago

Liftoff! Why? Because I love swiping back from the middle of the screen instead of the sides.

[–] SpunkyIceke42 1 points 1 year ago

Special saus curry ketchup