From f8dc6ef68ee56edabfe29fb674e2357a18e7751c Mon Sep 17 00:00:00 2001 From: ksyasuda Date: Sun, 23 Jan 2022 14:46:52 -0800 Subject: [PATCH] updates --- .gitignore | 6 + lvim/lv-settings.lua | 887 ++++++++++++++++++++++++ lvim/plugin/packer_compiled.lua | 18 +- polybar-themes/sblocks/config.ini | 10 +- polybar-themes/sblocks/user_modules.ini | 5 +- scripts/rofi-bluetooth.desktop | 406 +++++------ 6 files changed, 1118 insertions(+), 214 deletions(-) create mode 100644 lvim/lv-settings.lua diff --git a/.gitignore b/.gitignore index e160e47..17dbd2d 100644 --- a/.gitignore +++ b/.gitignore @@ -145,3 +145,9 @@ dmypy.json # Cython debug symbols cython_debug/ + +lvim/ignore +lvim/lsp-settings/* +lvim/plugin/* +lvim/after/* +lvim/plugin/packer_compiled.lua diff --git a/lvim/lv-settings.lua b/lvim/lv-settings.lua new file mode 100644 index 0000000..8e8c751 --- /dev/null +++ b/lvim/lv-settings.lua @@ -0,0 +1,887 @@ +lvim.autocommands._auto_resize["1"]["1"] = "VimResized" +lvim.autocommands._auto_resize["1"]["2"] = "*" +lvim.autocommands._auto_resize["1"]["3"] = "tabdo wincmd =" +lvim.autocommands._buffer_bindings["1"]["1"] = "FileType" +lvim.autocommands._buffer_bindings["1"]["2"] = "floaterm" +lvim.autocommands._buffer_bindings["1"]["3"] = "nnoremap q :q" +lvim.autocommands._filetypechanges["1"]["1"] = "BufWinEnter" +lvim.autocommands._filetypechanges["1"]["2"] = ".tf" +lvim.autocommands._filetypechanges["1"]["3"] = "setlocal filetype=terraform" +lvim.autocommands._filetypechanges["2"]["1"] = "BufRead" +lvim.autocommands._filetypechanges["2"]["2"] = "*.tf" +lvim.autocommands._filetypechanges["2"]["3"] = "setlocal filetype=terraform" +lvim.autocommands._filetypechanges["3"]["1"] = "BufNewFile" +lvim.autocommands._filetypechanges["3"]["2"] = "*.tf" +lvim.autocommands._filetypechanges["3"]["3"] = "setlocal filetype=terraform" +lvim.autocommands._filetypechanges["4"]["1"] = "BufWinEnter" +lvim.autocommands._filetypechanges["4"]["2"] = ".zsh" +lvim.autocommands._filetypechanges["4"]["3"] = "setlocal filetype=sh" +lvim.autocommands._filetypechanges["5"]["1"] = "BufRead" +lvim.autocommands._filetypechanges["5"]["2"] = "*.zsh" +lvim.autocommands._filetypechanges["5"]["3"] = "setlocal filetype=sh" +lvim.autocommands._filetypechanges["6"]["1"] = "BufNewFile" +lvim.autocommands._filetypechanges["6"]["2"] = "*.zsh" +lvim.autocommands._filetypechanges["6"]["3"] = "setlocal filetype=sh" +lvim.autocommands._formatoptions["1"]["1"] = "BufWinEnter,BufRead,BufNewFile" +lvim.autocommands._formatoptions["1"]["2"] = "*" +lvim.autocommands._formatoptions["1"]["3"] = "setlocal formatoptions-=c formatoptions-=r formatoptions-=o" +lvim.autocommands._general_lsp["1"]["1"] = "FileType" +lvim.autocommands._general_lsp["1"]["2"] = "lspinfo,lsp-installer,null-ls-info" +lvim.autocommands._general_lsp["1"]["3"] = "nnoremap q :close" +lvim.autocommands._general_settings["1"]["1"] = "FileType" +lvim.autocommands._general_settings["1"]["2"] = "qf,help,man" +lvim.autocommands._general_settings["1"]["3"] = "nnoremap q :close" +lvim.autocommands._general_settings["2"]["1"] = "TextYankPost" +lvim.autocommands._general_settings["2"]["2"] = "*" +lvim.autocommands._general_settings["2"]["3"] = "lua require('vim.highlight').on_yank({higroup = 'Search', timeout = 200})" +lvim.autocommands._general_settings["3"]["1"] = "BufWinEnter" +lvim.autocommands._general_settings["3"]["2"] = "dashboard" +lvim.autocommands._general_settings["3"]["3"] = "setlocal cursorline signcolumn=yes cursorcolumn number" +lvim.autocommands._general_settings["4"]["1"] = "BufWritePost" +lvim.autocommands._general_settings["4"]["2"] = "/home/sudacode/.config/lvim/config.lua" +lvim.autocommands._general_settings["4"]["3"] = "lua require('lvim.config'):reload()" +lvim.autocommands._general_settings["5"]["1"] = "FileType" +lvim.autocommands._general_settings["5"]["2"] = "qf" +lvim.autocommands._general_settings["5"]["3"] = "set nobuflisted" +lvim.autocommands._git["1"]["1"] = "FileType" +lvim.autocommands._git["1"]["2"] = "gitcommit" +lvim.autocommands._git["1"]["3"] = "setlocal wrap" +lvim.autocommands._git["2"]["1"] = "FileType" +lvim.autocommands._git["2"]["2"] = "gitcommit" +lvim.autocommands._git["2"]["3"] = "setlocal spell" +lvim.autocommands._markdown["1"]["1"] = "FileType" +lvim.autocommands._markdown["1"]["2"] = "markdown" +lvim.autocommands._markdown["1"]["3"] = "setlocal wrap" +lvim.autocommands._markdown["2"]["1"] = "FileType" +lvim.autocommands._markdown["2"]["2"] = "markdown" +lvim.autocommands._markdown["2"]["3"] = "setlocal spell" +lvim.builtin.autopairs.active = true +lvim.builtin.autopairs.check_ts = true +lvim.builtin.autopairs.disable_filetype["1"] = "TelescopePrompt" +lvim.builtin.autopairs.disable_filetype["2"] = "spectre_panel" +lvim.builtin.autopairs.disable_in_macro = false +lvim.builtin.autopairs.disable_in_visualblock = false +lvim.builtin.autopairs.enable_afterquote = true +lvim.builtin.autopairs.enable_check_bracket_line = false +lvim.builtin.autopairs.enable_moveright = true +lvim.builtin.autopairs.fast_wrap.chars["1"] = "{" +lvim.builtin.autopairs.fast_wrap.chars["2"] = "[" +lvim.builtin.autopairs.fast_wrap.chars["3"] = "(" +lvim.builtin.autopairs.fast_wrap.chars["4"] = "\"" +lvim.builtin.autopairs.fast_wrap.chars["5"] = "'" +lvim.builtin.autopairs.fast_wrap.check_comma = true +lvim.builtin.autopairs.fast_wrap.end_key = "$" +lvim.builtin.autopairs.fast_wrap.highlight_grey = "Comment" +lvim.builtin.autopairs.fast_wrap.highlight = "Search" +lvim.builtin.autopairs.fast_wrap.keys = "qwertyuiopzxcvbnmasdfghjkl" +lvim.builtin.autopairs.fast_wrap.map = "" +lvim.builtin.autopairs.fast_wrap.offset = 0 +lvim.builtin.autopairs.fast_wrap.pattern = "[%'%\"%)%>%]%)%}%,]" +lvim.builtin.autopairs.ignored_next_char = "[%w%%%'%[%\"%.]" +lvim.builtin.autopairs.map_bs = true +lvim.builtin.autopairs.map_char.all = "(" +lvim.builtin.autopairs.map_char.tex = "{" +lvim.builtin.autopairs.map_c_w = false +lvim.builtin.autopairs.ts_config.java = false +lvim.builtin.autopairs.ts_config.javascript["1"] = "string" +lvim.builtin.autopairs.ts_config.javascript["2"] = "template_string" +lvim.builtin.autopairs.ts_config.lua["1"] = "string" +lvim.builtin.autopairs.ts_config.lua["2"] = "source" +lvim.builtin.bufferline.active = true +lvim.builtin.cmp.completion.keyword_length = 1 +lvim.builtin.cmp.confirm_opts.behavior = "replace" +lvim.builtin.cmp.confirm_opts.select = false +lvim.builtin.cmp.documentation.border["1"] = "╭" +lvim.builtin.cmp.documentation.border["2"] = "─" +lvim.builtin.cmp.documentation.border["3"] = "╮" +lvim.builtin.cmp.documentation.border["4"] = "│" +lvim.builtin.cmp.documentation.border["5"] = "╯" +lvim.builtin.cmp.documentation.border["6"] = "─" +lvim.builtin.cmp.documentation.border["7"] = "╰" +lvim.builtin.cmp.documentation.border["8"] = "│" +lvim.builtin.cmp.experimental.ghost_text = true +lvim.builtin.cmp.experimental.native_menu = false +lvim.builtin.cmp.formatting.duplicates.buffer = 1 +lvim.builtin.cmp.formatting.duplicates_default = 0 +lvim.builtin.cmp.formatting.duplicates.luasnip = 1 +lvim.builtin.cmp.formatting.duplicates.nvim_lsp = 0 +lvim.builtin.cmp.formatting.duplicates.path = 1 +lvim.builtin.cmp.formatting.fields["1"] = "kind" +lvim.builtin.cmp.formatting.fields["2"] = "abbr" +lvim.builtin.cmp.formatting.fields["3"] = "menu" +-- lvim.builtin.cmp.formatting.format = function () +lvim.builtin.cmp.formatting.kind_icons.Class = " " +lvim.builtin.cmp.formatting.kind_icons.Color = " " +lvim.builtin.cmp.formatting.kind_icons.Constant = "ﲀ " +lvim.builtin.cmp.formatting.kind_icons.Constructor = " " +lvim.builtin.cmp.formatting.kind_icons.EnumMember = " " +lvim.builtin.cmp.formatting.kind_icons.Enum = "練" +lvim.builtin.cmp.formatting.kind_icons.Event = " " +lvim.builtin.cmp.formatting.kind_icons.Field = " " +lvim.builtin.cmp.formatting.kind_icons.File = "" +lvim.builtin.cmp.formatting.kind_icons.Folder = " " +lvim.builtin.cmp.formatting.kind_icons.Function = " " +lvim.builtin.cmp.formatting.kind_icons.Interface = "ﰮ " +lvim.builtin.cmp.formatting.kind_icons.Keyword = " " +lvim.builtin.cmp.formatting.kind_icons.Method = " " +lvim.builtin.cmp.formatting.kind_icons.Module = " " +lvim.builtin.cmp.formatting.kind_icons.Operator = "" +lvim.builtin.cmp.formatting.kind_icons.Property = " " +lvim.builtin.cmp.formatting.kind_icons.Reference = " " +lvim.builtin.cmp.formatting.kind_icons.Snippet = " " +lvim.builtin.cmp.formatting.kind_icons.Struct = " " +lvim.builtin.cmp.formatting.kind_icons.Text = " " +lvim.builtin.cmp.formatting.kind_icons.TypeParameter = " " +lvim.builtin.cmp.formatting.kind_icons.Unit = "塞" +lvim.builtin.cmp.formatting.kind_icons.Value = " " +lvim.builtin.cmp.formatting.kind_icons.Variable = " " +lvim.builtin.cmp.formatting.source_names.buffer = "(Buffer)" +lvim.builtin.cmp.formatting.source_names.calc = "(Calc)" +lvim.builtin.cmp.formatting.source_names.cmp_tabnine = "(Tabnine)" +lvim.builtin.cmp.formatting.source_names.emoji = "(Emoji)" +lvim.builtin.cmp.formatting.source_names.luasnip = "(Snippet)" +lvim.builtin.cmp.formatting.source_names.nvim_lsp = "(LSP)" +lvim.builtin.cmp.formatting.source_names.path = "(Path)" +lvim.builtin.cmp.formatting.source_names.vsnip = "(Snippet)" +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].s = function () +-- lvim.builtin.cmp.mapping[""].i = function () +-- lvim.builtin.cmp.mapping[""].s = function () +-- lvim.builtin.cmp.snippet.expand = function () +lvim.builtin.cmp.sources["10"].name = "crates" +lvim.builtin.cmp.sources["1"].name = "nvim_lsp" +lvim.builtin.cmp.sources["2"].name = "path" +lvim.builtin.cmp.sources["3"].name = "luasnip" +lvim.builtin.cmp.sources["4"].name = "cmp_tabnine" +lvim.builtin.cmp.sources["5"].name = "nvim_lua" +lvim.builtin.cmp.sources["6"].name = "buffer" +lvim.builtin.cmp.sources["7"].name = "calc" +lvim.builtin.cmp.sources["8"].name = "emoji" +lvim.builtin.cmp.sources["9"].name = "treesitter" +lvim.builtin.comment.active = true +lvim.builtin.comment.ignore = "^$" +lvim.builtin.comment.mappings.basic = true +lvim.builtin.comment.mappings.extra = false +lvim.builtin.comment.opleader.block = "gb" +lvim.builtin.comment.opleader.line = "gc" +lvim.builtin.comment.padding = true +-- lvim.builtin.comment.pre_hook = function () +lvim.builtin.comment.toggler.block = "gbc" +lvim.builtin.comment.toggler.line = "gcc" +lvim.builtin.dap.active = false +lvim.builtin.dap.breakpoint.linehl = "" +lvim.builtin.dap.breakpoint.numhl = "" +lvim.builtin.dap.breakpoint_rejected.linehl = "" +lvim.builtin.dap.breakpoint_rejected.numhl = "" +lvim.builtin.dap.breakpoint_rejected.text = "" +lvim.builtin.dap.breakpoint_rejected.texthl = "LspDiagnosticsSignHint" +lvim.builtin.dap.breakpoint.text = "" +lvim.builtin.dap.breakpoint.texthl = "LspDiagnosticsSignError" +lvim.builtin.dap.stopped.linehl = "DiagnosticUnderlineInfo" +lvim.builtin.dap.stopped.numhl = "LspDiagnosticsSignInformation" +lvim.builtin.dap.stopped.text = "" +lvim.builtin.dap.stopped.texthl = "LspDiagnosticsSignInformation" +lvim.builtin.dashboard.active = true +lvim.builtin.dashboard.custom_header["1"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⣀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["10"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡇⠀⠈⠁⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["11"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣇⠀⠀⠀⠀⠀⠀⠉⠢⠤⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⡟⠈⠑⠄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["12"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠑⠒⠤⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⡇⠀⠀⢀⣣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["13"] = "⠀⣿⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠀⠀⠒⠢⠤⠄⣀⣀⠀⠀⠀⢠⣿⡟⠀⠀⠀⣺⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["14"] = "⠀⣿⠇⠀⠀⠀⠀⠀⣤⡄⠀⠀⢠⣤⡄⠀⢨⣭⣠⣤⣤⣤⡀⠀⠀⢀⣤⣤⣤⣤⡄⠀⠀⠀⣤⣄⣤⣤⣤⠀⠀⣿⣯⠉⠉⣿⡟⠀⠈⢩⣭⣤⣤⠀⠀⠀⠀⣠⣤⣤⣤⣄⣤⣤" +lvim.builtin.dashboard.custom_header["15"] = "⢠⣿⠀⠀⠀⠀⠀⠀⣿⠃⠀⠀⣸⣿⠁⠀⣿⣿⠉⠀⠈⣿⡇⠀⠀⠛⠋⠀⠀⢹⣿⠀⠀⠀⣿⠏⠀⠸⠿⠃⠀⣿⣿⠀⣰⡟⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⠀⣿⡟⢸⣿⡇⢀⣿" +lvim.builtin.dashboard.custom_header["16"] = "⣸⡇⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⣿⡟⠀⢠⣿⡇⠀⠀⢰⣿⡇⠀⣰⣾⠟⠛⠛⣻⡇⠀⠀⢸⡿⠀⠀⠀⠀⠀⠀⢻⣿⢰⣿⠀⠀⠀⠀⠀⠀⣾⡇⠀⠀⠀⢸⣿⠇⢸⣿⠀⢸⡏" +lvim.builtin.dashboard.custom_header["17"] = "⣿⣧⣤⣤⣤⡄⠀⠘⣿⣤⣤⡤⣿⠇⠀⢸⣿⠁⠀⠀⣼⣿⠀⠀⢿⣿⣤⣤⠔⣿⠃⠀⠀⣾⡇⠀⠀⠀⠀⠀⠀⢸⣿⣿⠋⠀⠀⠀⢠⣤⣤⣿⣥⣤⡄⠀⣼⣿⠀⣸⡏⠀⣿⠃" +lvim.builtin.dashboard.custom_header["18"] = "⠉⠉⠉⠉⠉⠁⠀⠀⠈⠉⠉⠀⠉⠀⠀⠈⠉⠀⠀⠀⠉⠉⠀⠀⠀⠉⠉⠁⠈⠉⠀⠀⠀⠉⠀⠀⠀⠀⠀⠀⠀⠈⠉⠉⠀⠀⠀⠀⠈⠉⠉⠉⠉⠉⠁⠀⠉⠁⠀⠉⠁⠀⠉⠀" +lvim.builtin.dashboard.custom_header["2"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣶⣾⠿⠿⠟⠛⠛⠛⠛⠿⠿⣿⣷⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["3"] = " ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⡿⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠙⠿⣷⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["4"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⡿⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["5"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠒⠂⠉⠉⠉⠉⢩⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["6"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠸⡀⠀⠀⠀⠀⠀⢰⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣿⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["7"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠑⠠⡀⠀⠀⢀⣾⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["8"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠢⢀⣸⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_header["9"] = "⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡧⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀" +lvim.builtin.dashboard.custom_section.a.command = "Telescope find_files" +lvim.builtin.dashboard.custom_section.a.description["1"] = " Find File " +lvim.builtin.dashboard.custom_section.b.command = ":ene!" +lvim.builtin.dashboard.custom_section.b.description["1"] = " New File " +lvim.builtin.dashboard.custom_section.c.command = "Telescope projects" +lvim.builtin.dashboard.custom_section.c.description["1"] = " Recent Projects " +lvim.builtin.dashboard.custom_section.d.command = "Telescope oldfiles" +lvim.builtin.dashboard.custom_section.d.description["1"] = " Recently Used Files" +lvim.builtin.dashboard.custom_section.e.command = "Telescope live_grep" +lvim.builtin.dashboard.custom_section.e.description["1"] = " Find Word " +lvim.builtin.dashboard.custom_section.f.command = ":e /home/sudacode/.config/lvim/config.lua" +lvim.builtin.dashboard.custom_section.f.description["1"] = " Configuration " +lvim.builtin.dashboard.disable_at_vim_enter = 0 +lvim.builtin.dashboard.footer["1"] = "lunarvim.org" +lvim.builtin.dashboard.search_handler = "telescope" +lvim.builtin.dashboard.session_directory = "/home/sudacode/.cache/nvim/sessions" +lvim.builtin.gitsigns.active = true +lvim.builtin.gitsigns.opts.attach_to_untracked = true +lvim.builtin.gitsigns.opts.current_line_blame = false +lvim.builtin.gitsigns.opts.current_line_blame_formatter_opts.relative_time = false +lvim.builtin.gitsigns.opts.current_line_blame_opts.delay = 1000 +lvim.builtin.gitsigns.opts.current_line_blame_opts.ignore_whitespace = false +lvim.builtin.gitsigns.opts.current_line_blame_opts.virt_text_pos = "eol" +lvim.builtin.gitsigns.opts.current_line_blame_opts.virt_text = true +lvim.builtin.gitsigns.opts.keymaps.buffer = true +lvim.builtin.gitsigns.opts.keymaps.noremap = true +lvim.builtin.gitsigns.opts.linehl = false +lvim.builtin.gitsigns.opts.max_file_length = 40000 +lvim.builtin.gitsigns.opts.numhl = false +lvim.builtin.gitsigns.opts.preview_config.border = "rounded" +lvim.builtin.gitsigns.opts.preview_config.col = 1 +lvim.builtin.gitsigns.opts.preview_config.relative = "cursor" +lvim.builtin.gitsigns.opts.preview_config.row = 0 +lvim.builtin.gitsigns.opts.preview_config.style = "minimal" +lvim.builtin.gitsigns.opts.signcolumn = true +lvim.builtin.gitsigns.opts.sign_priority = 6 +lvim.builtin.gitsigns.opts.signs.add.hl = "GitSignsAdd" +lvim.builtin.gitsigns.opts.signs.add.linehl = "GitSignsAddLn" +lvim.builtin.gitsigns.opts.signs.add.numhl = "GitSignsAddNr" +lvim.builtin.gitsigns.opts.signs.add.text = "▎" +lvim.builtin.gitsigns.opts.signs.changedelete.hl = "GitSignsChange" +lvim.builtin.gitsigns.opts.signs.changedelete.linehl = "GitSignsChangeLn" +lvim.builtin.gitsigns.opts.signs.changedelete.numhl = "GitSignsChangeNr" +lvim.builtin.gitsigns.opts.signs.changedelete.text = "▎" +lvim.builtin.gitsigns.opts.signs.change.hl = "GitSignsChange" +lvim.builtin.gitsigns.opts.signs.change.linehl = "GitSignsChangeLn" +lvim.builtin.gitsigns.opts.signs.change.numhl = "GitSignsChangeNr" +lvim.builtin.gitsigns.opts.signs.change.text = "▎" +lvim.builtin.gitsigns.opts.signs.delete.hl = "GitSignsDelete" +lvim.builtin.gitsigns.opts.signs.delete.linehl = "GitSignsDeleteLn" +lvim.builtin.gitsigns.opts.signs.delete.numhl = "GitSignsDeleteNr" +lvim.builtin.gitsigns.opts.signs.delete.text = "契" +lvim.builtin.gitsigns.opts.signs.topdelete.hl = "GitSignsDelete" +lvim.builtin.gitsigns.opts.signs.topdelete.linehl = "GitSignsDeleteLn" +lvim.builtin.gitsigns.opts.signs.topdelete.numhl = "GitSignsDeleteNr" +lvim.builtin.gitsigns.opts.signs.topdelete.text = "契" +lvim.builtin.gitsigns.opts.update_debounce = 200 +lvim.builtin.gitsigns.opts.watch_gitdir.follow_files = true +lvim.builtin.gitsigns.opts.watch_gitdir.interval = 1000 +lvim.builtin.gitsigns.opts.word_diff = false +lvim.builtin.lualine.active = true +lvim.builtin.lualine.extensions["1"] = "nvim-tree" +lvim.builtin.lualine.inactive_sections.lualine_a["1"] = "filename" +lvim.builtin.lualine.options.component_separators.left = "" +lvim.builtin.lualine.options.component_separators.right = "" +lvim.builtin.lualine.options.disabled_filetypes["1"] = "dashboard" +lvim.builtin.lualine.options.disabled_filetypes["2"] = "NvimTree" +lvim.builtin.lualine.options.disabled_filetypes["3"] = "Outline" +lvim.builtin.lualine.options.icons_enabled = true +lvim.builtin.lualine.options.section_separators.left = "" +lvim.builtin.lualine.options.section_separators.right = "" +lvim.builtin.lualine.options.theme = "onedarker" +lvim.builtin.lualine.sections.lualine_a["1"] = "mode" +lvim.builtin.lualine.sections.lualine_b["1"]["1"] = "b:gitsigns_head" +lvim.builtin.lualine.sections.lualine_b["1"].color.gui = "bold" +-- lvim.builtin.lualine.sections.lualine_b["1"].cond = function () +lvim.builtin.lualine.sections.lualine_b["1"].icon = " " +lvim.builtin.lualine.sections.lualine_b["2"]["1"] = "filename" +-- lvim.builtin.lualine.sections.lualine_c["1"]["1"] = function () +lvim.builtin.lualine.sections.lualine_c["1"].color.fg = "#98be65" +-- lvim.builtin.lualine.sections.lualine_c["1"].cond = function () +lvim.builtin.lualine.sections.lualine_x["1"]["1"] = "diagnostics" +-- lvim.builtin.lualine.sections.lualine_x["1"].cond = function () +lvim.builtin.lualine.sections.lualine_x["1"].sources["1"] = "nvim_diagnostic" +lvim.builtin.lualine.sections.lualine_x["1"].symbols.error = " " +lvim.builtin.lualine.sections.lualine_x["1"].symbols.hint = " " +lvim.builtin.lualine.sections.lualine_x["1"].symbols.info = " " +lvim.builtin.lualine.sections.lualine_x["1"].symbols.warn = " " +-- lvim.builtin.lualine.sections.lualine_x["2"]["1"] = function () +lvim.builtin.lualine.sections.lualine_x["2"].color.fg = "#98be65" +-- lvim.builtin.lualine.sections.lualine_x["2"].cond = function () +-- lvim.builtin.lualine.sections.lualine_x["3"]["1"] = function () +lvim.builtin.lualine.sections.lualine_x["3"].color.gui = "bold" +-- lvim.builtin.lualine.sections.lualine_x["3"].cond = function () +lvim.builtin.lualine.sections.lualine_x["4"]["1"] = "filetype" +-- lvim.builtin.lualine.sections.lualine_x["4"].cond = function () +lvim.builtin.lualine.sections.lualine_y["1"]["1"] = "location" +-- lvim.builtin.lualine.sections.lualine_y["1"].cond = function () +-- lvim.builtin.lualine.sections.lualine_z["1"]["1"] = function () +lvim.builtin.lualine.sections.lualine_z["1"].color.bg = "#202328" +lvim.builtin.lualine.sections.lualine_z["1"].color.fg = "#ECBE7B" +lvim.builtin.lualine.sections.lualine_z["1"].padding.left = 0 +lvim.builtin.lualine.sections.lualine_z["1"].padding.right = 0 +lvim.builtin.lualine.style = "lvim" +lvim.builtin.notify.active = false +lvim.builtin.notify.opts.background_colour = "Normal" +lvim.builtin.notify.opts.icons.DEBUG = "" +lvim.builtin.notify.opts.icons.ERROR = "" +lvim.builtin.notify.opts.icons.INFO = "" +lvim.builtin.notify.opts.icons.TRACE = "✎" +lvim.builtin.notify.opts.icons.WARN = "" +lvim.builtin.notify.opts.minimum_width = 50 +lvim.builtin.notify.opts.render = "default" +lvim.builtin.notify.opts.stages = "slide" +lvim.builtin.notify.opts.timeout = 5000 +lvim.builtin.nvimtree.active = true +lvim.builtin.nvimtree.disable_window_picker = 0 +lvim.builtin.nvimtree.git_hl = 1 +lvim.builtin.nvimtree.hide_dotfiles = 0 +lvim.builtin.nvimtree.icons.default = "" +lvim.builtin.nvimtree.icons.folder.default = "" +lvim.builtin.nvimtree.icons.folder.empty = "" +lvim.builtin.nvimtree.icons.folder.empty_open = "" +lvim.builtin.nvimtree.icons.folder.open = "" +lvim.builtin.nvimtree.icons.folder.symlink = "" +lvim.builtin.nvimtree.icons.git.deleted = "" +lvim.builtin.nvimtree.icons.git.ignored = "◌" +lvim.builtin.nvimtree.icons.git.renamed = "➜" +lvim.builtin.nvimtree.icons.git.staged = "S" +lvim.builtin.nvimtree.icons.git.unmerged = "" +lvim.builtin.nvimtree.icons.git.unstaged = "" +lvim.builtin.nvimtree.icons.git.untracked = "U" +lvim.builtin.nvimtree.icons.symlink = "" +lvim.builtin.nvimtree.quit_on_open = 0 +lvim.builtin.nvimtree.respect_buf_cwd = 1 +lvim.builtin.nvimtree.root_folder_modifier = ":t" +lvim.builtin.nvimtree.setup.auto_close = true +lvim.builtin.nvimtree.setup.diagnostics.enable = true +lvim.builtin.nvimtree.setup.diagnostics.icons.error = "" +lvim.builtin.nvimtree.setup.diagnostics.icons.hint = "" +lvim.builtin.nvimtree.setup.diagnostics.icons.info = "" +lvim.builtin.nvimtree.setup.diagnostics.icons.warning = "" +lvim.builtin.nvimtree.setup.disable_netrw = false +lvim.builtin.nvimtree.setup.filters.custom["1"] = ".git" +lvim.builtin.nvimtree.setup.filters.custom["2"] = "node_modules" +lvim.builtin.nvimtree.setup.filters.custom["3"] = ".cache" +lvim.builtin.nvimtree.setup.filters.dotfiles = false +lvim.builtin.nvimtree.setup.git.enable = true +lvim.builtin.nvimtree.setup.git.ignore = true +lvim.builtin.nvimtree.setup.git.timeout = 200 +lvim.builtin.nvimtree.setup.hijack_cursor = false +lvim.builtin.nvimtree.setup.hijack_netrw = false +lvim.builtin.nvimtree.setup.ignore_ft_on_setup["1"] = "startify" +lvim.builtin.nvimtree.setup.ignore_ft_on_setup["2"] = "dashboard" +lvim.builtin.nvimtree.setup.ignore_ft_on_setup["3"] = "alpha" +lvim.builtin.nvimtree.setup.open_on_setup = false +lvim.builtin.nvimtree.setup.open_on_tab = false +lvim.builtin.nvimtree.setup.update_cwd = true +lvim.builtin.nvimtree.setup.update_focused_file.enable = true +lvim.builtin.nvimtree.setup.update_focused_file.update_cwd = true +lvim.builtin.nvimtree.setup.update_to_buf_dir.auto_open = true +lvim.builtin.nvimtree.setup.update_to_buf_dir.enable = true +lvim.builtin.nvimtree.setup.view.auto_resize = true +lvim.builtin.nvimtree.setup.view.height = 30 +lvim.builtin.nvimtree.setup.view.mappings.custom_only = false +lvim.builtin.nvimtree.setup.view.mappings.list["1"].cb = ":lua require'nvim-tree'.on_keypress('edit')" +lvim.builtin.nvimtree.setup.view.mappings.list["1"].key["1"] = "l" +lvim.builtin.nvimtree.setup.view.mappings.list["1"].key["2"] = "" +lvim.builtin.nvimtree.setup.view.mappings.list["1"].key["3"] = "o" +lvim.builtin.nvimtree.setup.view.mappings.list["2"].cb = ":lua require'nvim-tree'.on_keypress('close_node')" +lvim.builtin.nvimtree.setup.view.mappings.list["2"].key = "h" +lvim.builtin.nvimtree.setup.view.mappings.list["3"].cb = ":lua require'nvim-tree'.on_keypress('vsplit')" +lvim.builtin.nvimtree.setup.view.mappings.list["3"].key = "v" +lvim.builtin.nvimtree.setup.view.mappings.list["4"].cb = ":lua require'nvim-tree'.on_keypress('cd')" +lvim.builtin.nvimtree.setup.view.mappings.list["4"].key = "C" +lvim.builtin.nvimtree.setup.view.mappings.list["5"].cb = "lua require'lvim.core.nvimtree'.start_telescope('find_files')" +lvim.builtin.nvimtree.setup.view.mappings.list["5"].key = "gtf" +lvim.builtin.nvimtree.setup.view.mappings.list["6"].cb = "lua require'lvim.core.nvimtree'.start_telescope('live_grep')" +lvim.builtin.nvimtree.setup.view.mappings.list["6"].key = "gtg" +lvim.builtin.nvimtree.setup.view.number = false +lvim.builtin.nvimtree.setup.view.relativenumber = false +lvim.builtin.nvimtree.setup.view.side = "left" +lvim.builtin.nvimtree.setup.view.width = 30 +lvim.builtin.nvimtree.show_icons.files = 1 +lvim.builtin.nvimtree.show_icons.folder_arrows = 1 +lvim.builtin.nvimtree.show_icons.folders = 1 +lvim.builtin.nvimtree.show_icons.git = 1 +lvim.builtin.nvimtree.show_icons.tree_width = 30 +lvim.builtin.project.active = true +lvim.builtin.project.datapath = "/home/sudacode/.cache/nvim" +lvim.builtin.project.detection_methods["1"] = "pattern" +lvim.builtin.project.manual_mode = false +lvim.builtin.project.patterns["1"] = ".git" +lvim.builtin.project.patterns["2"] = "_darcs" +lvim.builtin.project.patterns["3"] = ".hg" +lvim.builtin.project.patterns["4"] = ".bzr" +lvim.builtin.project.patterns["5"] = ".svn" +lvim.builtin.project.patterns["6"] = "Makefile" +lvim.builtin.project.patterns["7"] = "package.json" +lvim.builtin.project.show_hidden = false +lvim.builtin.project.silent_chdir = true +lvim.builtin.telescope.active = true +lvim.builtin.telescope.defaults.borderchars["1"] = "─" +lvim.builtin.telescope.defaults.borderchars["2"] = "│" +lvim.builtin.telescope.defaults.borderchars["3"] = "─" +lvim.builtin.telescope.defaults.borderchars["4"] = "│" +lvim.builtin.telescope.defaults.borderchars["5"] = "╭" +lvim.builtin.telescope.defaults.borderchars["6"] = "╮" +lvim.builtin.telescope.defaults.borderchars["7"] = "╯" +lvim.builtin.telescope.defaults.borderchars["8"] = "╰" +lvim.builtin.telescope.defaults.color_devicons = true +lvim.builtin.telescope.defaults.entry_prefix = " " +lvim.builtin.telescope.defaults.initial_mode = "insert" +lvim.builtin.telescope.defaults.layout_config.horizontal.mirror = false +lvim.builtin.telescope.defaults.layout_config.preview_cutoff = 120 +lvim.builtin.telescope.defaults.layout_config.vertical.mirror = false +lvim.builtin.telescope.defaults.layout_config.width = 0.75 +lvim.builtin.telescope.defaults.layout_strategy = "horizontal" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "close" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "cycle_history_next" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "cycle_history_prev" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "move_selection_next" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "move_selection_previous" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "smart_send_to_qflist" +lvim.builtin.telescope.defaults.mappings.i[""]["2"] = "open_qflist" +lvim.builtin.telescope.defaults.mappings.i[""]["1"] = "select_default" +lvim.builtin.telescope.defaults.mappings.i[""]["2"] = "center" +lvim.builtin.telescope.defaults.mappings.n[""]["1"] = "move_selection_next" +lvim.builtin.telescope.defaults.mappings.n[""]["1"] = "move_selection_previous" +lvim.builtin.telescope.defaults.mappings.n[""]["1"] = "smart_send_to_qflist" +lvim.builtin.telescope.defaults.mappings.n[""]["2"] = "open_qflist" +lvim.builtin.telescope.defaults.path_display.shorten = 5 +lvim.builtin.telescope.defaults.pickers.find_files.find_command["1"] = "fd" +lvim.builtin.telescope.defaults.pickers.find_files.find_command["2"] = "--type=file" +lvim.builtin.telescope.defaults.pickers.find_files.find_command["3"] = "--hidden" +lvim.builtin.telescope.defaults.pickers.find_files.find_command["4"] = "--smart-case" +lvim.builtin.telescope.defaults.pickers.live_grep.only_sort_text = true +lvim.builtin.telescope.defaults.prompt_prefix = " " +lvim.builtin.telescope.defaults.selection_caret = " " +lvim.builtin.telescope.defaults.selection_strategy = "reset" +lvim.builtin.telescope.defaults.set_env.COLORTERM = "truecolor" +lvim.builtin.telescope.defaults.sorting_strategy = "descending" +lvim.builtin.telescope.defaults.vimgrep_arguments["1"] = "rg" +lvim.builtin.telescope.defaults.vimgrep_arguments["2"] = "--color=never" +lvim.builtin.telescope.defaults.vimgrep_arguments["3"] = "--no-heading" +lvim.builtin.telescope.defaults.vimgrep_arguments["4"] = "--with-filename" +lvim.builtin.telescope.defaults.vimgrep_arguments["5"] = "--line-number" +lvim.builtin.telescope.defaults.vimgrep_arguments["6"] = "--column" +lvim.builtin.telescope.defaults.vimgrep_arguments["7"] = "--smart-case" +lvim.builtin.telescope.defaults.vimgrep_arguments["8"] = "--hidden" +lvim.builtin.telescope.defaults.vimgrep_arguments["9"] = "--glob=!.git/" +lvim.builtin.telescope.defaults.winblend = 0 +lvim.builtin.telescope.extensions.fzf.case_mode = "smart_case" +lvim.builtin.telescope.extensions.fzf.fuzzy = true +lvim.builtin.telescope.extensions.fzf.override_file_sorter = true +lvim.builtin.telescope.extensions.fzf.override_generic_sorter = true +-- lvim.builtin.telescope.file_previewer = function () +-- lvim.builtin.telescope.file_sorter = function () +-- lvim.builtin.telescope.generic_sorter = function () +-- lvim.builtin.telescope.grep_previewer = function () +lvim.builtin.telescope.mappings.i[""]["1"] = "close" +lvim.builtin.telescope.mappings.i[""]["1"] = "cycle_history_next" +lvim.builtin.telescope.mappings.i[""]["1"] = "cycle_history_prev" +lvim.builtin.telescope.mappings.i[""]["1"] = "move_selection_next" +lvim.builtin.telescope.mappings.i[""]["1"] = "move_selection_previous" +lvim.builtin.telescope.mappings.i[""]["1"] = "smart_send_to_qflist" +lvim.builtin.telescope.mappings.i[""]["2"] = "open_qflist" +lvim.builtin.telescope.mappings.i[""]["1"] = "select_default" +lvim.builtin.telescope.mappings.i[""]["2"] = "center" +lvim.builtin.telescope.mappings.n[""]["1"] = "move_selection_next" +lvim.builtin.telescope.mappings.n[""]["1"] = "move_selection_previous" +lvim.builtin.telescope.mappings.n[""]["1"] = "smart_send_to_qflist" +lvim.builtin.telescope.mappings.n[""]["2"] = "open_qflist" +-- lvim.builtin.telescope.qflist_previewer = function () +lvim.builtin.terminal.active = true +lvim.builtin.terminal.close_on_exit = true +lvim.builtin.terminal.direction = "float" +lvim.builtin.terminal.execs["1"]["1"] = "lazygit" +lvim.builtin.terminal.execs["1"]["2"] = "gg" +lvim.builtin.terminal.execs["1"]["3"] = "LazyGit" +lvim.builtin.terminal.execs["1"]["4"] = "float" +lvim.builtin.terminal.execs["2"]["1"] = "lazygit" +lvim.builtin.terminal.execs["2"]["2"] = "" +lvim.builtin.terminal.execs["2"]["3"] = "LazyGit" +lvim.builtin.terminal.execs["2"]["4"] = "float" +lvim.builtin.terminal.float_opts.border = "curved" +lvim.builtin.terminal.float_opts.highlights.background = "Normal" +lvim.builtin.terminal.float_opts.highlights.border = "Normal" +lvim.builtin.terminal.float_opts.winblend = 0 +lvim.builtin.terminal.hide_numbers = true +lvim.builtin.terminal.insert_mappings = true +lvim.builtin.terminal.open_mapping = "" +lvim.builtin.terminal.persist_size = false +lvim.builtin.terminal.shade_terminals = true +lvim.builtin.terminal.shading_factor = 2 +lvim.builtin.terminal.shell = "/usr/bin/zsh" +lvim.builtin.terminal.size = 20 +lvim.builtin.terminal.start_in_insert = true +lvim.builtin.treesitter.autotag.enable = false +lvim.builtin.treesitter.context_commentstring.config.css = "/* %s */" +lvim.builtin.treesitter.context_commentstring.config.html = "" +lvim.builtin.treesitter.context_commentstring.config.json = "" +lvim.builtin.treesitter.context_commentstring.config.scss = "/* %s */" +lvim.builtin.treesitter.context_commentstring.config.svelte = "" +lvim.builtin.treesitter.context_commentstring.config.typescript = "// %s" +lvim.builtin.treesitter.context_commentstring.config.vue = "" +lvim.builtin.treesitter.context_commentstring.enable = true +lvim.builtin.treesitter.ensure_installed["10"] = "java" +lvim.builtin.treesitter.ensure_installed["11"] = "yaml" +lvim.builtin.treesitter.ensure_installed["12"] = "dockerfile" +lvim.builtin.treesitter.ensure_installed["13"] = "markdown" +lvim.builtin.treesitter.ensure_installed["14"] = "make" +lvim.builtin.treesitter.ensure_installed["1"] = "bash" +lvim.builtin.treesitter.ensure_installed["2"] = "c" +lvim.builtin.treesitter.ensure_installed["3"] = "javascript" +lvim.builtin.treesitter.ensure_installed["4"] = "json" +lvim.builtin.treesitter.ensure_installed["5"] = "lua" +lvim.builtin.treesitter.ensure_installed["6"] = "python" +lvim.builtin.treesitter.ensure_installed["7"] = "typescript" +lvim.builtin.treesitter.ensure_installed["8"] = "css" +lvim.builtin.treesitter.ensure_installed["9"] = "rust" +lvim.builtin.treesitter.highlight.additional_vim_regex_highlighting = true +lvim.builtin.treesitter.highlight.disable["1"] = "latex" +lvim.builtin.treesitter.highlight.enabled = true +lvim.builtin.treesitter.highlight.enable = true +lvim.builtin.treesitter.ignore_install["1"] = "haskell" +lvim.builtin.treesitter.indent.disable["1"] = "yaml" +lvim.builtin.treesitter.indent.enable = true +lvim.builtin.treesitter.matchup.enable = true +lvim.builtin.treesitter.playground.enable = false +lvim.builtin.treesitter.playground.keybindings.focus_language = "f" +lvim.builtin.treesitter.playground.keybindings.goto_node = "" +lvim.builtin.treesitter.playground.keybindings.show_help = "?" +lvim.builtin.treesitter.playground.keybindings.toggle_anonymous_nodes = "a" +lvim.builtin.treesitter.playground.keybindings.toggle_hl_groups = "i" +lvim.builtin.treesitter.playground.keybindings.toggle_injected_languages = "t" +lvim.builtin.treesitter.playground.keybindings.toggle_language_display = "I" +lvim.builtin.treesitter.playground.keybindings.toggle_query_editor = "o" +lvim.builtin.treesitter.playground.keybindings.unfocus_language = "F" +lvim.builtin.treesitter.playground.keybindings.update = "R" +lvim.builtin.treesitter.playground.persist_queries = false +lvim.builtin.treesitter.playground.updatetime = 25 +lvim.builtin.treesitter.rainbow.enable = false +lvim.builtin.treesitter.rainbow.extended_mode = true +lvim.builtin.treesitter.rainbow.max_file_lines = 1000 +lvim.builtin.treesitter.textobjects.select.enable = false +lvim.builtin.treesitter.textobjects.swap.enable = false +lvim.builtin.treesitter.textsubjects.enable = false +lvim.builtin.treesitter.textsubjects.keymaps[";"] = "textsubjects-big" +lvim.builtin.treesitter.textsubjects.keymaps["."] = "textsubjects-smart" +lvim.builtin.which_key.active = true +lvim.builtin.which_key.mappings[";"]["1"] = "Dashboard" +lvim.builtin.which_key.mappings["/"]["1"] = "lua require('Comment.api').toggle_current_linewise()" +lvim.builtin.which_key.mappings["/"]["2"] = "Comment" +lvim.builtin.which_key.mappings[";"]["2"] = "Dashboard" +lvim.builtin.which_key.mappings.b.b["1"] = "b#" +lvim.builtin.which_key.mappings.b.b["2"] = "Previous" +lvim.builtin.which_key.mappings.b.D["1"] = "BufferOrderByDirectory" +lvim.builtin.which_key.mappings.b.D["2"] = "Sort by directory" +lvim.builtin.which_key.mappings.b.e["1"] = "BufferCloseAllButCurrent" +lvim.builtin.which_key.mappings.b.e["2"] = "Close all but current" +lvim.builtin.which_key.mappings.b.f["1"] = "Telescope buffers" +lvim.builtin.which_key.mappings.b.f["2"] = "Find" +lvim.builtin.which_key.mappings.b.h["1"] = "BufferCloseBuffersLeft" +lvim.builtin.which_key.mappings.b.h["2"] = "Close all to the left" +lvim.builtin.which_key.mappings.b.j["1"] = "BufferPick" +lvim.builtin.which_key.mappings.b.j["2"] = "Jump" +lvim.builtin.which_key.mappings.b.l["1"] = "BufferCloseBuffersRight" +lvim.builtin.which_key.mappings.b.L["1"] = "BufferOrderByLanguage" +lvim.builtin.which_key.mappings.b.l["2"] = "Close all to the right" +lvim.builtin.which_key.mappings.b.L["2"] = "Sort by language" +lvim.builtin.which_key.mappings.b.name = "Buffers" +lvim.builtin.which_key.mappings.b.w["1"] = "BufferWipeout" +lvim.builtin.which_key.mappings.b.w["2"] = "Wipeout" +lvim.builtin.which_key.mappings.c["1"] = "BufferClose!" +lvim.builtin.which_key.mappings.c["2"] = "Close Buffer" +lvim.builtin.which_key.mappings.e["1"] = "NvimTreeToggle" +lvim.builtin.which_key.mappings.e["2"] = "Explorer" +-- lvim.builtin.which_key.mappings.f["1"] = function () +lvim.builtin.which_key.mappings.f["2"] = "Find File" +lvim.builtin.which_key.mappings.g.b["1"] = "Telescope git_branches" +lvim.builtin.which_key.mappings.g.b["2"] = "Checkout branch" +lvim.builtin.which_key.mappings.g.C["1"] = "Telescope git_bcommits" +lvim.builtin.which_key.mappings.g.c["1"] = "Telescope git_commits" +lvim.builtin.which_key.mappings.g.c["2"] = "Checkout commit" +lvim.builtin.which_key.mappings.g.C["2"] = "Checkout commit(for current file)" +lvim.builtin.which_key.mappings.g.d["1"] = "Gitsigns diffthis HEAD" +lvim.builtin.which_key.mappings.g.d["2"] = "Git Diff" +lvim.builtin.which_key.mappings.g.j["1"] = "lua require 'gitsigns'.next_hunk()" +lvim.builtin.which_key.mappings.g.j["2"] = "Next Hunk" +lvim.builtin.which_key.mappings.g.k["1"] = "lua require 'gitsigns'.prev_hunk()" +lvim.builtin.which_key.mappings.g.k["2"] = "Prev Hunk" +lvim.builtin.which_key.mappings.g.l["1"] = "lua require 'gitsigns'.blame_line()" +lvim.builtin.which_key.mappings.g.l["2"] = "Blame" +lvim.builtin.which_key.mappings.g.name = "Git" +lvim.builtin.which_key.mappings.g.o["1"] = "Telescope git_status" +lvim.builtin.which_key.mappings.g.o["2"] = "Open changed file" +lvim.builtin.which_key.mappings.g.p["1"] = "lua require 'gitsigns'.preview_hunk()" +lvim.builtin.which_key.mappings.g.p["2"] = "Preview Hunk" +lvim.builtin.which_key.mappings.g.R["1"] = "lua require 'gitsigns'.reset_buffer()" +lvim.builtin.which_key.mappings.g.r["1"] = "lua require 'gitsigns'.reset_hunk()" +lvim.builtin.which_key.mappings.g.R["2"] = "Reset Buffer" +lvim.builtin.which_key.mappings.g.r["2"] = "Reset Hunk" +lvim.builtin.which_key.mappings.g.s["1"] = "lua require 'gitsigns'.stage_hunk()" +lvim.builtin.which_key.mappings.g.s["2"] = "Stage Hunk" +lvim.builtin.which_key.mappings.g.u["1"] = "lua require 'gitsigns'.undo_stage_hunk()" +lvim.builtin.which_key.mappings.g.u["2"] = "Undo Stage Hunk" +lvim.builtin.which_key.mappings.h["1"] = "nohlsearch" +lvim.builtin.which_key.mappings.h["2"] = "No Highlight" +lvim.builtin.which_key.mappings.l.a["1"] = "lua require('lvim.core.telescope').code_actions()" +lvim.builtin.which_key.mappings.l.a["2"] = "Code Action" +lvim.builtin.which_key.mappings.L.c["1"] = "edit /home/sudacode/.config/lvim/config.lua" +lvim.builtin.which_key.mappings.L.c["2"] = "Edit config.lua" +lvim.builtin.which_key.mappings.l.d["1"] = "Telescope diagnostics bufnr=0 theme=get_ivy" +lvim.builtin.which_key.mappings.l.d["2"] = "Buffer Diagnostics" +lvim.builtin.which_key.mappings.L.f["1"] = "lua require('lvim.core.telescope.custom-finders').find_lunarvim_files()" +lvim.builtin.which_key.mappings.l.f["1"] = "lua vim.lsp.buf.formatting()" +lvim.builtin.which_key.mappings.L.f["2"] = "Find LunarVim files" +lvim.builtin.which_key.mappings.l.f["2"] = "Format" +lvim.builtin.which_key.mappings.L.g["1"] = "lua require('lvim.core.telescope.custom-finders').grep_lunarvim_files()" +lvim.builtin.which_key.mappings.L.g["2"] = "Grep LunarVim files" +lvim.builtin.which_key.mappings.l.i["1"] = "LspInfo" +lvim.builtin.which_key.mappings.l.I["1"] = "LspInstallInfo" +lvim.builtin.which_key.mappings.L.i["1"] = "lua require('lvim.core.info').toggle_popup(vim.bo.filetype)" +lvim.builtin.which_key.mappings.L.I["1"] = "lua require('lvim.core.telescope.custom-finders').view_lunarvim_changelog()" +lvim.builtin.which_key.mappings.l.i["2"] = "Info" +lvim.builtin.which_key.mappings.l.I["2"] = "Installer Info" +lvim.builtin.which_key.mappings.L.i["2"] = "Toggle LunarVim Info" +lvim.builtin.which_key.mappings.L.I["2"] = "View LunarVim's changelog" +lvim.builtin.which_key.mappings.l.j["1"] = "lua vim.diagnostic.goto_next()" +lvim.builtin.which_key.mappings.l.j["2"] = "Next Diagnostic" +lvim.builtin.which_key.mappings.l.k["1"] = "lua vim.diagnostic.goto_prev()" +lvim.builtin.which_key.mappings.L.k["1"] = "Telescope keymaps" +lvim.builtin.which_key.mappings.l.k["2"] = "Prev Diagnostic" +lvim.builtin.which_key.mappings.L.k["2"] = "View LunarVim's keymappings" +lvim.builtin.which_key.mappings.l.l["1"] = "lua vim.lsp.codelens.run()" +lvim.builtin.which_key.mappings.l.l["2"] = "CodeLens Action" +lvim.builtin.which_key.mappings.L.l.d["1"] = "lua require('lvim.core.terminal').toggle_log_view(require('lvim.core.log').get_path())" +lvim.builtin.which_key.mappings.L.l.D["1"] = "lua vim.fn.execute('edit ' .. require('lvim.core.log').get_path())" +lvim.builtin.which_key.mappings.L.l.D["2"] = "Open the default logfile" +lvim.builtin.which_key.mappings.L.l.d["2"] = "view default log" +lvim.builtin.which_key.mappings.L.l.l["1"] = "lua require('lvim.core.terminal').toggle_log_view(vim.lsp.get_log_path())" +lvim.builtin.which_key.mappings.L.l.L["1"] = "lua vim.fn.execute('edit ' .. vim.lsp.get_log_path())" +lvim.builtin.which_key.mappings.L.l.L["2"] = "Open the LSP logfile" +lvim.builtin.which_key.mappings.L.l.l["2"] = "view lsp log" +lvim.builtin.which_key.mappings.L.l.N["1"] = "edit $NVIM_LOG_FILE" +lvim.builtin.which_key.mappings.L.l.n["1"] = "lua require('lvim.core.terminal').toggle_log_view(os.getenv('NVIM_LOG_FILE'))" +lvim.builtin.which_key.mappings.L.l.N["2"] = "Open the Neovim logfile" +lvim.builtin.which_key.mappings.L.l.n["2"] = "view neovim log" +lvim.builtin.which_key.mappings.L.l.name = "+logs" +lvim.builtin.which_key.mappings.L.l.P["1"] = "exe 'edit '.stdpath('cache').'/packer.nvim.log'" +lvim.builtin.which_key.mappings.L.l.p["1"] = "lua require('lvim.core.terminal').toggle_log_view('packer.nvim')" +lvim.builtin.which_key.mappings.L.l.P["2"] = "Open the Packer logfile" +lvim.builtin.which_key.mappings.L.l.p["2"] = "view packer log" +lvim.builtin.which_key.mappings.l.name = "LSP" +lvim.builtin.which_key.mappings.L.name = "+LunarVim" +lvim.builtin.which_key.mappings.l.p.d["1"] = "lua require('lvim.lsp.peek').Peek('definition')" +lvim.builtin.which_key.mappings.l.p.d["2"] = "Definition" +lvim.builtin.which_key.mappings.l.p.i["1"] = "lua require('lvim.lsp.peek').Peek('implementation')" +lvim.builtin.which_key.mappings.l.p.i["2"] = "Implementation" +lvim.builtin.which_key.mappings.l.p.name = "Peek" +lvim.builtin.which_key.mappings.l.p.t["1"] = "lua require('lvim.lsp.peek').Peek('typeDefinition')" +lvim.builtin.which_key.mappings.l.p.t["2"] = "Type Definition" +lvim.builtin.which_key.mappings.l.q["1"] = "lua vim.diagnostic.setloclist()" +lvim.builtin.which_key.mappings.l.q["2"] = "Quickfix" +lvim.builtin.which_key.mappings.l.r["1"] = "lua vim.lsp.buf.rename()" +lvim.builtin.which_key.mappings.L.r["1"] = "LvimReload" +lvim.builtin.which_key.mappings.L.r["2"] = "Reload LunarVim's configuration" +lvim.builtin.which_key.mappings.l.r["2"] = "Rename" +lvim.builtin.which_key.mappings.l.s["1"] = "Telescope lsp_document_symbols" +lvim.builtin.which_key.mappings.l.S["1"] = "Telescope lsp_dynamic_workspace_symbols" +lvim.builtin.which_key.mappings.l.s["2"] = "Document Symbols" +lvim.builtin.which_key.mappings.l.S["2"] = "Workspace Symbols" +lvim.builtin.which_key.mappings.L.u["1"] = "LvimUpdate" +lvim.builtin.which_key.mappings.L.u["2"] = "Update LunarVim" +lvim.builtin.which_key.mappings.l.w["1"] = "Telescope diagnostics" +lvim.builtin.which_key.mappings.l.w["2"] = "Diagnostics" +lvim.builtin.which_key.mappings.p.c["1"] = "PackerCompile" +lvim.builtin.which_key.mappings.p.c["2"] = "Compile" +lvim.builtin.which_key.mappings.p.i["1"] = "PackerInstall" +lvim.builtin.which_key.mappings.p.i["2"] = "Install" +lvim.builtin.which_key.mappings.p.name = "Packer" +lvim.builtin.which_key.mappings.p.r["1"] = "lua require('lvim.plugin-loader').recompile()" +lvim.builtin.which_key.mappings.p.r["2"] = "Re-compile" +lvim.builtin.which_key.mappings.p.S["1"] = "PackerStatus" +lvim.builtin.which_key.mappings.p.s["1"] = "PackerSync" +lvim.builtin.which_key.mappings.p.S["2"] = "Status" +lvim.builtin.which_key.mappings.p.s["2"] = "Sync" +lvim.builtin.which_key.mappings.p.u["1"] = "PackerUpdate" +lvim.builtin.which_key.mappings.p.u["2"] = "Update" +lvim.builtin.which_key.mappings.q["1"] = "q!" +lvim.builtin.which_key.mappings.q["2"] = "Quit" +lvim.builtin.which_key.mappings.s.b["1"] = "Telescope git_branches" +lvim.builtin.which_key.mappings.s.b["2"] = "Checkout branch" +lvim.builtin.which_key.mappings.s.c["1"] = "Telescope colorscheme" +lvim.builtin.which_key.mappings.s.C["1"] = "Telescope commands" +lvim.builtin.which_key.mappings.s.c["2"] = "Colorscheme" +lvim.builtin.which_key.mappings.s.C["2"] = "Commands" +lvim.builtin.which_key.mappings.s.f["1"] = "Telescope find_files" +lvim.builtin.which_key.mappings.s.f["2"] = "Find File" +lvim.builtin.which_key.mappings.s.h["1"] = "Telescope help_tags" +lvim.builtin.which_key.mappings.s.h["2"] = "Find Help" +lvim.builtin.which_key.mappings.s.k["1"] = "Telescope keymaps" +lvim.builtin.which_key.mappings.s.k["2"] = "Keymaps" +lvim.builtin.which_key.mappings.s.M["1"] = "Telescope man_pages" +lvim.builtin.which_key.mappings.s.M["2"] = "Man Pages" +lvim.builtin.which_key.mappings.s.name = "Search" +lvim.builtin.which_key.mappings.s.p["1"] = "lua require('telescope.builtin.internal').colorscheme({enable_preview = true})" +lvim.builtin.which_key.mappings.s.p["2"] = "Colorscheme with Preview" +lvim.builtin.which_key.mappings.s.r["1"] = "Telescope oldfiles" +lvim.builtin.which_key.mappings.s.R["1"] = "Telescope registers" +lvim.builtin.which_key.mappings.s.r["2"] = "Open Recent File" +lvim.builtin.which_key.mappings.s.R["2"] = "Registers" +lvim.builtin.which_key.mappings.s.t["1"] = "Telescope live_grep" +lvim.builtin.which_key.mappings.s.t["2"] = "Text" +lvim.builtin.which_key.mappings.T.i["1"] = ":TSConfigInfo" +lvim.builtin.which_key.mappings.T.i["2"] = "Info" +lvim.builtin.which_key.mappings.T.name = "Treesitter" +lvim.builtin.which_key.mappings.w["1"] = "w!" +lvim.builtin.which_key.mappings.w["2"] = "Save" +lvim.builtin.which_key.opts.mode = "n" +lvim.builtin.which_key.opts.noremap = true +lvim.builtin.which_key.opts.nowait = true +lvim.builtin.which_key.opts.prefix = "" +lvim.builtin.which_key.opts.silent = true +lvim.builtin.which_key.setup.hidden["1"] = "" +lvim.builtin.which_key.setup.hidden["2"] = "" +lvim.builtin.which_key.setup.hidden["3"] = "" +lvim.builtin.which_key.setup.hidden["4"] = "" +lvim.builtin.which_key.setup.hidden["5"] = "call" +lvim.builtin.which_key.setup.hidden["6"] = "lua" +lvim.builtin.which_key.setup.hidden["7"] = "^:" +lvim.builtin.which_key.setup.hidden["8"] = "^ " +lvim.builtin.which_key.setup.icons.breadcrumb = "»" +lvim.builtin.which_key.setup.icons.group = "+" +lvim.builtin.which_key.setup.icons.separator = "➜" +lvim.builtin.which_key.setup.layout.height.max = 25 +lvim.builtin.which_key.setup.layout.height.min = 4 +lvim.builtin.which_key.setup.layout.spacing = 3 +lvim.builtin.which_key.setup.layout.width.max = 50 +lvim.builtin.which_key.setup.layout.width.min = 20 +lvim.builtin.which_key.setup.plugins.marks = true +lvim.builtin.which_key.setup.plugins.presets.g = true +lvim.builtin.which_key.setup.plugins.presets.motions = false +lvim.builtin.which_key.setup.plugins.presets.nav = true +lvim.builtin.which_key.setup.plugins.presets.operators = false +lvim.builtin.which_key.setup.plugins.presets.text_objects = false +lvim.builtin.which_key.setup.plugins.presets.windows = true +lvim.builtin.which_key.setup.plugins.presets.z = true +lvim.builtin.which_key.setup.plugins.registers = true +lvim.builtin.which_key.setup.plugins.spelling.enabled = true +lvim.builtin.which_key.setup.plugins.spelling.suggestions = 20 +lvim.builtin.which_key.setup.show_help = true +lvim.builtin.which_key.setup.window.border = "single" +lvim.builtin.which_key.setup.window.margin["1"] = 1 +lvim.builtin.which_key.setup.window.margin["2"] = 0 +lvim.builtin.which_key.setup.window.margin["3"] = 1 +lvim.builtin.which_key.setup.window.margin["4"] = 0 +lvim.builtin.which_key.setup.window.padding["1"] = 2 +lvim.builtin.which_key.setup.window.padding["2"] = 2 +lvim.builtin.which_key.setup.window.padding["3"] = 2 +lvim.builtin.which_key.setup.window.padding["4"] = 2 +lvim.builtin.which_key.setup.window.position = "bottom" +lvim.builtin.which_key.vmappings["/"]["1"] = "lua require('Comment.api').toggle_linewise_op(vim.fn.visualmode())" +lvim.builtin.which_key.vmappings["/"]["2"] = "Comment" +lvim.builtin.which_key.vopts.mode = "v" +lvim.builtin.which_key.vopts.noremap = true +lvim.builtin.which_key.vopts.nowait = true +lvim.builtin.which_key.vopts.prefix = "" +lvim.builtin.which_key.vopts.silent = true +lvim.colorscheme = "onedarker" +lvim.database.auto_execute = 1 +lvim.database.save_location = "/home/sudacode/.config/lunarvim_db" +lvim.format_on_save = true +lvim.keys.normal_mode[""] = ":w" +lvim.leader = "space" +lvim.log.level = "warn" +lvim.log.override_notify = false +lvim.log.viewer.cmd = "lnav" +lvim.log.viewer.layout_config.direction = "horizontal" +lvim.log.viewer.layout_config.open_mapping = "" +lvim.log.viewer.layout_config.size = 40 +lvim.lsp.automatic_servers_installation = true +lvim.lsp.buffer_mappings.normal_mode.gD["1"] = "lua vim.lsp.buf.declaration()" +lvim.lsp.buffer_mappings.normal_mode.gd["1"] = "lua vim.lsp.buf.definition()" +lvim.lsp.buffer_mappings.normal_mode.gD["2"] = "Goto declaration" +lvim.lsp.buffer_mappings.normal_mode.gd["2"] = "Goto Definition" +lvim.lsp.buffer_mappings.normal_mode.gI["1"] = "lua vim.lsp.buf.implementation()" +lvim.lsp.buffer_mappings.normal_mode.gI["2"] = "Goto Implementation" +lvim.lsp.buffer_mappings.normal_mode.gl["1"] = "lua require'lvim.lsp.handlers'.show_line_diagnostics()" +lvim.lsp.buffer_mappings.normal_mode.gl["2"] = "Show line diagnostics" +lvim.lsp.buffer_mappings.normal_mode.gp["1"] = "lua require'lvim.lsp.peek'.Peek('definition')" +lvim.lsp.buffer_mappings.normal_mode.gp["2"] = "Peek definition" +lvim.lsp.buffer_mappings.normal_mode.gr["1"] = "lua vim.lsp.buf.references()" +lvim.lsp.buffer_mappings.normal_mode.gr["2"] = "Goto references" +lvim.lsp.buffer_mappings.normal_mode.gs["1"] = "lua vim.lsp.buf.signature_help()" +lvim.lsp.buffer_mappings.normal_mode.gs["2"] = "show signature help" +lvim.lsp.buffer_mappings.normal_mode.K["1"] = "lua vim.lsp.buf.hover()" +lvim.lsp.buffer_mappings.normal_mode.K["2"] = "Show hover" +lvim.lsp.code_lens_refresh = true +lvim.lsp.diagnostics.float.border = "rounded" +lvim.lsp.diagnostics.float.focusable = false +-- lvim.lsp.diagnostics.float.format = function () +lvim.lsp.diagnostics.float.header = "" +lvim.lsp.diagnostics.float.prefix = "" +lvim.lsp.diagnostics.float.source = "always" +lvim.lsp.diagnostics.float.style = "minimal" +lvim.lsp.diagnostics.severity_sort = true +lvim.lsp.diagnostics.signs.active = true +lvim.lsp.diagnostics.signs.values["1"].name = "DiagnosticSignError" +lvim.lsp.diagnostics.signs.values["1"].text = "" +lvim.lsp.diagnostics.signs.values["2"].name = "DiagnosticSignWarn" +lvim.lsp.diagnostics.signs.values["2"].text = "" +lvim.lsp.diagnostics.signs.values["3"].name = "DiagnosticSignHint" +lvim.lsp.diagnostics.signs.values["3"].text = "" +lvim.lsp.diagnostics.signs.values["4"].name = "DiagnosticSignInfo" +lvim.lsp.diagnostics.signs.values["4"].text = "" +lvim.lsp.diagnostics.underline = true +lvim.lsp.diagnostics.update_in_insert = false +lvim.lsp.diagnostics.virtual_text = true +lvim.lsp.document_highlight = true +lvim.lsp.float.border = "rounded" +lvim.lsp.float.focusable = false +lvim.lsp.float.style = "minimal" +lvim.lsp.override["10"] = "eslintls" +lvim.lsp.override["11"] = "grammarly" +lvim.lsp.override["12"] = "graphql" +lvim.lsp.override["13"] = "jedi_language_server" +lvim.lsp.override["14"] = "ltex" +lvim.lsp.override["15"] = "phpactor" +lvim.lsp.override["16"] = "pylsp" +lvim.lsp.override["17"] = "quick_lint_js" +lvim.lsp.override["18"] = "rome" +lvim.lsp.override["19"] = "solang" +lvim.lsp.override["1"] = "angularls" +lvim.lsp.override["20"] = "solidity_ls" +lvim.lsp.override["21"] = "sorbet" +lvim.lsp.override["22"] = "sourcekit" +lvim.lsp.override["23"] = "spectral" +lvim.lsp.override["24"] = "sqlls" +lvim.lsp.override["25"] = "sqls" +lvim.lsp.override["26"] = "stylelint_lsp" +lvim.lsp.override["27"] = "tailwindcss" +lvim.lsp.override["28"] = "tflint" +lvim.lsp.override["29"] = "volar" +lvim.lsp.override["2"] = "ansiblels" +lvim.lsp.override["30"] = "zk" +lvim.lsp.override["3"] = "ccls" +lvim.lsp.override["4"] = "csharp_ls" +lvim.lsp.override["5"] = "cssmodules_ls" +lvim.lsp.override["6"] = "denols" +lvim.lsp.override["7"] = "ember" +lvim.lsp.override["8"] = "emmet_ls" +lvim.lsp.override["9"] = "eslint" +lvim.lsp.templates_dir = "/home/sudacode/.local/share/lunarvim/after/ftplugin" +lvim.plugins["10"] = "tzachar/cmp-tabnine" +lvim.plugins["1"]["1"] = "folke/trouble.nvim" +lvim.plugins["11"] = "onsails/lspkind-nvim" +lvim.plugins["1"].cmd = "TroubleToggle" +lvim.plugins["2"]["1"] = "simrat39/symbols-outline.nvim" +lvim.plugins["2"].cmd = "SymbolsOutline" +lvim.plugins["3"]["1"] = "ray-x/lsp_signature.nvim" +-- lvim.plugins["3"].config = function () +lvim.plugins["3"].event = "BufRead" +lvim.plugins["4"]["1"] = "rmagatti/goto-preview" +-- lvim.plugins["4"].config = function () +lvim.plugins["5"]["1"] = "iamcco/markdown-preview.nvim" +-- lvim.plugins["5"].config = function () +lvim.plugins["5"].ft = "markdown" +lvim.plugins["5"].run = "cd app && npm install" +lvim.plugins["6"]["1"] = "ethanholz/nvim-lastplace" +-- lvim.plugins["6"].config = function () +lvim.plugins["6"].event = "BufRead" +lvim.plugins["7"] = "wakatime/vim-wakatime" +lvim.plugins["8"] = "ap/vim-css-color" +lvim.plugins["9"] = "p00f/nvim-ts-rainbow" +lvim.transparent_window = false +lvim.vsnip_dir = "/home/sudacode/.config/snippets" diff --git a/lvim/plugin/packer_compiled.lua b/lvim/plugin/packer_compiled.lua index 42803c9..4a82d0e 100644 --- a/lvim/plugin/packer_compiled.lua +++ b/lvim/plugin/packer_compiled.lua @@ -111,6 +111,11 @@ _G.packer_plugins = { path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/start/cmp-path", url = "https://github.com/hrsh7th/cmp-path" }, + ["cmp-tabnine"] = { + loaded = true, + path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/start/cmp-tabnine", + url = "https://github.com/tzachar/cmp-tabnine" + }, cmp_luasnip = { loaded = true, path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/start/cmp_luasnip", @@ -138,19 +143,24 @@ _G.packer_plugins = { url = "https://github.com/lewis6991/gitsigns.nvim" }, ["goto-preview"] = { - config = { "\27LJ\1\2k\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\4\vheight\3\25\ndebug\1\21default_mappings\1\nwidth\3x\nsetup\17goto-preview\frequire\0" }, + config = { "\27LJ\1\2k\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\4\vheight\3\25\ndebug\1\21default_mappings\1\nwidth\3d\nsetup\17goto-preview\frequire\0" }, loaded = true, path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/start/goto-preview", url = "https://github.com/rmagatti/goto-preview" }, ["lsp_signature.nvim"] = { - config = { "\27LJ\1\2A\0\0\2\1\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0+\1\0\0>\0\2\1G\0\1\0\4\nsetup\18lsp_signature\frequire\0" }, + config = { "\27LJ\1\2A\0\0\2\1\3\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0+\1\0\0>\0\2\1G\0\1\0\3\nsetup\18lsp_signature\frequire\0" }, loaded = false, needs_bufread = false, only_cond = false, path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/opt/lsp_signature.nvim", url = "https://github.com/ray-x/lsp_signature.nvim" }, + ["lspkind-nvim"] = { + loaded = true, + path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/start/lspkind-nvim", + url = "https://github.com/onsails/lspkind-nvim" + }, ["lua-dev.nvim"] = { loaded = false, needs_bufread = false, @@ -318,7 +328,7 @@ _G.packer_plugins = { needs_bufread = false, only_cond = false, path = "/home/sudacode/.local/share/lunarvim/site/pack/packer/opt/which-key.nvim", - url = "https://github.com/folke/which-key.nvim" + url = "https://github.com/zeertzjq/which-key.nvim" } } @@ -365,7 +375,7 @@ try_loadstring("\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 time([[Config for nvim-tree.lua]], false) -- Config for: goto-preview time([[Config for goto-preview]], true) -try_loadstring("\27LJ\1\2k\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\4\vheight\3\25\ndebug\1\21default_mappings\1\nwidth\3x\nsetup\17goto-preview\frequire\0", "config", "goto-preview") +try_loadstring("\27LJ\1\2k\0\0\2\0\4\0\a4\0\0\0%\1\1\0>\0\2\0027\0\2\0003\1\3\0>\0\2\1G\0\1\0\1\0\4\vheight\3\25\ndebug\1\21default_mappings\1\nwidth\3d\nsetup\17goto-preview\frequire\0", "config", "goto-preview") time([[Config for goto-preview]], false) -- Config for: lualine.nvim time([[Config for lualine.nvim]], true) diff --git a/polybar-themes/sblocks/config.ini b/polybar-themes/sblocks/config.ini index a9215e9..fd2d708 100644 --- a/polybar-themes/sblocks/config.ini +++ b/polybar-themes/sblocks/config.ini @@ -117,7 +117,7 @@ border-bottom-color = ${color.primary} ; Number of spaces to add at the beginning/end of the bar ; Individual side values can be defined using: ; padding-{left,right} -padding = 1 +padding = 1.5 ; Number of spaces to add before/after each module ; Individual side values can be defined using: @@ -148,10 +148,8 @@ font-4 = "Source Han Sans JP:size=8;3" ; modules-center = xwindow xbacklight ; modules-right = ipc clock -modules-left = sep launcher sep bspwm-workspaces sep chrome flameshot color-picker -; modules-left = sep launcher sep bspwm-workspaces sep chrome flameshot color-picker -modules-center = title-icon title sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next -; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep +modules-left = sep launcher sep bspwm-workspaces sep chrome flameshot color-picker sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next +; modules-center = title-icon title sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next modules-right = package-updates-trigger package-updates bluetooth sep pulseaudio sep network-wlan sep date weather sep sysmenu sep ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ @@ -181,7 +179,7 @@ locale = en_US.UTF-8 ; center ; right ; none -tray-position = none +tray-position = center ; If true, the bar will not shift its ; contents when the tray changes diff --git a/polybar-themes/sblocks/user_modules.ini b/polybar-themes/sblocks/user_modules.ini index 5ea43d1..4a1ec87 100644 --- a/polybar-themes/sblocks/user_modules.ini +++ b/polybar-themes/sblocks/user_modules.ini @@ -301,8 +301,9 @@ exec = rofi-bluetooth --status interval = 2 click-left = ~/SudacodeRice/scripts/rofi-bluetooth.desktop click-right = blueman-manager -format-background = ${color.background-alt} -format-padding = 1 +label-background = ${color.background-alt} +label-padding-right = 1 +format-padding = 0 format-prefix-padding = 1 format-overline = ${color.background} format-underline = ${color.background} diff --git a/scripts/rofi-bluetooth.desktop b/scripts/rofi-bluetooth.desktop index e116ff4..2e3a8cc 100755 --- a/scripts/rofi-bluetooth.desktop +++ b/scripts/rofi-bluetooth.desktop @@ -22,290 +22,292 @@ goback="Back" # Checks if bluetooth controller is powered on power_on() { - if bluetoothctl show | grep -q "Powered: yes"; then - return 0 - else - return 1 - fi + if bluetoothctl show | grep -q "Powered: yes"; then + return 0 + else + return 1 + fi } # Toggles power state toggle_power() { - if power_on; then - bluetoothctl power off - show_menu - else - if rfkill list bluetooth | grep -q 'blocked: yes'; then - rfkill unblock bluetooth && sleep 3 - fi - bluetoothctl power on - show_menu - fi + if power_on; then + bluetoothctl power off + show_menu + else + if rfkill list bluetooth | grep -q 'blocked: yes'; then + rfkill unblock bluetooth && sleep 3 + fi + bluetoothctl power on + show_menu + fi } # Checks if controller is scanning for new devices scan_on() { - if bluetoothctl show | grep -q "Discovering: yes"; then - echo "Scan: on" - return 0 - else - echo "Scan: off" - return 1 - fi + if bluetoothctl show | grep -q "Discovering: yes"; then + echo "Scan: on" + return 0 + else + echo "Scan: off" + return 1 + fi } # Toggles scanning state toggle_scan() { - if scan_on; then - kill $(pgrep -f "bluetoothctl scan on") - bluetoothctl scan off - show_menu - else - bluetoothctl scan on & - echo "Scanning..." - sleep 5 - show_menu - fi + if scan_on; then + kill $(pgrep -f "bluetoothctl scan on") + bluetoothctl scan off + show_menu + else + bluetoothctl scan on & + echo "Scanning..." + sleep 5 + show_menu + fi } # Checks if controller is able to pair to devices pairable_on() { - if bluetoothctl show | grep -q "Pairable: yes"; then - echo "Pairable: on" - return 0 - else - echo "Pairable: off" - return 1 - fi + if bluetoothctl show | grep -q "Pairable: yes"; then + echo "Pairable: on" + return 0 + else + echo "Pairable: off" + return 1 + fi } # Toggles pairable state toggle_pairable() { - if pairable_on; then - bluetoothctl pairable off - show_menu - else - bluetoothctl pairable on - show_menu - fi + if pairable_on; then + bluetoothctl pairable off + show_menu + else + bluetoothctl pairable on + show_menu + fi } # Checks if controller is discoverable by other devices discoverable_on() { - if bluetoothctl show | grep -q "Discoverable: yes"; then - echo "Discoverable: on" - return 0 - else - echo "Discoverable: off" - return 1 - fi + if bluetoothctl show | grep -q "Discoverable: yes"; then + echo "Discoverable: on" + return 0 + else + echo "Discoverable: off" + return 1 + fi } # Toggles discoverable state toggle_discoverable() { - if discoverable_on; then - bluetoothctl discoverable off - show_menu - else - bluetoothctl discoverable on - show_menu - fi + if discoverable_on; then + bluetoothctl discoverable off + show_menu + else + bluetoothctl discoverable on + show_menu + fi } # Checks if a device is connected device_connected() { - device_info=$(bluetoothctl info "$1") - if echo "$device_info" | grep -q "Connected: yes"; then - return 0 - else - return 1 - fi + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Connected: yes"; then + return 0 + else + return 1 + fi } # Toggles device connection toggle_connection() { - if device_connected $1; then - bluetoothctl disconnect $1 - device_menu "$device" - else - bluetoothctl connect $1 - device_menu "$device" - fi + if device_connected $1; then + bluetoothctl disconnect $1 + device_menu "$device" + else + bluetoothctl connect $1 + device_menu "$device" + fi } # Checks if a device is paired device_paired() { - device_info=$(bluetoothctl info "$1") - if echo "$device_info" | grep -q "Paired: yes"; then - echo "Paired: yes" - return 0 - else - echo "Paired: no" - return 1 - fi + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Paired: yes"; then + echo "Paired: yes" + return 0 + else + echo "Paired: no" + return 1 + fi } # Toggles device paired state toggle_paired() { - if device_paired $1; then - bluetoothctl remove $1 - device_menu "$device" - else - bluetoothctl pair $1 - device_menu "$device" - fi + if device_paired $1; then + bluetoothctl remove $1 + device_menu "$device" + else + bluetoothctl pair $1 + device_menu "$device" + fi } # Checks if a device is trusted device_trusted() { - device_info=$(bluetoothctl info "$1") - if echo "$device_info" | grep -q "Trusted: yes"; then - echo "Trusted: yes" - return 0 - else - echo "Trusted: no" - return 1 - fi + device_info=$(bluetoothctl info "$1") + if echo "$device_info" | grep -q "Trusted: yes"; then + echo "Trusted: yes" + return 0 + else + echo "Trusted: no" + return 1 + fi } # Toggles device connection toggle_trust() { - if device_trusted $1; then - bluetoothctl untrust $1 - device_menu "$device" - else - bluetoothctl trust $1 - device_menu "$device" - fi + if device_trusted $1; then + bluetoothctl untrust $1 + device_menu "$device" + else + bluetoothctl trust $1 + device_menu "$device" + fi } # Prints a short string with the current bluetooth status # Useful for status bars like polybar, etc. print_status() { - if power_on; then - echo -n "%{F#A3BE8C}  %{F-}" + if power_on; then + echo -n "%{B#98be65}%{F#3B4252}  %{B-}%{F-}%{B#3B4252}" - mapfile -t paired_devices < <(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2) - counter=0 + mapfile -t paired_devices < <(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2) + counter=0 - for device in "${paired_devices[@]}"; do - if device_connected $device; then - device_alias=$(bluetoothctl info $device | grep "Alias" | cut -d ' ' -f 2-) + for device in "${paired_devices[@]}"; do + if device_connected $device; then + device_alias=$(bluetoothctl info $device | grep "Alias" | cut -d ' ' -f 2-) - if [ $counter -gt 0 ]; then - printf ", %s" "$device_alias" - else - printf " %s" "$device_alias" - fi + if [ $counter -gt 0 ]; then + printf ", %s" "$device_alias" + else + printf " %s" "$device_alias" + fi - ((counter++)) - fi - done - printf "\n" - else - echo -n "%{F#EC7875}  %{F-}" - fi + ((counter++)) + fi + done + printf "\n" + else + echo -n "%{B#EC7875}%{F#3B4252}  %{B-}%{F-}%{B#3B4252}" + fi } # A submenu for a specific device that allows connecting, pairing, and trusting device_menu() { - device=$1 + device=$1 - # Get device name and mac address - device_name=$(echo $device | cut -d ' ' -f 3-) - mac=$(echo $device | cut -d ' ' -f 2) + # Get device name and mac address + device_name=$(echo $device | cut -d ' ' -f 3-) + mac=$(echo $device | cut -d ' ' -f 2) - # Build options - if device_connected $mac; then - connected="Connected: yes" - else - connected="Connected: no" - fi - paired=$(device_paired $mac) - trusted=$(device_trusted $mac) - options="$connected\n$paired\n$trusted\n$divider\n$goback\nExit" + # Build options + if device_connected $mac; then + connected="Connected: yes" + else + connected="Connected: no" + fi + paired=$(device_paired $mac) + trusted=$(device_trusted $mac) + options="$connected\n$paired\n$trusted\n$divider\n$goback\nExit" - # Open rofi menu, read chosen option - chosen="$(echo -e "$options" | $rofi_command "$device_name")" + # Open rofi menu, read chosen option + chosen="$(echo -e "$options" | $rofi_command "$device_name")" - # Match chosen option to command - case $chosen in - "" | $divider) - echo "No option chosen." - ;; - $connected) - toggle_connection $mac - ;; - $paired) - toggle_paired $mac - ;; - $trusted) - toggle_trust $mac - ;; - $goback) - show_menu - ;; - esac + # Match chosen option to command + case $chosen in + "" | $divider) + echo "No option chosen." + ;; + $connected) + toggle_connection $mac + ;; + $paired) + toggle_paired $mac + ;; + $trusted) + toggle_trust $mac + ;; + $goback) + show_menu + ;; + esac } # Opens a rofi menu with current bluetooth status and options to connect show_menu() { - # Get menu options - if power_on; then - power="Power: on" + # Get menu options + if power_on; then + power="Power: on" - # Human-readable names of devices, one per line - # If scan is off, will only list paired devices - devices=$(bluetoothctl devices | grep Device | cut -d ' ' -f 3-) + # Human-readable names of devices, one per line + # If scan is off, will only list paired devices + devices=$(bluetoothctl devices | grep Device | cut -d ' ' -f 3-) - # Get controller flags - scan=$(scan_on) - pairable=$(pairable_on) - discoverable=$(discoverable_on) + # Get controller flags + scan=$(scan_on) + pairable=$(pairable_on) + discoverable=$(discoverable_on) - # Options passed to rofi - options="$devices\n$divider\n$power\n$scan\n$pairable\n$discoverable\nExit" - else - power="Power: off" - options="$power\nExit" - fi + # Options passed to rofi + options="$devices\n$divider\n$power\n$scan\n$pairable\n$discoverable\nExit" + else + power="Power: off" + options="$power\nExit" + fi - # Open rofi menu, read chosen option - chosen="$(echo -e "$options" | $rofi_command "Bluetooth")" + # Open rofi menu, read chosen option + chosen="$(echo -e "$options" | $rofi_command "Bluetooth")" - # Match chosen option to command - case $chosen in - "" | $divider) - echo "No option chosen." - ;; - $power) - toggle_power - ;; - $scan) - toggle_scan - ;; - $discoverable) - toggle_discoverable - ;; - $pairable) - toggle_pairable - ;; - *) - device=$(bluetoothctl devices | grep "$chosen") - # Open a submenu if a device is selected - if [[ $device ]]; then device_menu "$device"; fi - ;; - esac + # Match chosen option to command + case $chosen in + "" | $divider) + echo "No option chosen." + ;; + $power) + toggle_power + ;; + $scan) + toggle_scan + ;; + $discoverable) + toggle_discoverable + ;; + $pairable) + toggle_pairable + ;; + *) + device=$(bluetoothctl devices | grep "$chosen") + # Open a submenu if a device is selected + if [[ $device ]]; then device_menu "$device"; fi + ;; + esac } # Rofi command to pipe into, can add any options here rofi_command="rofi -config ~/SudacodeRice/rofi/dracula.rasi -dmenu -p" case "$1" in - --status) - print_status - ;; - *) - show_menu - ;; + --status) + print_status + ;; + *) + show_menu + ;; esac + +# vim: ft=sh