dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

init.lua (1818B)


      1 return {
      2   {
      3     "folke/which-key.nvim",
      4     config = function()
      5       vim.o.timeout = true
      6       vim.o.timeoutlen = 300
      7       require("which-key").setup()
      8     end
      9   },
     10 
     11 
     12   {
     13     'Eandrju/cellular-automaton.nvim',
     14     config = function()
     15       vim.keymap.set('n', 'q:', '<cmd>CellularAutomaton make_it_rain<CR>')
     16     end
     17   },
     18 
     19   {
     20     "nvim-mini/mini.align",
     21     opts = {
     22       mappings = {
     23         start_with_preview = 'ga',
     24       },
     25     },
     26   },
     27   {
     28     "nvim-mini/mini.ai",
     29     opts = {},
     30     event = "VeryLazy",
     31   },
     32   {
     33     "nvim-mini/mini.surround",
     34     config = function()
     35       -- Mappings similar to tpope/vim-surround
     36       require('mini.surround').setup({
     37         mappings = {
     38           add = 'ys',
     39           delete = 'ds',
     40           find = '',
     41           find_left = '',
     42           highlight = '',
     43           replace = 'cs',
     44         }
     45       })
     46 
     47       -- Remap adding surrounding to Visual mode selection
     48       vim.keymap.del('x', 'ys')
     49       vim.keymap.set('x', 'S', [[:<C-u>lua MiniSurround.add('visual')<CR>]], { silent = true })
     50 
     51       -- Make special mapping for "add surrounding for line"
     52       vim.keymap.set('n', 'yss', 'ys_', { remap = true })
     53     end,
     54     event = "VeryLazy",
     55   },
     56   { "nvim-mini/mini.operators", opts = {} },
     57   {
     58     "m00qek/baleia.nvim",
     59     version = "*",
     60     config = function()
     61       vim.g.baleia = require("baleia").setup({})
     62 
     63       -- Command to colorize the current buffer
     64       vim.api.nvim_create_user_command("BaleiaColorize", function()
     65         vim.g.baleia.once(vim.api.nvim_get_current_buf())
     66       end, { bang = true })
     67 
     68       -- Command to show logs
     69       vim.api.nvim_create_user_command("BaleiaLogs", vim.g.baleia.logger.show, { bang = true })
     70     end,
     71   },
     72   {
     73     'max397574/colortils.nvim',
     74     event = "VeryLazy",
     75     opts = {
     76       register = "0",
     77     },
     78   },
     79 }