comparison .chezmoitemplates/init.lua @ 761:ec5b57266af2

feat: add lazy-lock.json as a symlink
author zegervdv <zegervdv@me.com>
date Sun, 12 Mar 2023 18:04:50 +0100
parents b64652ec91cb
children 67df970646c1
comparison
equal deleted inserted replaced
760:b64652ec91cb 761:ec5b57266af2
20 vim.opt.rtp:prepend(lazypath) 20 vim.opt.rtp:prepend(lazypath)
21 21
22 -- Set leader to space 22 -- Set leader to space
23 vim.g.mapleader = ' ' 23 vim.g.mapleader = ' '
24 24
25 require('lazy').setup { 25 require('lazy').setup({
26 -- General plugins 26 -- General plugins
27 { 'tpope/vim-sensible' }, 27 'tpope/vim-sensible',
28 { 'tpope/vim-repeat' }, 28 { 'tpope/vim-repeat' },
29 { 'tpope/vim-rsi' }, 29 { 'tpope/vim-rsi' },
30 { 'sgur/vim-editorconfig' }, 30 { 'sgur/vim-editorconfig' },
31 { 31 {
32 'ojroques/nvim-osc52', 32 'ojroques/nvim-osc52',
84 { 'vim-scripts/gitignore' }, 84 { 'vim-scripts/gitignore' },
85 85
86 { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } }, 86 { 'tpope/vim-git', ft = { 'gitcommit', 'gitrebase' } },
87 { 87 {
88 'sindrets/diffview.nvim', 88 'sindrets/diffview.nvim',
89 dev = true,
89 config = function() 90 config = function()
90 require('diffview').setup { 91 require('diffview').setup {
91 use_icons = false, 92 use_icons = false,
92 icons = { 93 icons = {
93 folder_closed = '+', 94 folder_closed = '+',
685 -- Colorscheme 686 -- Colorscheme
686 { 687 {
687 'zegervdv/espresso-tutti-colori.nvim', 688 'zegervdv/espresso-tutti-colori.nvim',
688 name = 'tutti-colori', 689 name = 'tutti-colori',
689 cond = not os.getenv 'DARKMODE', 690 cond = not os.getenv 'DARKMODE',
691 dev = true,
690 config = function() 692 config = function()
691 require('tutti-colori').setup() 693 require('tutti-colori').setup()
692 require('tutti-colori').load() 694 require('tutti-colori').load()
693 end, 695 end,
694 priority = 1000, 696 priority = 1000,
720 }, 722 },
721 }, 723 },
722 } 724 }
723 end, 725 end,
724 }, 726 },
725 } 727 }, {
728 dev = {
729 path = '~/Projects',
730 fallback = true,
731 },
732 ui = {
733 icons = {
734 cmd = '⌘',
735 config = '🛠',
736 event = '📅',
737 ft = '📂',
738 init = '⚙',
739 keys = '🗝',
740 plugin = '🔌',
741 runtime = '💻',
742 source = '📄',
743 start = '🚀',
744 task = '📌',
745 lazy = '💤 ',
746 },
747 },
748 })
726 749
727 -- Configuration 750 -- Configuration
728 vim.opt.backspace = { 'indent', 'eol', 'start' } -- Backspace everything 751 vim.opt.backspace = { 'indent', 'eol', 'start' } -- Backspace everything
729 752
730 vim.opt.autoread = true -- Read changed files 753 vim.opt.autoread = true -- Read changed files