diff --git a/after/init.lua b/after/init.lua index 56a9e76..d8294df 100755 --- a/after/init.lua +++ b/after/init.lua @@ -9,3 +9,27 @@ vim.cmd[[ highlight CursorColumn guibg=none ctermbg=none highlight link CursorColumn CursorLine ]] + +-- fixmap +vim.cmd[[ +map m\ +map m/ +map mA +map mgS + +map tt +map tm +]] + +vim.opt.nu = true +vim.opt.number = true +vim.opt.relativenumber = true + + +vim.opt.cursorline = true +vim.opt.cursorcolumn = true +vim.cmd[[ +highlight CursorColumn guibg=none ctermbg=none +highlight link CursorColumn CursorLine +]] + diff --git a/after/plugin/dash.lua b/after/plugin/dash.lua deleted file mode 100755 index d2805b5..0000000 --- a/after/plugin/dash.lua +++ /dev/null @@ -1,43 +0,0 @@ --- local db = require('dashboard') --- -local header = {"", - " /$$ /$$ /$$ /$$ /$$ ", - "| $$$ | $$ | $$ | $$|__/ ", - "| $$$$| $$ /$$$$$$ /$$$$$$ | $$ | $$ /$$ /$$$$$$/$$$$ ", - "| $$ $$ $$ /$$__ $$ /$$__ $$| $$ / $$/| $$| $$_ $$_ $$", - "| $$ $$$$| $$$$$$$$| $$ \\ $$ \\ $$ $$/ | $$| $$ \\ $$ \\ $$", - "| $$\\ $$$| $$_____/| $$ | $$ \\ $$$/ | $$| $$ | $$ | $$", - "| $$ \\ $$| $$$$$$$| $$$$$$/ \\ $/ | $$| $$ | $$ | $$", - "|__/ \\__/ \\_______/ \\______/ \\_/ |__/|__/ |__/ |__/", - "", - "", - "", - "", - "", - "", - "", -} --- db.custom_header = header --- db.custom_center = { --- { --- icon = ' ', --- desc ='File Browser ', --- action = 'Telescope file_browser', --- shortcut = 'SPC e e' --- }, --- } - -local dashboard = require("alpha.themes.dashboard") -dashboard.section.header.val = header -dashboard.section.buttons.val = { - dashboard.button("op", "Open Project", ":OP"), - dashboard.button("oc", "Open Config", ":Config"), -} - --- dashboard.section.footer.opts.hl = "Constant" --- dashboard.section.header.opts.hl = "Include" --- dashboard.section.buttons.opts.hl = "Function" --- dashboard.section.buttons.opts.hl_shortcut = "Type" -dashboard.opts.opts.noautocmd = true - -require("alpha").setup(dashboard.opts) diff --git a/after/plugin/fixmap.lua b/after/plugin/fixmap.lua deleted file mode 100755 index c3080bc..0000000 --- a/after/plugin/fixmap.lua +++ /dev/null @@ -1,22 +0,0 @@ -vim.cmd[[ -map m\ -map m/ -map mA -map mgS - -map tt -map tm -]] - -vim.opt.nu = true -vim.opt.number = true -vim.opt.relativenumber = true - - -vim.opt.cursorline = true -vim.opt.cursorcolumn = true -vim.cmd[[ -highlight CursorColumn guibg=none ctermbg=none -highlight link CursorColumn CursorLine -]] - diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 244e056..b6cc7cf 100755 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -118,11 +118,6 @@ mason_lspconfig.setup_handlers { end, } -require("lspconfig").nimls.setup{ - cmd = {"nimlsp", "--log", "/tmp/nimlsp.log"}, - on_attach = on_attach, -} - require("lspconfig").zls.setup{ cmd = {"zls"}, on_attach = on_attach, @@ -186,7 +181,6 @@ cmp.setup { end, { 'i', 's' }), }, sources = { - { name = "otter" }, { name = 'nvim_lsp' }, { name = 'luasnip' }, { name = "crates" }, @@ -204,20 +198,3 @@ vim.diagnostic.config({ update_in_insert = true, virtual_text = true, }) - -require("cmp").config.formatting = { - format = require("tailwindcss-colorizer-cmp").formatter, - behavior = cmp.SelectBehavior.Select, -} - --- require('tabnine').setup({ --- disable_auto_comment=true, --- accept_keymap="", --- dismiss_keymap = "", --- debounce_ms = 300, --- suggestion_color = {gui = "#808080", cterm = 244}, --- execlude_filetypes = {"TelescopePrompt"} --- }) - - -require("aerial").setup({}) diff --git a/after/plugin/neotree.lua b/after/plugin/neotree.lua index 983ae30..916891b 100755 --- a/after/plugin/neotree.lua +++ b/after/plugin/neotree.lua @@ -3,8 +3,4 @@ require("neo-tree").setup({ winbar = true, statusline = false, }, -}) - - -vim.keymap.set("n", "", vim.cmd.ToggleTerm) -vim.keymap.set("t", "", vim.cmd.ToggleTerm) +}) \ No newline at end of file diff --git a/after/plugin/presence.lua b/after/plugin/presence.lua deleted file mode 100755 index 4b9da7e..0000000 --- a/after/plugin/presence.lua +++ /dev/null @@ -1,22 +0,0 @@ ---require("presence"):setup({ --- auto_update = true, -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`) --- neovim_image_text = "The best PDE, Personalized Development Enviroment", -- Text displayed when hovered over the Neovim image --- main_image = "neovim", -- Main image display (either "neovim" or "file") --- client_id = "793271441293967371", -- Use your own Discord application client id (not recommended) --- log_level = nil, -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error") --- debounce_timeout = 15, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(, true)`) --- enable_line_number = false, -- Displays the current line number instead of the current project --- blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches --- buttons = true, -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "