wbthomason / packer.nvim

A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
MIT License
7.91k stars 263 forks source link

Keys lazy loading mappings not working #732

Closed rmagatti closed 2 years ago

rmagatti commented 2 years ago

Steps to reproduce

Make keys based lazy loading for a plugin like fugitive.

use {
    "tpope/vim-fugitive",
    cmd = { "Git", "Gstatus", "Gblame", "Gpush", "Gpull", "Gvdiffsplit" },
    config = function()
        vim.cmd [[
            nnoremap <silent> <leader>gb :<C-u>Git blame<CR>
            nnoremap <leader>gd :Gvdiffsplit!<CR>
            nnoremap gj :diffget //2<CR>
            nnoremap g; :diffget //3<CR>
        ]]
    end,
    keys = {
        { "n", "<leader>gd" },
        { "n", "<leader>gb" },
    },
}

Actual behaviour

Hitting the <leader>gb for "git blame" mapping doesn't trigger the loading of fugitive.

Expected behaviour

Hitting the mapping triggers the loading of fugitive.

Notes

I think this has to do with the escaping of the < on the <leader>gb mapping. When I map the lazy load keys to gb only instead of with the leader key the lazy loading works perfectly fine. So really doesn't seem like a problem with the lazy loading, but something to do with the mapping for the lazy loaded key sequence not being unescaped correctly when applying it on startup.

Update: it seems to be using \ as leader instead of my leader key that's set to <space>.

Screen Shot 2021-12-15 at 4 15 54 PM

packer files

