26 files changed,
14 insertions(+),
604 deletions(-)
jump to
M
config/bspwm/bspwmrc
··· 13 13 R() { # Set rule 14 14 bspc rule -a $@ 15 15 } 16 - 17 16 #== Autostart 18 17 A feh --randomize --bg-scale ~/Pictures/wallp & 19 18 xautolock -time 5 -locker "slock" & ··· 42 41 C urgent_border_color "#FF6C6B" 43 42 44 43 #== BSPWM Rules 45 -R kitty desktop='^1' focus=on follow=on 46 -R Google-chrome desktop='^2' focus=on follow=on 47 -R Brave desktop='^2' focus=on follow=on 48 -R Code desktop='^3' focus=on follow=on state=fullscreen 49 -R Postman desktop='^4' focus=off follow=off 50 -R Simplenote desktop='^4' focus=off follow=off 51 -R Zathura desktop='^4' focus=on follow=on state=tiled 52 -R discord desktop='^5' focus=on follow=off 53 -R TelegramDesktop desktop='^5' focus=off follow=on 54 -R Nemo desktop='^5' focus=on follow=on 55 -R KeePassXC desktop='^6' focus=on follow=on 44 +R kitty desktop='^1' focus=on follow=on 45 +R Google-chrome desktop='^2' focus=on follow=on 46 +R Brave desktop='^2' focus=on follow=on 47 +R Code desktop='^3' focus=on follow=on state=fullscreen 48 +R jetbrains-webstorm desktop='^3' focus=on follow=on 49 +R Postman desktop='^4' focus=off follow=off 50 +R Simplenote desktop='^4' focus=off follow=off 51 +R Zathura desktop='^4' focus=on follow=on state=tiled 52 +R discord desktop='^5' focus=on follow=off 53 +R TelegramDesktop desktop='^5' focus=off follow=on 54 +R Nemo desktop='^5' focus=on follow=on 55 +R KeePassXC desktop='^6' focus=on follow=on
D
config/lvim/.luacheckrc
··· 1 --- vim: ft=lua 2 -stds.nvim = { 3 - globals = { 4 - vim = { fields = { "g" } }, 5 - "lvim", 6 - "O", 7 - }, 8 - read_globals = { 9 - -- vim = { fields = { "cmd", "api", "fn", "o" }} 10 - "jit", 11 - "os", 12 - "vim", 13 - }, 14 -} 15 -std = "lua51+nvim" 16 -self = false 17 -cache = true
D
config/lvim/config.lua
··· 1 ---- "lvim" configuration 2 -lvim.format_on_save = false 3 -lvim.lint_on_save = false 4 -lvim.colorscheme = "spacegray" 5 - 6 -lvim.builtin.dap.active = true 7 -lvim.builtin.dashboard.active = true 8 -lvim.builtin.terminal.active = true 9 -lvim.builtin.nvimtree.side = "right" 10 -lvim.builtin.nvimtree.show_icons.git = 0 11 -lvim.builtin.telescope = { 12 - defaults = { 13 - layout_config = { prompt_position = "top" }, 14 - file_ignore_patterns = { ".git", "node_modules", "env", "target" }, 15 - }, 16 -} 17 -lvim.builtin.treesitter = { 18 - ensure_installed = { "javascript", "typescript", "jsdoc", "python", "lua", "go" }, 19 - highlight = { enable = true }, 20 - intent = { disable = { "python" } }, 21 -} 22 - 23 ---- Keymappings 24 -lvim.leader = "space" 25 -lvim.keys.normal_mode["<C-s>"] = "<cmd>write<cr>" 26 -lvim.keys.normal_mode["<C-w>"] = "<cmd>BufferClose<cr>" 27 -lvim.keys.normal_mode["<A-h>"] = "<cmd>vert res +2<cr>" 28 -lvim.keys.normal_mode["<A-j>"] = "<cmd>res -2<cr>" 29 -lvim.keys.normal_mode["<A-k>"] = "<cmd>res +2<cr>" 30 -lvim.keys.normal_mode["<A-l>"] = "<cmd>vert res -2<cr>" 31 - 32 --- Beffer navigation 33 -for i = 1, 9 do 34 - lvim.keys.normal_mode[string.format("<A-%d>", i)] = string.format("<cmd>BufferGoto %d<cr>", i) 35 -end 36 - 37 -lvim.builtin.which_key.mappings["z"] = { "<cmd>ZenMode<cr>", "Zen" } 38 -lvim.builtin.which_key.mappings["t"] = { 39 - name = "Test", 40 - t = { "<cmd>Ultest<cr>", "Run test" }, 41 - s = { "<cmd>UltestStop<cr>", "Stop test" }, 42 - c = { "<cmd>UltestClear<cr>", "Clear test result" }, 43 - n = { "<cmd>UltestNearest<cr>", "Run test order by cursor" }, 44 - o = { "<cmd>UltestOutput<cr>", "Show output order by cursor" }, 45 - j = { "<Plug>(ultest-next-fail)", "Next fail" }, 46 - k = { "<Plug>(ultest-prev-fail)", "Prev fail" }, 47 -} 48 -lvim.builtin.which_key.mappings["r"] = { 49 - name = "Replace", 50 - r = { "<cmd>lua require('spectre').open()<cr>", "Replace" }, 51 - w = { "<cmd>lua require('spectre').open_visual({select_word=true})<cr>", "Replace Word" }, 52 - f = { "<cmd>lua require('spectre').open_file_search()<cr>", "Replace Buffer" }, 53 -} 54 - 55 ---- Plugins 56 -lvim.plugins = { 57 - { "tpope/vim-surround", keys = { "c", "d", "y" } }, 58 - { "folke/zen-mode.nvim", cmd = { "ZenMode" } }, 59 - { 60 - "rcarriga/vim-ultest", 61 - requires = { "vim-test/vim-test" }, 62 - cmd = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" }, 63 - run = "<cmd>UpdateRemotePlugins", 64 - }, 65 - { 66 - "vim-test/vim-test", 67 - cmd = { "TestFile", "TestLast", "TestSuite", "TestVisit", "TestMearest" }, 68 - }, 69 - { 70 - "windwp/nvim-spectre", 71 - event = "BufRead", 72 - config = function() 73 - require("user.spectre").setup() 74 - end, 75 - }, 76 - -- { "phaazon/hop.nvim", event = "BufRead", config = function() require("user.hop").setup() end }, 77 - { 78 - "vuki656/package-info.nvim", 79 - ft = "json", 80 - config = function() 81 - require("user.package-info").setup() 82 - end, 83 - }, 84 -} 85 - 86 ---- LSP 87 -lvim.lang.javascript.lsp.setup.handlers = { 88 - ["textDocument/publishDiagnostics"] = function(_, _, p, client_id, _, config) 89 - if p.diagnostics ~= nil then 90 - local i = 1 91 - while i <= #p.diagnostics do 92 - if p.diagnostics[i].code == 80001 then 93 - table.remove(p.diagnostics, i) 94 - else 95 - i = i + 1 96 - end 97 - end 98 - end 99 - vim.lsp.diagnostic.on_publish_diagnostics(_, _, p, client_id, _, config) 100 - end, 101 -}
D
config/lvim/lsp-settings/jsonls.json
··· 1 -{ 2 - "json.schemas": [ 3 - {"fileMatch": ["package.json"], "url": "https://json.schemastore.org/package.json"}, 4 - {"fileMatch": ["tsconfig.json","tsconfig.*.json"], "url": "http://json.schemastore.org/tsconfig"}, 5 - {"fileMatch": ["lerna.json"], "url": "http://json.schemastore.org/lerna"}, 6 - {"fileMatch": [".babelrc.json", ".babelrc", "babel.config.json"], "url": "http://json.schemastore.org/lerna"}, 7 - {"fileMatch": [".eslintrc.json", ".eslintrc"], "url": "http://json.schemastore.org/eslintrc"}, 8 - {"fileMatch": ["bsconfig.json"], "url": "https://bucklescript.github.io/bucklescript/docson/build-schema.json"}, 9 - {"fileMatch": [".prettierrc", ".prettierrc.json", "prettier.config.json"], "url": "http://json.schemastore.org/prettierrc"}, 10 - {"fileMatch": ["now.json"], "url": "http://json.schemastore.org/now"}, 11 - {"fileMatch": ["openapi.json", "swagger.json"], "url": "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"}, 12 - {"fileMatch": ["nest-cli.json"], "url": "https://json.schemastore.org/nest-cli.json"}, 13 - {"fileMatch": ["nodemon.json"], "url": "https://json.schemastore.org/nodemon.json"} 14 - ] 15 -}
D
config/lvim/lsp-settings/yamlls.json
··· 1 -{ 2 - "yaml.schemas": { 3 - "https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [ 4 - "docker-compose.yml", 5 - "docker-compose.yaml" 6 - ], 7 - "https://json.schemastore.org/ansible-playbook.json": [ 8 - "*/playbook/**/*.yml", 9 - "*/playbooks/**/*.yml", 10 - "*/playbook/**/*.yaml", 11 - "*/playbooks/**/*.yaml" 12 - ], 13 - "https://json.schemastore.org/yamllint.json": [ 14 - ".yamllint", 15 - ".yamllint.yml", 16 - ".yamllint.yaml" 17 - ], 18 - "https://yarnpkg.com/configuration/yarnrc.json": [ 19 - ".yarnrc", 20 - ".yarnrc.yml" 21 - ], 22 - "https://json.schemastore.org/github-action.json": [ 23 - "*/.github/workflows/**/*.yml", 24 - "*/.github/workflows/**/*.yaml" 25 - ], 26 - "https://json.schemastore.org/gitlab-ci.json": [ 27 - ".gitlab-ci.yml" 28 - ], 29 - "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json": [ 30 - "openapi.yaml", 31 - "openapi.yml", 32 - "swagger.yml", 33 - "swagger.yal" 34 - ] 35 - } 36 -}
D
config/lvim/lua/user/hop.lua
··· 1 -local M = {} 2 - 3 -function M.map(mode, key, cmd) 4 - vim.api.nvim_set_keymap(mode, key, cmd, { silent = true }) 5 -end 6 - 7 -M.setup = function() 8 - require("hop").setup() 9 - 10 - M.map("n", "f", "<cmd>HopWord<cr>") 11 - M.map("n", "F", "<cmd>HopLine<cr>") 12 -end 13 - 14 -return M
D
config/lvim/lua/user/package-info.lua
··· 1 -local M = {} 2 - 3 -M.setup = function() 4 - require("package-info").setup { 5 - { 6 - autostart = true, 7 - colors = { 8 - up_to_date = "#3C4048", 9 - outdated = "#6ec0fa", 10 - }, 11 - icons = { 12 - enable = true, 13 - style = { 14 - up_to_date = "| ", 15 - outdated = "| ", 16 - }, 17 - }, 18 - }, 19 - } 20 -end 21 - 22 -return M
D
config/lvim/lua/user/spectre.lua
··· 1 -local M = {} 2 - 3 -M.setup = function() 4 - require("spectre").setup { 5 - color_devicons = true, 6 - highlights = { ui = "String", search = "DiffChange", replace = "DiffDelete" }, 7 - find_engine = { 8 - ["rg"] = { 9 - cmd = "rg", 10 - args = { "--color=never", "--no-heading", "--with-filename", "--line-number", "--column" }, 11 - options = { 12 - ["ignore-case"] = { value = "--ignore-case", icon = "[I]", desc = "ignore case" }, 13 - ["hidden"] = { value = "--hidden", desc = "hidden file", icon = "[H]" }, 14 - }, 15 - }, 16 - }, 17 - } 18 -end 19 - 20 -return M
D
config/lvim/lvim/ftplugin/lua.lua
··· 1 -lvim.lang.lua.formatters = { { exe = "stylua" } } 2 -lvim.lang.lua.linters = { { exe = "luacheck" } }
D
config/lvim/lvim/lsp-settings/jsonls.json
··· 1 -/home/sasha/.dotfiles/config/lvim/lsp-settings/jsonls.json
D
config/lvim/lvim/lsp-settings/yamlls.json
··· 1 -/home/sasha/.dotfiles/config/lvim/lsp-settings/yamlls.json
D
config/lvim/lvim/lua/user/conjure.lua
··· 1 -/home/sasha/.dotfiles/config/lvim/lua/user/conjure.lua
D
config/lvim/lvim/lua/user/package-info.lua
··· 1 -/home/sasha/.dotfiles/config/lvim/lua/user/package-info.lua
D
config/lvim/lvim/lua/user/spectre.lua
··· 1 -/home/sasha/.dotfiles/config/lvim/lua/user/spectre.lua
D
config/lvim/lvim/plugin/packer_compiled.lua
··· 1 --- Automatically generated packer.nvim plugin loader code 2 - 3 -if vim.api.nvim_call_function('has', {'nvim-0.5'}) ~= 1 then 4 - vim.api.nvim_command('echohl WarningMsg | echom "Invalid Neovim version for packer.nvim! | echohl None"') 5 - return 6 -end 7 - 8 -vim.api.nvim_command('packadd packer.nvim') 9 - 10 -local no_errors, error_msg = pcall(function() 11 - 12 - local time 13 - local profile_info 14 - local should_profile = false 15 - if should_profile then 16 - local hrtime = vim.loop.hrtime 17 - profile_info = {} 18 - time = function(chunk, start) 19 - if start then 20 - profile_info[chunk] = hrtime() 21 - else 22 - profile_info[chunk] = (hrtime() - profile_info[chunk]) / 1e6 23 - end 24 - end 25 - else 26 - time = function(chunk, start) end 27 - end 28 - 29 -local function save_profiles(threshold) 30 - local sorted_times = {} 31 - for chunk_name, time_taken in pairs(profile_info) do 32 - sorted_times[#sorted_times + 1] = {chunk_name, time_taken} 33 - end 34 - table.sort(sorted_times, function(a, b) return a[2] > b[2] end) 35 - local results = {} 36 - for i, elem in ipairs(sorted_times) do 37 - if not threshold or threshold and elem[2] > threshold then 38 - results[i] = elem[1] .. ' took ' .. elem[2] .. 'ms' 39 - end 40 - end 41 - 42 - _G._packer = _G._packer or {} 43 - _G._packer.profile_output = results 44 -end 45 - 46 -time([[Luarocks path setup]], true) 47 -local package_path_str = "/home/sasha/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/share/lua/5.1/?/init.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?.lua;/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/luarocks/rocks-5.1/?/init.lua" 48 -local install_cpath_pattern = "/home/sasha/.cache/nvim/packer_hererocks/2.0.5/lib/lua/5.1/?.so" 49 -if not string.find(package.path, package_path_str, 1, true) then 50 - package.path = package.path .. ';' .. package_path_str 51 -end 52 - 53 -if not string.find(package.cpath, install_cpath_pattern, 1, true) then 54 - package.cpath = package.cpath .. ';' .. install_cpath_pattern 55 -end 56 - 57 -time([[Luarocks path setup]], false) 58 -time([[try_loadstring definition]], true) 59 -local function try_loadstring(s, component, name) 60 - local success, result = pcall(loadstring(s)) 61 - if not success then 62 - vim.schedule(function() 63 - vim.api.nvim_notify('packer.nvim: Error running ' .. component .. ' for ' .. name .. ': ' .. result, vim.log.levels.ERROR, {}) 64 - end) 65 - end 66 - return result 67 -end 68 - 69 -time([[try_loadstring definition]], false) 70 -time([[Defining packer_plugins]], true) 71 -_G.packer_plugins = { 72 - ["DAPInstall.nvim"] = { 73 - loaded = true, 74 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/DAPInstall.nvim" 75 - }, 76 - ["barbar.nvim"] = { 77 - config = { "\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\15bufferline\fbuiltin\tlvim\nsetup\20core.bufferline\frequire\0" }, 78 - loaded = false, 79 - needs_bufread = false, 80 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/barbar.nvim" 81 - }, 82 - ["dashboard-nvim"] = { 83 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14dashboard\fbuiltin\tlvim\nsetup\19core.dashboard\frequire\0" }, 84 - loaded = false, 85 - needs_bufread = false, 86 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/dashboard-nvim" 87 - }, 88 - ["friendly-snippets"] = { 89 - loaded = false, 90 - needs_bufread = false, 91 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/friendly-snippets" 92 - }, 93 - ["galaxyline.nvim"] = { 94 - config = { "\27LJ\1\2\1\0\0\3\0\6\0\0184\0\0\0%\1\1\0>\0\2\0014\0\2\0007\0\3\0007\0\4\0007\0\5\0\15\0\0\0T\1\b4\0\2\0007\0\3\0007\0\4\0007\0\5\0004\1\0\0%\2\4\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\15galaxyline\fbuiltin\tlvim\20core.galaxyline\frequire\0" }, 95 - loaded = false, 96 - needs_bufread = false, 97 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/galaxyline.nvim" 98 - }, 99 - ["gitsigns.nvim"] = { 100 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\rgitsigns\fbuiltin\tlvim\nsetup\18core.gitsigns\frequire\0" }, 101 - loaded = false, 102 - needs_bufread = false, 103 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/gitsigns.nvim" 104 - }, 105 - ["nlsp-settings.nvim"] = { 106 - loaded = true, 107 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nlsp-settings.nvim" 108 - }, 109 - ["null-ls.nvim"] = { 110 - loaded = true, 111 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/null-ls.nvim" 112 - }, 113 - ["nvim-autopairs"] = { 114 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0184\0\0\0%\1\1\0>\0\2\0014\0\2\0007\0\3\0007\0\4\0007\0\5\0\15\0\0\0T\1\b4\0\2\0007\0\3\0007\0\4\0007\0\5\0004\1\0\0%\2\6\0>\1\2\0=\0\0\1G\0\1\0\19nvim-autopairs\19on_config_done\14autopairs\fbuiltin\tlvim\19core.autopairs\frequire\0" }, 115 - load_after = { 116 - ["nvim-compe"] = true 117 - }, 118 - loaded = false, 119 - needs_bufread = false, 120 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-autopairs" 121 - }, 122 - ["nvim-comment"] = { 123 - config = { "\27LJ\1\2\1\0\0\5\0\f\0\0314\0\0\0004\1\1\0%\2\2\0>\0\3\3\14\0\0\0T\2\n4\2\1\0%\3\3\0>\2\2\2\16\4\2\0007\3\4\2>\3\2\0027\3\5\3%\4\6\0>\3\2\1G\0\1\0007\2\a\1>\2\1\0014\2\b\0007\2\t\0027\2\n\0027\2\v\2\15\0\2\0T\3\64\2\b\0007\2\t\0027\2\n\0027\2\v\2\16\3\1\0>\2\2\1G\0\1\0\19on_config_done\fcomment\fbuiltin\tlvim\nsetup Failed to load nvim-comment\nerror\16get_default\rcore.log\17nvim_comment\frequire\npcall\0" }, 124 - loaded = false, 125 - needs_bufread = false, 126 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-comment" 127 - }, 128 - ["nvim-compe"] = { 129 - after = { "nvim-autopairs" }, 130 - after_files = { "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-compe/after/plugin/compe.vim" }, 131 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\ncompe\fbuiltin\tlvim\nsetup\15core.compe\frequire\0" }, 132 - loaded = false, 133 - needs_bufread = false, 134 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-compe" 135 - }, 136 - ["nvim-dap"] = { 137 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\bdap\fbuiltin\tlvim\nsetup\rcore.dap\frequire\0" }, 138 - loaded = true, 139 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-dap" 140 - }, 141 - ["nvim-lspconfig"] = { 142 - loaded = true, 143 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-lspconfig" 144 - }, 145 - ["nvim-lspinstall"] = { 146 - config = { "\27LJ\1\2\1\0\0\3\0\6\0\0184\0\0\0%\1\1\0>\0\2\0027\1\2\0>\1\1\0014\1\3\0007\1\4\0017\1\1\0017\1\5\1\15\0\1\0T\2\64\1\3\0007\1\4\0017\1\1\0017\1\5\1\16\2\0\0>\1\2\1G\0\1\0\19on_config_done\fbuiltin\tlvim\nsetup\15lspinstall\frequire\0" }, 147 - loaded = false, 148 - needs_bufread = false, 149 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-lspinstall" 150 - }, 151 - ["nvim-spectre"] = { 152 - config = { "\27LJ\1\2:\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\17user.spectre\frequire\0" }, 153 - loaded = false, 154 - needs_bufread = false, 155 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-spectre" 156 - }, 157 - ["nvim-toggleterm.lua"] = { 158 - config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\15toggleterm\19on_config_done\rterminal\fbuiltin\tlvim\nsetup\18core.terminal\frequire\0" }, 159 - loaded = false, 160 - needs_bufread = false, 161 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/nvim-toggleterm.lua" 162 - }, 163 - ["nvim-tree.lua"] = { 164 - config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\21nvim-tree.config\19on_config_done\rnvimtree\fbuiltin\tlvim\nsetup\18core.nvimtree\frequire\0" }, 165 - loaded = true, 166 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-tree.lua" 167 - }, 168 - ["nvim-treesitter"] = { 169 - config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\28nvim-treesitter.configs\19on_config_done\15treesitter\fbuiltin\tlvim\nsetup\20core.treesitter\frequire\0" }, 170 - loaded = true, 171 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-treesitter" 172 - }, 173 - ["nvim-web-devicons"] = { 174 - loaded = true, 175 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/nvim-web-devicons" 176 - }, 177 - ["package-info.nvim"] = { 178 - config = { "\27LJ\1\2?\0\0\2\0\3\0\0064\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\1G\0\1\0\nsetup\22user.package-info\frequire\0" }, 179 - loaded = false, 180 - needs_bufread = false, 181 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/package-info.nvim" 182 - }, 183 - ["packer.nvim"] = { 184 - loaded = true, 185 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/packer.nvim" 186 - }, 187 - ["plenary.nvim"] = { 188 - loaded = true, 189 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/plenary.nvim" 190 - }, 191 - ["popup.nvim"] = { 192 - loaded = true, 193 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/popup.nvim" 194 - }, 195 - ["telescope.nvim"] = { 196 - config = { "\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14telescope\fbuiltin\tlvim\nsetup\19core.telescope\frequire\0" }, 197 - loaded = true, 198 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/telescope.nvim" 199 - }, 200 - ["vim-rooter"] = { 201 - config = { "\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\vrooter\fbuiltin\tlvim\nsetup\16core.rooter\frequire\0" }, 202 - loaded = true, 203 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/start/vim-rooter" 204 - }, 205 - ["vim-surround"] = { 206 - keys = { { "", "c" }, { "", "d" }, { "", "y" } }, 207 - loaded = false, 208 - needs_bufread = false, 209 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-surround" 210 - }, 211 - ["vim-test"] = { 212 - commands = { "TestFile", "TestLast", "TestSuite", "TestVisit", "TestMearest" }, 213 - loaded = false, 214 - needs_bufread = false, 215 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-test" 216 - }, 217 - ["vim-ultest"] = { 218 - commands = { "Ultest", "UltestStop", "UltestClear", "UltestNearest", "UltestOutput" }, 219 - loaded = false, 220 - needs_bufread = false, 221 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-ultest" 222 - }, 223 - ["vim-vsnip"] = { 224 - loaded = false, 225 - needs_bufread = false, 226 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/vim-vsnip" 227 - }, 228 - ["which-key.nvim"] = { 229 - config = { "\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\14which-key\19on_config_done\14which_key\fbuiltin\tlvim\nsetup\19core.which-key\frequire\0" }, 230 - loaded = false, 231 - needs_bufread = false, 232 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/which-key.nvim" 233 - }, 234 - ["zen-mode.nvim"] = { 235 - commands = { "ZenMode" }, 236 - loaded = false, 237 - needs_bufread = false, 238 - path = "/home/sasha/.local/share/lunarvim/site/pack/packer/opt/zen-mode.nvim" 239 - } 240 -} 241 - 242 -time([[Defining packer_plugins]], false) 243 --- Config for: nvim-treesitter 244 -time([[Config for nvim-treesitter]], true) 245 -try_loadstring("\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\28nvim-treesitter.configs\19on_config_done\15treesitter\fbuiltin\tlvim\nsetup\20core.treesitter\frequire\0", "config", "nvim-treesitter") 246 -time([[Config for nvim-treesitter]], false) 247 --- Config for: nvim-dap 248 -time([[Config for nvim-dap]], true) 249 -try_loadstring("\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\bdap\fbuiltin\tlvim\nsetup\rcore.dap\frequire\0", "config", "nvim-dap") 250 -time([[Config for nvim-dap]], false) 251 --- Config for: nvim-tree.lua 252 -time([[Config for nvim-tree.lua]], true) 253 -try_loadstring("\27LJ\1\2\1\0\0\3\0\b\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\a\0>\1\2\0=\0\0\1G\0\1\0\21nvim-tree.config\19on_config_done\rnvimtree\fbuiltin\tlvim\nsetup\18core.nvimtree\frequire\0", "config", "nvim-tree.lua") 254 -time([[Config for nvim-tree.lua]], false) 255 --- Config for: vim-rooter 256 -time([[Config for vim-rooter]], true) 257 -try_loadstring("\27LJ\1\2\1\0\0\2\0\a\0\0174\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\54\0\3\0007\0\4\0007\0\5\0007\0\6\0>\0\1\1G\0\1\0\19on_config_done\vrooter\fbuiltin\tlvim\nsetup\16core.rooter\frequire\0", "config", "vim-rooter") 258 -time([[Config for vim-rooter]], false) 259 --- Config for: telescope.nvim 260 -time([[Config for telescope.nvim]], true) 261 -try_loadstring("\27LJ\1\2\1\0\0\3\0\a\0\0204\0\0\0%\1\1\0>\0\2\0027\0\2\0>\0\1\0014\0\3\0007\0\4\0007\0\5\0007\0\6\0\15\0\0\0T\1\b4\0\3\0007\0\4\0007\0\5\0007\0\6\0004\1\0\0%\2\5\0>\1\2\0=\0\0\1G\0\1\0\19on_config_done\14telescope\fbuiltin\tlvim\nsetup\19core.telescope\frequire\0", "config", "telescope.nvim") 262 -time([[Config for telescope.nvim]], false) 263 - 264 --- Command lazy-loads 265 -time([[Defining lazy-load commands]], true) 266 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestStop lua require("packer.load")({'vim-ultest'}, { cmd = "UltestStop", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 267 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestFile lua require("packer.load")({'vim-test'}, { cmd = "TestFile", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 268 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestSuite lua require("packer.load")({'vim-test'}, { cmd = "TestSuite", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 269 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file ZenMode lua require("packer.load")({'zen-mode.nvim'}, { cmd = "ZenMode", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 270 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestOutput lua require("packer.load")({'vim-ultest'}, { cmd = "UltestOutput", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 271 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestLast lua require("packer.load")({'vim-test'}, { cmd = "TestLast", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 272 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestMearest lua require("packer.load")({'vim-test'}, { cmd = "TestMearest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 273 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestNearest lua require("packer.load")({'vim-ultest'}, { cmd = "UltestNearest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 274 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file TestVisit lua require("packer.load")({'vim-test'}, { cmd = "TestVisit", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 275 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file Ultest lua require("packer.load")({'vim-ultest'}, { cmd = "Ultest", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 276 -pcall(vim.cmd, [[command! -nargs=* -range -bang -complete=file UltestClear lua require("packer.load")({'vim-ultest'}, { cmd = "UltestClear", l1 = <line1>, l2 = <line2>, bang = <q-bang>, args = <q-args> }, _G.packer_plugins)]]) 277 -time([[Defining lazy-load commands]], false) 278 - 279 --- Keymap lazy-loads 280 -time([[Defining lazy-load keymaps]], true) 281 -vim.cmd [[noremap <silent> c <cmd>lua require("packer.load")({'vim-surround'}, { keys = "c", prefix = "" }, _G.packer_plugins)<cr>]] 282 -vim.cmd [[noremap <silent> y <cmd>lua require("packer.load")({'vim-surround'}, { keys = "y", prefix = "" }, _G.packer_plugins)<cr>]] 283 -vim.cmd [[noremap <silent> d <cmd>lua require("packer.load")({'vim-surround'}, { keys = "d", prefix = "" }, _G.packer_plugins)<cr>]] 284 -time([[Defining lazy-load keymaps]], false) 285 - 286 -vim.cmd [[augroup packer_load_aucmds]] 287 -vim.cmd [[au!]] 288 - -- Filetype lazy-loads 289 -time([[Defining lazy-load filetype autocommands]], true) 290 -vim.cmd [[au FileType json ++once lua require("packer.load")({'package-info.nvim'}, { ft = "json" }, _G.packer_plugins)]] 291 -time([[Defining lazy-load filetype autocommands]], false) 292 - -- Event lazy-loads 293 -time([[Defining lazy-load event autocommands]], true) 294 -vim.cmd [[au BufRead * ++once lua require("packer.load")({'nvim-comment', 'gitsigns.nvim', 'nvim-spectre'}, { event = "BufRead *" }, _G.packer_plugins)]] 295 -vim.cmd [[au BufWinEnter * ++once lua require("packer.load")({'which-key.nvim', 'barbar.nvim', 'galaxyline.nvim', 'nvim-toggleterm.lua', 'dashboard-nvim'}, { event = "BufWinEnter *" }, _G.packer_plugins)]] 296 -vim.cmd [[au InsertCharPre * ++once lua require("packer.load")({'friendly-snippets'}, { event = "InsertCharPre *" }, _G.packer_plugins)]] 297 -vim.cmd [[au InsertEnter * ++once lua require("packer.load")({'nvim-compe', 'vim-vsnip'}, { event = "InsertEnter *" }, _G.packer_plugins)]] 298 -vim.cmd [[au VimEnter * ++once lua require("packer.load")({'nvim-lspinstall'}, { event = "VimEnter *" }, _G.packer_plugins)]] 299 -time([[Defining lazy-load event autocommands]], false) 300 -vim.cmd("augroup END") 301 -if should_profile then save_profiles() end 302 - 303 -end) 304 - 305 -if not no_errors then 306 - vim.api.nvim_command('echohl ErrorMsg | echom "Error in packer_compiled: '..error_msg..'" | echom "Please check your config for correctness" | echohl None') 307 -end
M
zshrc
··· 4 4 ## Variables 5 5 export GOPATH="$HOME/go" 6 6 export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$HOME/.luarocks/bin:$PATH" 7 -export EDITOR="nvim" 7 +export EDITOR="lvim" 8 8 9 9 ## FzF 10 10 export FZF_DEFAULT_COMMAND="fd -t f -t l -E node_modules -E env -E __pycache__ -E target" ··· 19 19 20 20 ## Aliases 21 21 alias cls="clear" cp="cp -r" mkdir="mkdir -p" open="open_command" lg="lazygit" 22 -alias nvim="lvim" vim="nvim" vi="vim" lv="lvim" 22 +alias lv="lvim" vim="lvim" 23 23 alias ...="cd ../.." .3="cd ../../.." 24 24 alias gor="go run" gob="go build" gog="go get" goi="go install" 25 25