Plugin specification file(s) Post or link your plugin specification files here, if you aren't able to provide a minimal reproducer
packer log file Post the contents of ~/.cache/nvim/packer.nvim.log here Mine is empty, I had cleared it before, sorry.
packer compiled file ```lua -- Automatically generated packer.nvim plugin loader code if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') return end vim.api.nvim_command('packadd packer.nvim') local no_errors, error_msg = pcall(function() local time local profile_info local should_profile = false if should_profile then local hrtime = vim.loop.hrtime profile_info = {} time = function(chunk, start) if start then profile_info[chunk] = hrtime() else profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 end end else time = function(chunk, start) end end local function save_profiles(threshold) local sorted_times = {} for chunk_name, time_taken in pairs(profile_info) do sorted_times[#sorted_times + 1] = {chunk_name, time_taken} end table.sort(sorted_times, function(a, b) return a[2] > b[2] end) local results = {} for i, elem in ipairs(sorted_times) do if not threshold or threshold and elem[2] > threshold then results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' end end _G._packer = _G._packer or {} _G._packer.profile_output = results end time([[Luarocks path setup]], true) local package_path_str = "/Users/ronnieandrewmagatti/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?.lua;/Users/ronnieandrewmagatti/.cache/nvim/packer_hererocks/2.1.0-beta3/share/lua/5.1/?/init.lua;/Users/ronnieandrewmagatti/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?.lua;/Users/ronnieandrewmagatti/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/luarocks/rocks-5.1/?/init.lua" local install_cpath_pattern = "/Users/ronnieandrewmagatti/.cache/nvim/packer_hererocks/2.1.0-beta3/lib/lua/5.1/?.so" if not string.find(package.path, package_path_str, 1, true) then package.path = package.path .. ';' .. package_path_str end if not string.find(package.cpath, install_cpath_pattern, 1, true) then package.cpath = package.cpath .. ';' .. install_cpath_pattern end time([[Luarocks path setup]], false) time([[try_loadstring definition]], true) local function try_loadstring(s, component, name) local success, result = pcall(loadstring(s), name, _G.packer_plugins[name]) if not success then vim.schedule(function() vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) end) end return result end time([[try_loadstring definition]], false) time([[Defining packer_plugins]], true) _G.packer_plugins = { ["alternate-toggler"] = { config = { "\27LJ\2\n÷\1\0\0\6\0\t\0\r6\0\0\0009\0\1\0009\0\2\0'\2\3\0'\3\4\0'\4\5\0005\5\6\0B\0\5\0016\0\0\0009\0\a\0'\2\b\0B\0\2\1K\0\1\0002 let g:at_custom_alternates = {'===': '!=='} \bcmd\1\0\1\fnoremap\2Xlua require('alternate-toggler').toggleAlternate(vim.fn.expand(''))\20\6n\20nvim_set_keymap\bapi\bvim\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/alternate-toggler", url = "/Users/ronnieandrewmagatti/Projects/alternate-toggler" }, ["auto-session"] = { config = { "\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26rmagatti.auto-session\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/auto-session", url = "/Users/ronnieandrewmagatti/Projects/auto-session" }, ["bufferize.vim"] = { commands = { "Bufferize" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/bufferize.vim", url = "https://github.com/AndrewRadev/bufferize.vim" }, ["cheat.sh-vim"] = { commands = { "Cheat", "CheatPaste" }, keys = { { "n", "KB" }, { "n", "KK" }, { "n", "KP" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cheat.sh-vim", url = "https://github.com/dbeniamine/cheat.sh-vim" }, ["cmp-buffer"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-buffer/after/plugin/cmp_buffer.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-buffer", url = "https://github.com/hrsh7th/cmp-buffer" }, ["cmp-cmdline"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-cmdline/after/plugin/cmp_cmdline.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-cmdline", url = "https://github.com/hrsh7th/cmp-cmdline" }, ["cmp-npm"] = { config = { "\27LJ\2\n9\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\fcmp-npm\frequire\0" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-npm", url = "https://github.com/David-Kunz/cmp-npm" }, ["cmp-nvim-lsp"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp/after/plugin/cmp_nvim_lsp.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lsp", url = "https://github.com/hrsh7th/cmp-nvim-lsp" }, ["cmp-nvim-lua"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua/after/plugin/cmp_nvim_lua.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-nvim-lua", url = "https://github.com/hrsh7th/cmp-nvim-lua" }, ["cmp-path"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-path/after/plugin/cmp_path.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, ["cmp-rg"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-rg/after/plugin/cmp-rg.lua" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-rg", url = "https://github.com/lukas-reineke/cmp-rg" }, ["cmp-vsnip"] = { after_files = { "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-vsnip/after/plugin/cmp_vsnip.vim" }, load_after = { ["nvim-cmp"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/cmp-vsnip", url = "https://github.com/hrsh7th/cmp-vsnip" }, ["copilot.vim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/copilot.vim", url = "https://github.com/github/copilot.vim" }, ["diffview.nvim"] = { commands = { "DiffviewOpen" }, config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22rmagatti.diffview\frequire\0" }, keys = { { "", "ddo" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/diffview.nvim", url = "https://github.com/sindrets/diffview.nvim" }, firenvim = { config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22rmagatti.firenvim\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/firenvim", url = "https://github.com/glacambre/firenvim" }, ["friendly-snippets"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/friendly-snippets", url = "https://github.com/rafamadriz/friendly-snippets" }, fzf = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/fzf", url = "https://github.com/junegunn/fzf" }, ["fzf.vim"] = { load_after = { ["nvim-bqf"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/fzf.vim", url = "https://github.com/junegunn/fzf.vim" }, ["gitsigns.nvim"] = { config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22rmagatti.gitsigns\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/gitsigns.nvim", url = "https://github.com/lewis6991/gitsigns.nvim" }, ["goto-preview"] = { config = { "\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26rmagatti.goto-preview\frequire\0" }, keys = { { "n", "gpd" }, { "n", "gpi" }, { "n", "gpr" }, { "n", "gP" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/goto-preview", url = "/Users/ronnieandrewmagatti/Projects/goto-preview" }, ["igs.nvim"] = { config = { "\27LJ\2\nJ\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\21default_mappings\2\nsetup\bigs\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/igs.nvim", url = "/Users/ronnieandrewmagatti/Projects/igs.nvim" }, ["impatient.nvim"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/impatient.nvim", url = "https://github.com/lewis6991/impatient.nvim" }, ["indent-blankline.nvim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/indent-blankline.nvim", url = "https://github.com/lukas-reineke/indent-blankline.nvim" }, ["lightspeed.nvim"] = { config = { "\27LJ\2\n…\2\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\a\24jump_to_first_match\2\30full_inclusive_prefix_key\n\21limit_ft_matches\3\5+match_only_the_start_of_same_char_seqs\2\25grey_out_search_area\2\27highlight_unique_chars\1)jump_on_partial_input_safety_timeout\3\3\nsetup\15lightspeed\frequire\0" }, keys = { { "n", "s" }, { "n", "S" }, { "n", "f" }, { "n", "F" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/lightspeed.nvim", url = "https://github.com/ggandor/lightspeed.nvim" }, ["lsp-trouble.nvim"] = { commands = { "LspTrouble" }, config = { "\27LJ\2\nu\0\0\3\0\6\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\0016\0\3\0009\0\4\0'\2\5\0B\0\2\1K\0\1\0,nnoremap xx LspTrouble\bcmd\bvim\nsetup\ftrouble\frequire\0" }, keys = { { "", "xx" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/lsp-trouble.nvim", url = "https://github.com/folke/lsp-trouble.nvim" }, ["lsp_signature.nvim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/lsp_signature.nvim", url = "https://github.com/ray-x/lsp_signature.nvim" }, ["lspkind-nvim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/lspkind-nvim", url = "https://github.com/onsails/lspkind-nvim" }, ["lua-dev.nvim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/lua-dev.nvim", url = "https://github.com/folke/lua-dev.nvim" }, ["lualine.nvim"] = { config = { "\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21rmagatti.lualine\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/lualine.nvim", url = "https://github.com/nvim-lualine/lualine.nvim" }, neogit = { commands = { "Neogit" }, config = { "\27LJ\2\n™\1\0\0\4\0\t\0\r6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\4\0005\3\3\0=\3\5\2B\0\2\0016\0\6\0009\0\a\0'\2\b\0B\0\2\1K\0\1\0(nnoremap gg Neogit\bcmd\bvim\17integrations\1\0\0\1\0\1\rdiffview\2\nsetup\vneogit\frequire\0" }, keys = { { "n", "gg" } }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/neogit", url = "https://github.com/TimUntersberger/neogit" }, ["null-ls.nvim"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/null-ls.nvim", url = "https://github.com/jose-elias-alvarez/null-ls.nvim" }, ["nvim-autopairs"] = { config = { "\27LJ\2\n7\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\28rmagatti.nvim-autopairs\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-autopairs", url = "https://github.com/windwp/nvim-autopairs" }, ["nvim-bqf"] = { after = { "fzf.vim" }, config = { "\27LJ\2\nE\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\16auto_enable\2\nsetup\bbqf\frequire\0" }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-bqf", url = "https://github.com/kevinhwang91/nvim-bqf" }, ["nvim-cmp"] = { after = { "cmp-path", "cmp-nvim-lsp", "cmp-nvim-lua", "cmp-cmdline", "cmp-vsnip", "cmp-npm", "cmp-buffer", "cmp-rg" }, config = { "\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22rmagatti.nvim-cmp\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-cmp", url = "https://github.com/hrsh7th/nvim-cmp" }, ["nvim-dap"] = { after = { "nvim-dap-virtual-text", "nvim-dap-ui", "telescope-dap.nvim" }, config = { "\27LJ\2\na\0\0\3\0\5\0\n6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\0\0'\2\4\0B\0\2\1K\0\1\0\17rmagatti.dap\bdap\19load_extension\14telescope\frequire\0" }, keys = { { "n", "db" }, { "n", "dB" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-dap", url = "https://github.com/mfussenegger/nvim-dap" }, ["nvim-dap-ui"] = { config = { "\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24rmagatti.dap.dap-ui\frequire\0" }, load_after = { ["nvim-dap"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-dap-ui", url = "https://github.com/rcarriga/nvim-dap-ui" }, ["nvim-dap-virtual-text"] = { load_after = { ["nvim-dap"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-dap-virtual-text", url = "https://github.com/theHamsta/nvim-dap-virtual-text" }, ["nvim-lightbulb"] = { config = { "\27LJ\2\n7\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\28rmagatti.nvim-lightbulb\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-lightbulb", url = "https://github.com/kosayoda/nvim-lightbulb" }, ["nvim-lsp-installer"] = { config = { "\27LJ\2\n,\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\17rmagatti.lsp\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/nvim-lsp-installer", url = "https://github.com/williamboman/nvim-lsp-installer" }, ["nvim-lsp-ts-utils"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/nvim-lsp-ts-utils", url = "https://github.com/jose-elias-alvarez/nvim-lsp-ts-utils" }, ["nvim-lspconfig"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-lspconfig", url = "https://github.com/neovim/nvim-lspconfig" }, ["nvim-neoclip.lua"] = { config = { "\27LJ\2\nÁ\1\0\0\3\0\a\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\0016\0\4\0009\0\5\0'\2\6\0B\0\2\1K\0\1\0Vnnoremap y lua require('telescope').extensions.neoclip.default()\bcmd\bvim\1\0\1\30enable_persistant_history\2\nsetup\fneoclip\frequire\0" }, keys = { { "n", "y" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-neoclip.lua", url = "https://github.com/AckslD/nvim-neoclip.lua" }, ["nvim-toggleterm.lua"] = { commands = { "ToggleTerm", "ToggleTermOpenAll", "ToggleTermCloseAll" }, config = { "\27LJ\2\nU\0\1\2\0\3\0\f9\1\0\0\a\1\1\0X\1\3€)\1\25\0L\1\2\0X\1\5€9\1\0\0\a\1\2\0X\1\2€)\1P\0L\1\2\0K\0\1\0\rvertical\15horizontal\14directionè\5\1\0\a\0\28\00096\0\0\0'\2\1\0B\0\2\0029\1\2\0005\3\3\0003\4\4\0=\4\5\3B\1\2\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\n\0'\5\v\0005\6\f\0B\1\5\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\r\0'\5\14\0005\6\15\0B\1\5\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\16\0'\5\17\0005\6\18\0B\1\5\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\19\0'\5\20\0005\6\21\0B\1\5\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\22\0'\5\23\0005\6\24\0B\1\5\0016\1\6\0009\1\a\0019\1\b\1'\3\t\0'\4\25\0'\5\26\0005\6\27\0B\1\5\1K\0\1\0\1\0\1\fnoremap\2.4ToggleTerm direction='vertical'\154v\1\0\1\fnoremap\2.3ToggleTerm direction='vertical'\153v\1\0\1\fnoremap\2.2ToggleTerm direction='vertical'\152v\1\0\1\fnoremap\00204ToggleTerm direction='horizontal'\154s\1\0\1\fnoremap\00203ToggleTerm direction='horizontal'\153s\1\0\1\fnoremap\00202ToggleTerm direction='horizontal'\152s\6n\20nvim_set_keymap\bapi\bvim\tsize\0\1\0\3\20start_in_insert\1\17open_mapping\n\20insert_mappings\2\nsetup\15toggleterm\frequire\0" }, keys = { { "n", "" }, { "i", "" }, { "n", "2s" }, { "n", "3s" }, { "n", "4s" }, { "n", "2v" }, { "n", "3v" }, { "n", "4v" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-toggleterm.lua", url = "https://github.com/akinsho/nvim-toggleterm.lua" }, ["nvim-treesitter"] = { config = { "\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24rmagatti.treesitter\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/nvim-treesitter", url = "https://github.com/nvim-treesitter/nvim-treesitter" }, ["nvim-treesitter-textobjects"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textobjects", url = "https://github.com/nvim-treesitter/nvim-treesitter-textobjects" }, ["nvim-treesitter-textsubjects"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-treesitter-textsubjects", url = "https://github.com/RRethy/nvim-treesitter-textsubjects" }, ["nvim-ts-context-commentstring"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-ts-context-commentstring", url = "https://github.com/JoosepAlviste/nvim-ts-context-commentstring" }, ["nvim-ts-rainbow"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-ts-rainbow", url = "https://github.com/p00f/nvim-ts-rainbow" }, ["nvim-web-devicons"] = { config = { "\27LJ\2\n:\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\31rmagatti.nvim-web-devicons\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/nvim-web-devicons", url = "https://github.com/kyazdani42/nvim-web-devicons" }, ["packer.nvim"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/packer.nvim", url = "https://github.com/wbthomason/packer.nvim" }, playground = { commands = { "TSPlaygroundToggle" }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/playground", url = "https://github.com/nvim-treesitter/playground" }, ["plenary.nvim"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/plenary.nvim", url = "https://github.com/nvim-lua/plenary.nvim" }, ["popup.nvim"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/popup.nvim", url = "https://github.com/nvim-lua/popup.nvim" }, ["refactoring.nvim"] = { config = { "\27LJ\2\n¸\1\0\0\6\0\t\0\f6\0\0\0'\2\1\0B\0\2\0016\0\2\0009\0\3\0009\0\4\0'\2\5\0'\3\6\0'\4\a\0005\5\b\0B\0\5\1K\0\1\0\1\0\3\vsilent\2\texpr\2\fnoremap\2)call v:lua.list_refactors()\15re\6v\20nvim_set_keymap\bapi\bvim\25rmagatti.refactoring\frequire\0" }, keys = { { "v", "re" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/refactoring.nvim", url = "https://github.com/ThePrimeagen/refactoring.nvim" }, ["session-lens"] = { config = { "\27LJ\2\ns\0\0\3\0\5\0\n6\0\0\0'\2\1\0B\0\2\0016\0\0\0'\2\2\0B\0\2\0029\0\3\0'\2\4\0B\0\2\1K\0\1\0\17session-lens\19load_extension\14telescope\26rmagatti.session-lens\frequire\0" }, keys = { { "", "" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/session-lens", url = "/Users/ronnieandrewmagatti/Projects/session-lens" }, ["sqlite.lua"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/sqlite.lua", url = "https://github.com/tami5/sqlite.lua" }, ["symbols-outline.nvim"] = { commands = { "SymbolsOutline", "SymbolsOutlineOpen", "SymbolsOutlineClose" }, config = { "\27LJ\2\ni\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\2\27highlight_hovered_item\2\16show_guides\2\nsetup\20symbols-outline\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/symbols-outline.nvim", url = "https://github.com/simrat39/symbols-outline.nvim" }, ["targets.vim"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/targets.vim", url = "https://github.com/wellle/targets.vim" }, ["telescope-dap.nvim"] = { config = { "\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bdap\19load_extension\14telescope\frequire\0" }, load_after = { ["nvim-dap"] = true }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/telescope-dap.nvim", url = "https://github.com/nvim-telescope/telescope-dap.nvim" }, ["telescope-fzf-native.nvim"] = { config = { "\27LJ\2\nH\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\bfzf\19load_extension\14telescope\frequire\0" }, load_after = { ["telescope.nvim"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/telescope-fzf-native.nvim", url = "https://github.com/nvim-telescope/telescope-fzf-native.nvim" }, ["telescope-packer.nvim"] = { config = { "\27LJ\2\n±\1\0\0\3\0\a\0\v6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\0016\0\4\0009\0\5\0'\2\6\0B\0\2\1K\0\1\0Rnnoremap pl :lua require('telescope').extensions.packer.plugins()\bcmd\bvim\vpacker\19load_extension\14telescope\frequire\0" }, load_after = { ["telescope.nvim"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/telescope-packer.nvim", url = "https://github.com/nvim-telescope/telescope-packer.nvim" }, ["telescope-ui-select.nvim"] = { config = { "\27LJ\2\nN\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0'\2\3\0B\0\2\1K\0\1\0\14ui-select\19load_extension\14telescope\frequire\0" }, load_after = { ["telescope.nvim"] = true }, loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/telescope-ui-select.nvim", url = "/Users/ronnieandrewmagatti/Projects/telescope-ui-select.nvim" }, ["telescope.nvim"] = { after = { "telescope-ui-select.nvim", "telescope-packer.nvim", "telescope-fzf-native.nvim" }, commands = { "Telescope" }, config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23rmagatti.telescope\frequire\0" }, keys = { { "n", "" }, { "n", "ps" }, { "n", "pg" }, { "n", "pl" }, { "n", "b" }, { "n", "" } }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/telescope.nvim", url = "https://github.com/nvim-telescope/telescope.nvim" }, ["todo-comments.nvim"] = { commands = { "TodoQuickFix", "TodoTrouble", "TodoTelescope" }, config = { "\27LJ\2\n?\0\0\3\0\3\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0004\2\0\0B\0\2\1K\0\1\0\nsetup\18todo-comments\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/todo-comments.nvim", url = "https://github.com/folke/todo-comments.nvim" }, ["tokyonight.nvim"] = { config = { "\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24rmagatti.tokyonight\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/tokyonight.nvim", url = "https://github.com/folke/tokyonight.nvim" }, undotree = { config = { "\27LJ\2\nH\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0)nnoremap u :UndotreeShow\bcmd\bvim\0" }, keys = { { "", "u" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/undotree", url = "https://github.com/mbbill/undotree" }, ["vim-commentary"] = { keys = { { "n", "gc" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-commentary", url = "https://github.com/tpope/vim-commentary" }, ["vim-dirvish"] = { config = { "\27LJ\2\n³\2\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0“\2 command! VLeftDirvish leftabove vsplit | vertical resize 50 | silent Dirvish\n command! VLeftDirvishFile leftabove vsplit | vertical resize 50 | silent Dirvish %\n nnoremap fs :VLeftDirvish\n nnoremap ff :VLeftDirvishFile\n \bcmd\bvim\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/vim-dirvish", url = "https://github.com/justinmk/vim-dirvish" }, ["vim-dirvish-dovish"] = { config = { "\27LJ\2\n¹\a\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0™\a let g:dirvish_dovish_map_keys = 0\n\n augroup dirvish_config\n autocmd!\n \" unmap dirvish default\n autocmd FileType dirvish silent! unmap \n autocmd FileType dirvish silent! unmap p\n\n \" My mappings\n autocmd FileType dirvish silent! map i (dovish_create_file)\n autocmd FileType dirvish silent! map I (dovish_create_directory)\n autocmd FileType dirvish silent! map dd (dovish_delete)\n autocmd FileType dirvish silent! map r (dovish_rename)\n autocmd FileType dirvish silent! map yy (dovish_yank)\n autocmd FileType dirvish silent! map yy (dovish_yank)\n autocmd FileType dirvish silent! map p (dovish_copy)\n autocmd FileType dirvish silent! map P (dovish_move)\n augroup END\n \bcmd\bvim\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/vim-dirvish-dovish", url = "https://github.com/roginfarrer/vim-dirvish-dovish" }, ["vim-dirvish-git"] = { loaded = false, needs_bufread = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-dirvish-git", url = "https://github.com/kristijanhusak/vim-dirvish-git" }, ["vim-easy-align"] = { commands = { "EasyAlign" }, config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23rmagatti.easyalign\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-easy-align", url = "https://github.com/junegunn/vim-easy-align" }, ["vim-eunuch"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/vim-eunuch", url = "https://github.com/tpope/vim-eunuch" }, ["vim-exchange"] = { keys = { { "n", "cx" }, { "x", "X" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-exchange", url = "https://github.com/tommcdo/vim-exchange" }, ["vim-fugitive"] = { commands = { "Git", "Gstatus", "Gblame", "Gpush", "Gpull", "Gvdiffsplit" }, config = { "\27LJ\2\nÞ\1\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0¾\1 nnoremap gb :Git blame\n nnoremap gd :Gvdiffsplit!\n nnoremap gj :diffget //2\n nnoremap g; :diffget //3\n \bcmd\bvim\0" }, keys = { { "n", "gb" }, { "n", "gd" }, { "n", "gb" }, { "n", "hp" }, { "n", "hs" }, { "n", "hu" }, { "n", "hr" }, { "n", "hR" }, { "n", "hp" }, { "n", "hb" } }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-fugitive", url = "https://github.com/tpope/vim-fugitive" }, ["vim-grepper"] = { commands = { "Grepper", "(GrepperOperator)" }, config = { "\27LJ\2\nz\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0[ nmap gs (GrepperOperator)\n xmap gs (GrepperOperator)\n \bcmd\bvim\0" }, keys = { { "n", "gs" }, { "x", "gs" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-grepper", url = "https://github.com/mhinz/vim-grepper" }, ["vim-jsdoc"] = { commands = { "JsDoc" }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-jsdoc", url = "https://github.com/heavenshell/vim-jsdoc" }, ["vim-repeat"] = { loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/vim-repeat", url = "https://github.com/tpope/vim-repeat" }, ["vim-ripgrep"] = { commands = { "Rg" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-ripgrep", url = "https://github.com/jremmen/vim-ripgrep" }, ["vim-startuptime"] = { commands = { "StartupTime" }, config = { "vim.g.startuptime_tries = 10" }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-startuptime", url = "https://github.com/dstein64/vim-startuptime" }, ["vim-surround"] = { keys = { { "n", "cs" }, { "n", "ds" }, { "x", "S" }, { "n", "ys" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-surround", url = "https://github.com/tpope/vim-surround" }, ["vim-terraform"] = { loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-terraform", url = "https://github.com/hashivim/vim-terraform" }, ["vim-test"] = { config = { "\27LJ\2\n©\t\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0‰\t let g:test#javascript#mocha#file_pattern = '\\v(tests?/.*|(test))\\.(js|jsx|coffee|ts)$'\n let test#javascript#mocha#executable = 'yarn test'\n let test#javascript#jest#executable = 'yarn test'\n\n function! DebugStrategy(cmd)\n let runner = test#determine_runner(expand('%'))\n call luaeval(\"require('rmagatti.dap').debug\")(runner, a:cmd)\n endfunction\n\n function! SplitStrategy(cmd)\n vertical new | call termopen(a:cmd)\n endfunction\n let g:test#custom_strategies = {'terminal_split': function('SplitStrategy'), 'debug': function('DebugStrategy')}\n let g:test#strategy = 'terminal_split'\n\n \" Regular mappings\n nmap tt :TestNearest\n nmap tf :TestFile\n nmap ts :TestSuite\n nmap tl :TestLast\n nmap tv :TestVisit\n\n \" Debug mappings\n nmap tdt :TestNearest -strategy=debug\n nmap tdf :TestFile -strategy=debug\n nmap tds :TestSuite -strategy=debug\n nmap tdl :TestLast -strategy=debug\n nmap tdv :TestVisit -strategy=debug\n \bcmd\bvim\0" }, keys = { { "n", "tf" }, { "n", "tt" }, { "n", "ts" }, { "n", "tf" }, { "n", "tt" }, { "n", "tf" }, { "n", "ts" }, { "n", "tl" }, { "n", "tv" }, { "n", "tdt" }, { "n", "tdf" }, { "n", "tds" }, { "n", "tdl" }, { "n", "tdv" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-test", url = "https://github.com/vim-test/vim-test" }, ["vim-visual-multi"] = { keys = { { "", "" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-visual-multi", url = "https://github.com/mg979/vim-visual-multi" }, ["vim-vsnip"] = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-vsnip", url = "https://github.com/hrsh7th/vim-vsnip" }, vimpeccable = { loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vimpeccable", url = "https://github.com/svermeulen/vimpeccable" }, vimwiki = { keys = { { "n", "ww" }, { "n", "wi" }, { "n", "ww" }, { "n", "ws" } }, loaded = false, needs_bufread = true, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vimwiki", url = "https://github.com/vimwiki/vimwiki" }, ["which-key.nvim"] = { config = { "\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23rmagatti.which-key\frequire\0" }, loaded = true, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/start/which-key.nvim", url = "https://github.com/folke/which-key.nvim" }, ["zen-mode.nvim"] = { config = { "\27LJ\2\nî\1\0\0\5\0\v\0\0156\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\6\0005\3\4\0005\4\3\0=\4\5\3=\3\a\2B\0\2\0016\0\b\0009\0\t\0'\2\n\0B\0\2\1K\0\1\0h nnoremap zz :lua require(\"zen-mode\").toggle({ window = { width = .40 }})\n \bcmd\bvim\fplugins\1\0\0\nkitty\1\0\0\1\0\2\tfont\a+4\fenabled\2\nsetup\rzen-mode\frequire\0" }, keys = { { "", "zz" } }, loaded = false, needs_bufread = false, only_cond = false, path = "/Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/zen-mode.nvim", url = "https://github.com/folke/zen-mode.nvim" } } time([[Defining packer_plugins]], false) local module_lazy_loads = { ["^lightspeed"] = "lightspeed.nvim", ["^lsp_signature"] = "lsp_signature.nvim", ["^lspconfig"] = "nvim-lspconfig", ["^lspkind"] = "lspkind-nvim", ["^lua%-dev"] = "lua-dev.nvim", ["^nvim%-web%-devicons"] = "nvim-web-devicons", ["^telescope"] = "telescope.nvim", ["^telescope%._extensions%.dap"] = "telescope-dap.nvim", ["^vimp"] = "vimpeccable" } local lazy_load_called = {['packer.load'] = true} local function lazy_load_module(module_name) local to_load = {} if lazy_load_called[module_name] then return nil end lazy_load_called[module_name] = true for module_pat, plugin_name in pairs(module_lazy_loads) do if not _G.packer_plugins[plugin_name].loaded and string.match(module_name, module_pat) then to_load[#to_load + 1] = plugin_name end end if #to_load > 0 then require('packer.load')(to_load, {module = module_name}, _G.packer_plugins) local loaded_mod = package.loaded[module_name] if loaded_mod then return function(modname) return loaded_mod end end end end if not vim.g.packer_custom_loader_enabled then table.insert(package.loaders, 1, lazy_load_module) vim.g.packer_custom_loader_enabled = true end -- Setup for: vimwiki time([[Setup for vimwiki]], true) try_loadstring("\27LJ\2\n’\2\0\0\3\0\4\0\t6\0\0\0009\0\1\0'\2\2\0B\0\2\0016\0\0\0009\0\1\0'\2\3\0B\0\2\1K\0\1\0> let g:vimwiki_listsyms = '✗○◐●✓'\n ¨\1let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md', 'nested_syntaxes':{'python': 'python', 'c++': 'cpp', 'typescript': 'typescript'}}]\bcmd\bvim\0", "setup", "vimwiki") time([[Setup for vimwiki]], false) -- Setup for: indent-blankline.nvim time([[Setup for indent-blankline.nvim]], true) try_loadstring("\27LJ\2\n\1\0\0\2\0\6\0\t6\0\0\0009\0\1\0005\1\3\0=\1\2\0006\0\0\0009\0\1\0005\1\5\0=\1\4\0K\0\1\0\1\2\0\0\15toggleterm&indent_blankline_filetype_exclude\1\2\0\0\rterminal%indent_blankline_buftype_exclude\6g\bvim\0", "setup", "indent-blankline.nvim") time([[Setup for indent-blankline.nvim]], false) -- Config for: nvim-lsp-installer time([[Config for nvim-lsp-installer]], true) try_loadstring("\27LJ\2\n,\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\17rmagatti.lsp\frequire\0", "config", "nvim-lsp-installer") time([[Config for nvim-lsp-installer]], false) -- Config for: firenvim time([[Config for firenvim]], true) try_loadstring("\27LJ\2\n1\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\22rmagatti.firenvim\frequire\0", "config", "firenvim") time([[Config for firenvim]], false) -- Config for: which-key.nvim time([[Config for which-key.nvim]], true) try_loadstring("\27LJ\2\n2\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\23rmagatti.which-key\frequire\0", "config", "which-key.nvim") time([[Config for which-key.nvim]], false) -- Config for: lualine.nvim time([[Config for lualine.nvim]], true) try_loadstring("\27LJ\2\n0\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\21rmagatti.lualine\frequire\0", "config", "lualine.nvim") time([[Config for lualine.nvim]], false) -- Config for: nvim-treesitter time([[Config for nvim-treesitter]], true) try_loadstring("\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24rmagatti.treesitter\frequire\0", "config", "nvim-treesitter") time([[Config for nvim-treesitter]], false) -- Config for: tokyonight.nvim time([[Config for tokyonight.nvim]], true) try_loadstring("\27LJ\2\n3\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\24rmagatti.tokyonight\frequire\0", "config", "tokyonight.nvim") time([[Config for tokyonight.nvim]], false) -- Config for: vim-dirvish-dovish time([[Config for vim-dirvish-dovish]], true) try_loadstring("\27LJ\2\n¹\a\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0™\a let g:dirvish_dovish_map_keys = 0\n\n augroup dirvish_config\n autocmd!\n \" unmap dirvish default\n autocmd FileType dirvish silent! unmap \n autocmd FileType dirvish silent! unmap p\n\n \" My mappings\n autocmd FileType dirvish silent! map i (dovish_create_file)\n autocmd FileType dirvish silent! map I (dovish_create_directory)\n autocmd FileType dirvish silent! map dd (dovish_delete)\n autocmd FileType dirvish silent! map r (dovish_rename)\n autocmd FileType dirvish silent! map yy (dovish_yank)\n autocmd FileType dirvish silent! map yy (dovish_yank)\n autocmd FileType dirvish silent! map p (dovish_copy)\n autocmd FileType dirvish silent! map P (dovish_move)\n augroup END\n \bcmd\bvim\0", "config", "vim-dirvish-dovish") time([[Config for vim-dirvish-dovish]], false) -- Config for: vim-dirvish time([[Config for vim-dirvish]], true) try_loadstring("\27LJ\2\n³\2\0\0\3\0\3\0\0056\0\0\0009\0\1\0'\2\2\0B\0\2\1K\0\1\0“\2 command! VLeftDirvish leftabove vsplit | vertical resize 50 | silent Dirvish\n command! VLeftDirvishFile leftabove vsplit | vertical resize 50 | silent Dirvish %\n nnoremap fs :VLeftDirvish\n nnoremap ff :VLeftDirvishFile\n \bcmd\bvim\0", "config", "vim-dirvish") time([[Config for vim-dirvish]], false) -- Config for: auto-session time([[Config for auto-session]], true) try_loadstring("\27LJ\2\n5\0\0\3\0\2\0\0046\0\0\0'\2\1\0B\0\2\1K\0\1\0\26rmagatti.auto-session\frequire\0", "config", "auto-session") time([[Config for auto-session]], false) -- Config for: igs.nvim time([[Config for igs.nvim]], true) try_loadstring("\27LJ\2\nJ\0\0\3\0\4\0\a6\0\0\0'\2\1\0B\0\2\0029\0\2\0005\2\3\0B\0\2\1K\0\1\0\1\0\1\21default_mappings\2\nsetup\bigs\frequire\0", "config", "igs.nvim") time([[Config for igs.nvim]], false) -- Command lazy-loads time([[Defining lazy-load commands]], true) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file ToggleTerm lua require("packer.load")({'nvim-toggleterm.lua'}, { cmd = "ToggleTerm", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file ToggleTermOpenAll lua require("packer.load")({'nvim-toggleterm.lua'}, { cmd = "ToggleTermOpenAll", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file ToggleTermCloseAll lua require("packer.load")({'nvim-toggleterm.lua'}, { cmd = "ToggleTermCloseAll", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file LspTrouble lua require("packer.load")({'lsp-trouble.nvim'}, { cmd = "LspTrouble", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file JsDoc lua require("packer.load")({'vim-jsdoc'}, { cmd = "JsDoc", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Cheat lua require("packer.load")({'cheat.sh-vim'}, { cmd = "Cheat", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file CheatPaste lua require("packer.load")({'cheat.sh-vim'}, { cmd = "CheatPaste", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TodoTrouble lua require("packer.load")({'todo-comments.nvim'}, { cmd = "TodoTrouble", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TodoTelescope lua require("packer.load")({'todo-comments.nvim'}, { cmd = "TodoTelescope", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SymbolsOutlineOpen lua require("packer.load")({'symbols-outline.nvim'}, { cmd = "SymbolsOutlineOpen", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SymbolsOutlineClose lua require("packer.load")({'symbols-outline.nvim'}, { cmd = "SymbolsOutlineClose", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Bufferize lua require("packer.load")({'bufferize.vim'}, { cmd = "Bufferize", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file SymbolsOutline lua require("packer.load")({'symbols-outline.nvim'}, { cmd = "SymbolsOutline", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Git lua require("packer.load")({'vim-fugitive'}, { cmd = "Git", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Grepper lua require("packer.load")({'vim-grepper'}, { cmd = "Grepper", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[au CmdUndefined (GrepperOperator) ++once lua require"packer.load"({'vim-grepper'}, {}, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gpush lua require("packer.load")({'vim-fugitive'}, { cmd = "Gpush", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gpull lua require("packer.load")({'vim-fugitive'}, { cmd = "Gpull", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gvdiffsplit lua require("packer.load")({'vim-fugitive'}, { cmd = "Gvdiffsplit", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TSPlaygroundToggle lua require("packer.load")({'playground'}, { cmd = "TSPlaygroundToggle", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Telescope lua require("packer.load")({'telescope.nvim'}, { cmd = "Telescope", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file StartupTime lua require("packer.load")({'vim-startuptime'}, { cmd = "StartupTime", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file DiffviewOpen lua require("packer.load")({'diffview.nvim'}, { cmd = "DiffviewOpen", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file TodoQuickFix lua require("packer.load")({'todo-comments.nvim'}, { cmd = "TodoQuickFix", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file EasyAlign lua require("packer.load")({'vim-easy-align'}, { cmd = "EasyAlign", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Neogit lua require("packer.load")({'neogit'}, { cmd = "Neogit", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Rg lua require("packer.load")({'vim-ripgrep'}, { cmd = "Rg", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gstatus lua require("packer.load")({'vim-fugitive'}, { cmd = "Gstatus", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) pcall(vim.cmd, [[command -nargs=* -range -bang -complete=file Gblame lua require("packer.load")({'vim-fugitive'}, { cmd = "Gblame", l1 = , l2 = , bang = , args = , mods = "" }, _G.packer_plugins)]]) time([[Defining lazy-load commands]], false) -- Keymap lazy-loads time([[Defining lazy-load keymaps]], true) vim.cmd [[nnoremap 3v lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>3v", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ww lua require("packer.load")({'vimwiki'}, { keys = "leader>ww", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gs lua require("packer.load")({'vim-grepper'}, { keys = "gs", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tdv lua require("packer.load")({'vim-test'}, { keys = "leader>tdv", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gb lua require("packer.load")({'vim-fugitive'}, { keys = "leader>gb", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "C-\\>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap pg lua require("packer.load")({'telescope.nvim'}, { keys = "leader>pg", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap ddo lua require("packer.load")({'diffview.nvim'}, { keys = "leader>ddo", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tv lua require("packer.load")({'vim-test'}, { keys = "leader>tv", prefix = "" }, _G.packer_plugins)]] vim.cmd [[xnoremap X lua require("packer.load")({'vim-exchange'}, { keys = "X", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap KB lua require("packer.load")({'cheat.sh-vim'}, { keys = "leader>KB", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gpi lua require("packer.load")({'goto-preview'}, { keys = "gpi", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tf lua require("packer.load")({'vim-test'}, { keys = "leader>tf", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap lua require("packer.load")({'telescope.nvim'}, { keys = "M-CR>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap F lua require("packer.load")({'lightspeed.nvim'}, { keys = "F", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tf lua require("packer.load")({'vim-test'}, { keys = "leader>tf", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap 4s lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>4s", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap lua require("packer.load")({'vim-visual-multi'}, { keys = "C-n>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ys lua require("packer.load")({'vim-surround'}, { keys = "ys", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap KK lua require("packer.load")({'cheat.sh-vim'}, { keys = "leader>KK", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gg lua require("packer.load")({'neogit'}, { keys = "leader>gg", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gd lua require("packer.load")({'vim-fugitive'}, { keys = "leader>gd", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap dB lua require("packer.load")({'nvim-dap'}, { keys = "leader>dB", prefix = "" }, _G.packer_plugins)]] vim.cmd [[vnoremap re lua require("packer.load")({'refactoring.nvim'}, { keys = "leader>re", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tdf lua require("packer.load")({'vim-test'}, { keys = "leader>tdf", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap 2s lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>2s", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap 2v lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>2v", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap zz lua require("packer.load")({'zen-mode.nvim'}, { keys = "leader>zz", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ws lua require("packer.load")({'vimwiki'}, { keys = "leader>ws", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gpr lua require("packer.load")({'goto-preview'}, { keys = "gpr", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tt lua require("packer.load")({'vim-test'}, { keys = "leader>tt", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gb lua require("packer.load")({'vim-fugitive'}, { keys = "gb", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hR lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hR", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tf lua require("packer.load")({'vim-test'}, { keys = "leader>tf", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tl lua require("packer.load")({'vim-test'}, { keys = "leader>tl", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gc lua require("packer.load")({'vim-commentary'}, { keys = "gc", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap cx lua require("packer.load")({'vim-exchange'}, { keys = "cx", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap wi lua require("packer.load")({'vimwiki'}, { keys = "leader>wi", prefix = "" }, _G.packer_plugins)]] vim.cmd [[xnoremap gs lua require("packer.load")({'vim-grepper'}, { keys = "gs", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ts lua require("packer.load")({'vim-test'}, { keys = "leader>ts", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hp lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hp", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap b lua require("packer.load")({'telescope.nvim'}, { keys = "leader>b", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap lua require("packer.load")({'session-lens'}, { keys = "C-s>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tds lua require("packer.load")({'vim-test'}, { keys = "leader>tds", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap 3s lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>3s", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap lua require("packer.load")({'telescope.nvim'}, { keys = "C-p>", prefix = "" }, _G.packer_plugins)]] vim.cmd [[xnoremap S lua require("packer.load")({'vim-surround'}, { keys = "S", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ts lua require("packer.load")({'vim-test'}, { keys = "leader>ts", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hb lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hb", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tt lua require("packer.load")({'vim-test'}, { keys = "leader>tt", prefix = "" }, _G.packer_plugins)]] vim.cmd [[inoremap lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "C-\\>" }, _G.packer_plugins)]] vim.cmd [[nnoremap tdl lua require("packer.load")({'vim-test'}, { keys = "leader>tdl", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap KP lua require("packer.load")({'cheat.sh-vim'}, { keys = "leader>KP", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap xx lua require("packer.load")({'lsp-trouble.nvim'}, { keys = "leader>xx", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap tdt lua require("packer.load")({'vim-test'}, { keys = "leader>tdt", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hu lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hu", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap cs lua require("packer.load")({'vim-surround'}, { keys = "cs", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap y lua require("packer.load")({'nvim-neoclip.lua'}, { keys = "leader>y", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gP lua require("packer.load")({'goto-preview'}, { keys = "gP", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap s lua require("packer.load")({'lightspeed.nvim'}, { keys = "s", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ww lua require("packer.load")({'vimwiki'}, { keys = "leader>wleader>w", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap f lua require("packer.load")({'lightspeed.nvim'}, { keys = "f", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ds lua require("packer.load")({'vim-surround'}, { keys = "ds", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap 4v lua require("packer.load")({'nvim-toggleterm.lua'}, { keys = "leader>4v", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap S lua require("packer.load")({'lightspeed.nvim'}, { keys = "S", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hs lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hs", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap gpd lua require("packer.load")({'goto-preview'}, { keys = "gpd", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hr lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hr", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap hp lua require("packer.load")({'vim-fugitive'}, { keys = "leader>hp", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap ps lua require("packer.load")({'telescope.nvim'}, { keys = "leader>ps", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap pl lua require("packer.load")({'telescope.nvim'}, { keys = "leader>pl", prefix = "" }, _G.packer_plugins)]] vim.cmd [[noremap u lua require("packer.load")({'undotree'}, { keys = "leader>u", prefix = "" }, _G.packer_plugins)]] vim.cmd [[nnoremap db lua require("packer.load")({'nvim-dap'}, { keys = "leader>db", prefix = "" }, _G.packer_plugins)]] time([[Defining lazy-load keymaps]], false) vim.cmd [[augroup packer_load_aucmds]] vim.cmd [[au!]] -- Filetype lazy-loads time([[Defining lazy-load filetype autocommands]], true) vim.cmd [[au FileType qf ++once lua require("packer.load")({'nvim-bqf'}, { ft = "qf" }, _G.packer_plugins)]] vim.cmd [[au FileType javascript ++once lua require("packer.load")({'vim-jsdoc'}, { ft = "javascript" }, _G.packer_plugins)]] vim.cmd [[au FileType javascript.jsx ++once lua require("packer.load")({'vim-jsdoc'}, { ft = "javascript.jsx" }, _G.packer_plugins)]] vim.cmd [[au FileType typescript ++once lua require("packer.load")({'vim-jsdoc'}, { ft = "typescript" }, _G.packer_plugins)]] vim.cmd [[au FileType terraform ++once lua require("packer.load")({'vim-terraform'}, { ft = "terraform" }, _G.packer_plugins)]] vim.cmd [[au FileType lua ++once lua require("packer.load")({'lua-dev.nvim'}, { ft = "lua" }, _G.packer_plugins)]] vim.cmd [[au FileType vimwiki ++once lua require("packer.load")({'vimwiki'}, { ft = "vimwiki" }, _G.packer_plugins)]] vim.cmd [[au FileType markdown ++once lua require("packer.load")({'vimwiki'}, { ft = "markdown" }, _G.packer_plugins)]] time([[Defining lazy-load filetype autocommands]], false) -- Event lazy-loads time([[Defining lazy-load event autocommands]], true) vim.cmd [[au BufReadPost * ++once lua require("packer.load")({'fzf', 'nvim-ts-context-commentstring', 'alternate-toggler', 'nvim-lightbulb', 'nvim-treesitter-textsubjects', 'targets.vim', 'nvim-ts-rainbow', 'nvim-treesitter-textobjects'}, { event = "BufReadPost *" }, _G.packer_plugins)]] vim.cmd [[au BufRead * ++once lua require("packer.load")({'gitsigns.nvim'}, { event = "BufRead *" }, _G.packer_plugins)]] vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-autopairs', 'nvim-cmp', 'indent-blankline.nvim', 'copilot.vim'}, { event = "InsertEnter *" }, _G.packer_plugins)]] vim.cmd [[au BufReadPre * ++once lua require("packer.load")({'friendly-snippets', 'vim-vsnip'}, { event = "BufReadPre *" }, _G.packer_plugins)]] time([[Defining lazy-load event autocommands]], false) vim.cmd("augroup END") vim.cmd [[augroup filetypedetect]] time([[Sourcing ftdetect script at: /Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-terraform/ftdetect/hcl.vim]], true) vim.cmd [[source /Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-terraform/ftdetect/hcl.vim]] time([[Sourcing ftdetect script at: /Users/ronnieandrewmagatti/.local/share/nvim/site/pack/packer/opt/vim-terraform/ftdetect/hcl.vim]], false) vim.cmd("augroup END") if should_profile then save_profiles() end end) if not no_errors then vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') end ```
rmagatti commented 2 years ago

Ah, I figured it out. I recently transitioned to init.lua for my startup file and vim.g.mapleader = " " was being set after require "packer_compiled". Flipping that order fixed things!

Sorry for the noise.