diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 7cccd0d..c5338ee --- a/README.md +++ b/README.md @@ -1,28 +1,19 @@

- +

- - # Trixy is a begginer friendy distro of NeoVim, that aims to be powerful while remaining minimal. ## Notable plugins and features include : -- `onedark` and `nightfox` colorschemes -- `zen-mode` with `twilight` -- new, modern ui by `nui` and `noice` - improved camelCase navigation wit w, b, e etc -- `harpoon` for easier jumping between project files -- pomodoro timer using `nomodoro` ; when pomodoro timer runs out, break starts with `cellular-automation.nvim` -- git integration using `gitsigns` and `neogit` -- debugger interface with `nvim-dap-ui` - `hlchunk.nvim` used for highlighting current scope -- `veil` as a dashboard and startpage - `nvim-tree` for file tree view - `lsp-zero` as a language server setup, simply briliant +- ... # Installation @@ -32,28 +23,3 @@ nvim +"Lazy sync" ``` It should pull Lazy.nvim itself, and also all of the plugins. Run :Mason to install your Language Servers of choice. - - - - -# Screenshots - -### Dashboard with screensaver falling leaves -![image](pictures/veil.png) - -### Highlighting current scope -![image](pictures/hlchunks.png) - -### File tree -![image](pictures/nvimtree.png) - -### Language Server -![image](pictures/lsp-cmp.png) -![image](pictures/errors.png) - -### Zen mode, with twilight -![image](pictures/zen.png) - -### Git integration -![image](pictures/git.png) - diff --git a/init.lua b/init.lua old mode 100644 new mode 100755 diff --git a/lua/options/colors.lua b/lua/options/colors.lua old mode 100644 new mode 100755 index b4bb24b..ff6dee8 --- a/lua/options/colors.lua +++ b/lua/options/colors.lua @@ -3,3 +3,5 @@ -- vim.g.onedark_config = { style = 'darker' } vim.cmd("colorscheme carbonfox") +-- vim.opt.background = "dark" -- set this to dark or light +-- vim.cmd.colorscheme "oxocarbon" diff --git a/lua/options/harpoon.lua b/lua/options/harpoon.lua new file mode 100644 index 0000000..2b35e12 --- /dev/null +++ b/lua/options/harpoon.lua @@ -0,0 +1,17 @@ +local harpoon = require("harpoon") + +-- REQUIRED +harpoon:setup() +-- REQUIRED + +vim.keymap.set("n", "ha", function() harpoon:list():append() end) +vim.keymap.set("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) + +vim.keymap.set("n", "", function() harpoon:list():select(1) end) +vim.keymap.set("n", "", function() harpoon:list():select(2) end) +vim.keymap.set("n", "", function() harpoon:list():select(3) end) +vim.keymap.set("n", "", function() harpoon:list():select(4) end) + +-- Toggle previous & next buffers stored within Harpoon list +vim.keymap.set("n", "", function() harpoon:list():prev() end) +vim.keymap.set("n", "", function() harpoon:list():next() end) diff --git a/lua/options/init.lua b/lua/options/init.lua old mode 100644 new mode 100755 diff --git a/lua/options/keybind.lua b/lua/options/keybind.lua old mode 100644 new mode 100755 index 00bd523..b7ba50e --- a/lua/options/keybind.lua +++ b/lua/options/keybind.lua @@ -8,49 +8,11 @@ local cmap = vim.keymap.set local options = { noremap = true } local cmd_options = { noremap = true, silent = true } -local tele = require('telescope.builtin') -local neogit = require('neogit') - - - --- Launch panel if nothing is typed after z -cmap("n", "z", "Telekasten panel") - --- Most used functions -cmap("n", "zf", "Telekasten find_notes") -cmap("n", "zg", "Telekasten search_notes") -cmap("n", "zt", "Telekasten goto_today") -cmap("n", "zn", "Telekasten new_note") -cmap("n", "zc", "Telekasten show_calendar") -cmap("n", "zb", "Telekasten show_backlinks") - --- Call insert link automatically when we start typing a link -cmap("i", "[[", "Telekasten insert_link") - - - --- open git integration -map("n", "g", "Neogit kind=split", options) - - - --- TELESCOPE -cmap("n", "ff", tele.find_files, options) -map("n", "fh", "Telescope find_files hidden=true", options) -cmap("n", "fg", tele.git_files, options) - -cmap("n", "fs", function() - tele.grep_string({ search = vim.fn.input("Grep > ") }); -end) - - -- slef explanitory map("n", "tw", "lua MiniTrailspace.trim()", options) map("n", "fm", "NvimTreeToggle", options) map("n", "tt", "12 split Tnew", options) -map("n", "zt", "Twilight", options) -map("n", "zz", "ZenMode", options) -- remap keys so that they dont skip camelCase @@ -60,12 +22,6 @@ map("n", "e", "CamelCaseMotion_e", cmd_options) map("n", "ge", "CamelCaseMotion_ge", cmd_options) --- Dashboard and pomodoro -map("n", "v", "Veil", options) -map("n", "p", "NomoMenu", options) - - - -- this little guy helps you move text, really helpful map("v", "J", ":m '>+1gv=gv", options) map("v", "K", ":m '<-2gv=gv", options) @@ -97,8 +53,3 @@ map("n", "j", "lprevzz", options) -- search and replace every instance of word under cursor cmap("n", "s", [[:%s/\<\>//gI]]) - --- take a break ! -map("n", "mr", "CellularAutomaton make_it_rain", options) - - diff --git a/lua/options/opts.lua b/lua/options/opts.lua old mode 100644 new mode 100755 diff --git a/lua/plugins/bufferline.lua b/lua/plugins/bufferline.lua new file mode 100755 index 0000000..f362692 --- /dev/null +++ b/lua/plugins/bufferline.lua @@ -0,0 +1,73 @@ + local bufferline = require('bufferline') + bufferline.setup { + options = { + mode = "buffers", -- set to "tabs" to only show tabpages instead + style_preset = bufferline.style_preset.default, -- or bufferline.style_preset.minimal, + themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default + numbers = "none" , + close_command = "bdelete! %d", -- can be a string | function, | false see "Mouse actions" + right_mouse_command = "bdelete! %d", -- can be a string | function | false, see "Mouse actions" + left_mouse_command = "buffer %d", -- can be a string | function, | false see "Mouse actions" + middle_mouse_command = nil, -- can be a string | function, | false see "Mouse actions" + indicator = { + icon = '/', -- this should be omitted if indicator style is not 'icon' + style = 'icon' , + }, + buffer_close_icon = '󰅖', + modified_icon = '●', + close_icon = '', + left_trunc_marker = '', + right_trunc_marker = '', + --- name_formatter can be used to change the buffer's label in the bufferline. + --- Please note some names can/will break the + --- bufferline so use this at your discretion knowing that it has + --- some limitations that will *NOT* be fixed. + max_name_length = 25, + max_prefix_length = 15, -- prefix used when a buffer is de-duplicated + truncate_names = true, -- whether or not tab names should be truncated + tab_size = 25, + diagnostics = false, + diagnostics_update_in_insert = false, + -- The diagnostics indicator can be set to nil to keep the buffer name highlight but delete the highlighting + -- NOTE: this will be called a lot so don't do any heavy processing here + offsets = { + { + filetype = "NvimTree", + text = "File Explorer" , + text_align = "center", + separator = true + } + }, + color_icons = true , -- whether or not to add the filetype icon highlights + get_element_icon = function(element) + -- element consists of {filetype: string, path: string, extension: string, directory: string} + -- This can be used to change how bufferline fetches the icon + -- for an element e.g. a buffer or a tab. + -- e.g. + local icon, hl = require('nvim-web-devicons').get_icon_by_filetype(element.filetype, { default = false }) + return icon, hl + -- or + end, + show_buffer_icons = true , -- disable filetype icons for buffers + show_buffer_close_icons = true , + show_close_icon = true , + show_tab_indicators = true , + show_duplicate_prefix = true , -- whether to show duplicate buffer prefix + persist_buffer_sort = true, -- whether or not custom sorted buffers should persist + move_wraps_at_ends = false, -- whether or not the move command "wraps" at the first or last position + -- can also be a table containing 2 custom separators + -- [focused and unfocused]. eg: { '|', '|' } + separator_style = "thin" , + enforce_regular_tabs = false , + always_show_bufferline = true , + hover = { + enabled = true, + delay = 200, + reveal = {'close'} + }, + sort_by = 'insert_at_end', function(buffer_a, buffer_b) + -- add custom logic + return buffer_a.modified > buffer_b.modified + end + } + } diff --git a/lua/plugins/devicons.lua b/lua/plugins/devicons.lua old mode 100644 new mode 100755 diff --git a/lua/plugins/drop.lua b/lua/plugins/drop.lua deleted file mode 100644 index b5151ee..0000000 --- a/lua/plugins/drop.lua +++ /dev/null @@ -1,9 +0,0 @@ -require('drop').setup -{ - ---@type DropTheme|string - theme = "leaves", -- can be one of rhe default themes, or a custom theme - max = 15, -- maximum number of drops on the screen - interval = 100, -- every 100ms we update the drops - screensaver = 1000 * 60 * 3, -- show after 3 minutes. Set to false, to disable - filetypes = { }, -- will enable/disable automatically for the following filetypes -} diff --git a/lua/plugins/gitsigns.lua b/lua/plugins/gitsigns.lua old mode 100644 new mode 100755 index c8d0a02..04f7b99 --- a/lua/plugins/gitsigns.lua +++ b/lua/plugins/gitsigns.lua @@ -1,11 +1,11 @@ require('gitsigns').setup { signs = { - add = { text = '▊' }, - change = { text = '▊' }, - delete = { text = '▊' }, - topdelete = { text = '▊' }, - changedelete = { text = '▊' }, - untracked = { text = '|' }, + add = { text = '▍' }, + change = { text = '▍' }, + delete = { text = '▍' }, + topdelete = { text = '▍' }, + changedelete = { text = '▍' }, + untracked = { text = '▎' }, }, signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` diff --git a/lua/plugins/harpoon.lua b/lua/plugins/harpoon.lua index 508114f..0aef657 100644 --- a/lua/plugins/harpoon.lua +++ b/lua/plugins/harpoon.lua @@ -1,15 +1,17 @@ -vim.g.mapleader = " " +local harpoon = require("harpoon") -local mark = require("harpoon.mark") -local ui = require("harpoon.ui") +-- REQUIRED +harpoon:setup() +-- REQUIRED +vim.keymap.set("n", "a", function() harpoon:list():append() end) +vim.keymap.set("n", "", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) --- show harpoon menu and add file to harpoon list -vim.keymap.set("n", "ma", mark.add_file) -vim.keymap.set("n", "mm", ui.toggle_quick_menu) +vim.keymap.set("n", "", function() harpoon:list():select(1) end) +vim.keymap.set("n", "", function() harpoon:list():select(2) end) +vim.keymap.set("n", "", function() harpoon:list():select(3) end) +vim.keymap.set("n", "", function() harpoon:list():select(4) end) --- main 4 files of harpoon jumping -vim.keymap.set("n", "", function() ui.nav_file(1) end) -vim.keymap.set("n", "", function() ui.nav_file(2) end) -vim.keymap.set("n", "", function() ui.nav_file(3) end) -vim.keymap.set("n", "", function() ui.nav_file(4) end) +-- Toggle previous & next buffers stored within Harpoon list +vim.keymap.set("n", "", function() harpoon:list():prev() end) +vim.keymap.set("n", "", function() harpoon:list():next() end) diff --git a/lua/plugins/hlblocks.lua b/lua/plugins/hlblocks.lua old mode 100644 new mode 100755 index c533c6a..e90fa48 --- a/lua/plugins/hlblocks.lua +++ b/lua/plugins/hlblocks.lua @@ -4,8 +4,17 @@ require('hlchunk').setup({ --chars = { "│", "¦", "┆", "┊", }, -- more code can be found in https://unicodeplus.com/ style = { + "#888888", + "#666666", + "#444444", "#333333", - }, + "#333333", + "#333333", + "#333333", + "#333333", + } + + }, blank = { @@ -14,17 +23,17 @@ require('hlchunk').setup({ chunk = { chars = { - horizontal_line = "─", - vertical_line = "│", - left_top = "╭", - left_bottom = "╰", - right_arrow = ">", + horizontal_line = "", + vertical_line = "", + left_top = "", + left_bottom = "", + right_arrow = "", }, - style = "#00ffff", + style = "#FF7F00", }, line_num = { - style = "#00ffff", + style = "#FFFFFF", }, }) diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua old mode 100644 new mode 100755 index 476a7c5..8bc2817 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -1,13 +1,12 @@ require("plugins.lazy") require("plugins.treesitter") -require("plugins.drop") -require("plugins.mini") require("plugins.lsp-zero") require("plugins.devicons") require("plugins.lualine") -require("plugins.veil") -require("plugins.harpoon") require("plugins.hlblocks") require("plugins.gitsigns") require("plugins.nvimtree") +require("plugins.bufferline") require("plugins.wilder") +require("plugins.mini") +require("plugins.harpoon") diff --git a/lua/plugins/lazy.lua b/lua/plugins/lazy.lua old mode 100644 new mode 100755 index 8b9d0c4..45cdd46 --- a/lua/plugins/lazy.lua +++ b/lua/plugins/lazy.lua @@ -22,95 +22,25 @@ require("lazy").setup({ -- colorscheme "EdenEast/nightfox.nvim", + -- 'nyoom-engineering/oxocarbon.nvim', + 'luckasRanarison/tree-sitter-hypr', - - { - 'gelguy/wilder.nvim', - config = function() - local wilder = require('wilder') - wilder.setup({modes = {':', '/', '?'}}) - wilder.set_option('renderer', wilder.renderer_mux({ - [':'] = wilder.popupmenu_renderer({ - highlighter = wilder.basic_highlighter(), - }), - ['/'] = wilder.wildmenu_renderer({ - highlighter = wilder.basic_highlighter(), - }), - })) - - - wilder.set_option('renderer', wilder.popupmenu_renderer( - wilder.popupmenu_palette_theme({ - -- 'single', 'double', 'rounded' or 'solid' - -- can also be a list of 8 characters, see :h wilder#popupmenu_palette_theme() for more details - border = 'rounded', - max_height = '75%', -- max height of the palette - min_height = 0, -- set to the same as 'max_height' for a fixed height window - prompt_position = 'top', -- 'top' or 'bottom' to set the location of the prompt - reverse = 0, -- set to 1 to reverse the order of the list, use in combination with 'prompt_position' - }) - )) - end, - }, - - - -- Journaling and notes! with a calendar ! - { - "renerocksai/telekasten.nvim", - dependencies = { - "nvim-telescope/telescope.nvim", - "renerocksai/calendar-vim" - }, - config = function () - require("telekasten").setup({ - home = vim.fn.expand("~/zettelkasten"), -- Put the name of your notes directory here - }) - end - }, - - -- Focus more ! - "folke/twilight.nvim", - "folke/zen-mode.nvim", + 'lambdalisue/nerdfont.vim', + 'gelguy/wilder.nvim', -- it's annoying that w skips the whole word, so let's fix it "bkad/camelcasemotion", - -- very good file jumping system - "ThePrimeagen/harpoon", - - -- arbitrarily comment - "tpope/vim-commentary", - - -- this one is just fun - "eandrju/cellular-automaton.nvim", - - - -- indicate what has changed in git repo "lewis6991/gitsigns.nvim", - -- like magit for emacs - { - "NeogitOrg/neogit", - dependencies = "nvim-lua/plenary.nvim", - config = true - }, - - -- for faster file navigation { - "nvim-tree/nvim-tree.lua", - version = "*", - lazy = false, - dependencies = { - "nvim-tree/nvim-web-devicons", - }, - }, - - - -- Debugger UI - { - "rcarriga/nvim-dap-ui", - dependencies = {"mfussenegger/nvim-dap"} + "nvim-tree/nvim-tree.lua", + version = "*", + lazy = false, + dependencies = { + "nvim-tree/nvim-web-devicons", + }, }, @@ -132,16 +62,14 @@ require("lazy").setup({ }, - - -- Automagically close () "" and so on { - 'windwp/nvim-autopairs', - event = "InsertEnter", - opts = {} -- this is equalent to setup({}) function + "ThePrimeagen/harpoon", + branch = "harpoon2", + dependencies = { + "nvim-lua/plenary.nvim" + } }, - - -- better status line than stock one { "nvim-lualine/lualine.nvim", @@ -152,76 +80,31 @@ require("lazy").setup({ } }, - - { - "NvChad/nvim-colorizer.lua", - config = function() - require('colorizer').setup() - end, - }, - - - -- LEARN HJKL DAMMIT - { - "m4xshen/hardtime.nvim", - lazy = true, - opts = {} - }, - - - -- dashboard and start page - { - "willothy/veil.nvim", - dependencies = { - "nvim-telescope/telescope.nvim", - "nvim-lua/plenary.nvim", - "nvim-telescope/telescope-file-browser.nvim" - }, - }, - - - -- size does not matter - { - "echasnovski/mini.nvim", - version = false, - }, - - -- need that syntax highlight amirite { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" }, - - -- the name says it all + -- using lazy.nvim { - "SirVer/ultisnips", - lazy = true + "akinsho/bufferline.nvim", + version = "*", + dependencies = 'nvim-tree/nvim-web-devicons', + config = function () + vim.opt.termguicolors = true + require("bufferline").setup{} + end }, - -- That shmexy latex plugin - { - "lervag/vimtex", - lazy = true - }, - - - -- Cool screensaver !! - { - "folke/drop.nvim", - event = "VimEnter", - }, - - -- this is pure magic, i love this guy { "VonHeikemen/lsp-zero.nvim", - branch = 'v2.x', + branch = 'v3.x', dependencies = { -- LSP Support {"neovim/nvim-lspconfig"}, -- Required - {"williamboman/mason.nvim"}, -- Optional + { "williamboman/mason.nvim"}, -- Optional {"williamboman/mason-lspconfig.nvim"}, -- Optional -- Autocompletion @@ -231,6 +114,9 @@ require("lazy").setup({ } }, + { + 'echasnovski/mini.nvim', version = false + }, }) diff --git a/lua/plugins/lsp-zero.lua b/lua/plugins/lsp-zero.lua old mode 100644 new mode 100755 index 293a662..cd8efa6 --- a/lua/plugins/lsp-zero.lua +++ b/lua/plugins/lsp-zero.lua @@ -9,15 +9,28 @@ end) -- (Optional) Configure lua language server for neovim require('lspconfig').lua_ls.setup(lsp.nvim_lua_ls()) + +require'lspconfig'.pylsp.setup{ + settings = { + pylsp = { + plugins = { + pycodestyle = { + ignore = {'W391', 'E303', 'E226'}, + maxLineLength = 120 + } + } + } + } +} + + lsp.setup() - - - -- You need to setup `cmp` after lsp-zero local cmp = require('cmp') local cmp_action = require('lsp-zero').cmp_action() + cmp.setup({ mapping = { -- `Enter` key to confirm completion diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua old mode 100644 new mode 100755 diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua old mode 100644 new mode 100755 index 0b402fc..5e450cd --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -1,2 +1,89 @@ require('mini.cursorword').setup() require('mini.trailspace').setup() +require('mini.comment').setup() +require('mini.pairs').setup() + + +require('mini.surround').setup( + { + -- Add custom surroundings to be used on top of builtin ones. For more + -- information with examples, see `:h MiniSurround.config`. + custom_surroundings = nil, + + -- Duration (in ms) of highlight when calling `MiniSurround.highlight()` + highlight_duration = 500, + + -- Module mappings. Use `''` (empty string) to disable one. + mappings = { + add = 'sa', -- Add surrounding in Normal and Visual modes + delete = 'sd', -- Delete surrounding + find = 'sf', -- Find surrounding (to the right) + find_left = 'sF', -- Find surrounding (to the left) + highlight = 'sh', -- Highlight surrounding + replace = 'sr', -- Replace surrounding + update_n_lines = 'sn', -- Update `n_lines` + + suffix_last = 'l', -- Suffix to search with "prev" method + suffix_next = 'n', -- Suffix to search with "next" method + }, + + -- Number of lines within which surrounding is searched + n_lines = 20, + + -- Whether to respect selection type: + -- - Place surroundings on separate lines in linewise mode. + -- - Place surroundings on each line in blockwise mode. + respect_selection_type = false, + + -- How to search for surrounding (first inside current line, then inside + -- neighborhood). One of 'cover', 'cover_or_next', 'cover_or_prev', + -- 'cover_or_nearest', 'next', 'prev', 'nearest'. For more details, + -- see `:h MiniSurround.config`. + search_method = 'cover', + + -- Whether to disable showing non-error feedback + silent = false, + } +) + + +require('mini.starter').setup( + { + -- Whether to open starter buffer on VimEnter. Not opened if Neovim was + -- started with intent to show something else. + autoopen = true, + + -- Whether to evaluate action of single active item + evaluate_single = false, + + -- Items to be displayed. Should be an array with the following elements: + -- - Item: table with , , and
keys. + -- - Function: should return one of these three categories. + -- - Array: elements of these three types (i.e. item, array, function). + -- If `nil` (default), default items will be used (see |mini.starter|). + items = nil, + + -- Header to be displayed before items. Converted to single string via + -- `tostring` (use `\n` to display several lines). If function, it is + -- evaluated first. If `nil` (default), polite greeting will be used. + header = nil, + + -- Footer to be displayed after items. Converted to single string via + -- `tostring` (use `\n` to display several lines). If function, it is + -- evaluated first. If `nil` (default), default usage help will be shown. + footer = nil, + + -- Array of functions to be applied consecutively to initial content. + -- Each function should take and return content for 'Starter' buffer (see + -- |mini.starter| and |MiniStarter.content| for more details). + content_hooks = nil, + + -- Characters to update query. Each character will have special buffer + -- mapping overriding your global ones. Be careful to not add `:` as it + -- allows you to go into command mode. + query_updaters = 'abcdefghijklmnopqrstuvwxyz0123456789_-.', + + -- Whether to disable showing non-error feedback + silent = false, + } +) diff --git a/lua/plugins/nvimtree.lua b/lua/plugins/nvimtree.lua old mode 100644 new mode 100755 diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua old mode 100644 new mode 100755 index 37c746e..54407a8 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -1,6 +1,6 @@ require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" (the five listed parsers should always be installed) - ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "haskell", "go", "bash" }, + ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "haskell", "go", "bash", "python" }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -13,3 +13,15 @@ require'nvim-treesitter.configs'.setup { enable = true, }, } + + + +local parser_config = require("nvim-treesitter.parsers").get_parser_configs() +parser_config.hypr = { + install_info = { + url = "https://github.com/luckasRanarison/tree-sitter-hypr", + files = { "src/parser.c" }, + branch = "master", + }, + filetype = "hypr", +} diff --git a/lua/plugins/veil.lua b/lua/plugins/veil.lua deleted file mode 100644 index ab9be21..0000000 --- a/lua/plugins/veil.lua +++ /dev/null @@ -1,61 +0,0 @@ -local current_day = os.date("%A") - -local builtin = require("veil.builtin") - - - -require("veil").setup({ - sections = { - builtin.sections.animated(builtin.headers.frames_days_of_week[current_day], { - hl = { fg = "#5de4c7" }, - }), - - builtin.sections.buttons({ - { - icon = "", - text = "Config", - shortcut = "c", - callback = function() - require("telescope").extensions.file_browser.file_browser({ - path = vim.fn.stdpath("config"), - }) - end, - }, - - { - icon = "", - text = "Find Files", - shortcut = "f", - callback = function() - require("telescope.builtin").find_files() - end, - }, - - { - icon = "", - text = "Grep", - shortcut = "g", - callback = function() - require("telescope.builtin").live_grep() - end, - }, - - { - icon = "", - text = "Buffers", - shortcut = "b", - callback = function() - require("telescope.builtin").buffers() - end, - }, - }), - - builtin.sections.oldfiles(), - }, - - startup = true, - listed = true -}) - - - diff --git a/lua/plugins/wilder.lua b/lua/plugins/wilder.lua old mode 100644 new mode 100755 index f6ceb99..b906f61 --- a/lua/plugins/wilder.lua +++ b/lua/plugins/wilder.lua @@ -7,9 +7,13 @@ wilder.setup({modes = {':', '/', '?'}}) wilder.set_option('renderer', wilder.renderer_mux({ [':'] = wilder.popupmenu_renderer({ highlighter = wilder.basic_highlighter(), + left = {' ', wilder.popupmenu_devicons()}, + right = {' ', wilder.popupmenu_scrollbar()}, }), ['/'] = wilder.wildmenu_renderer({ highlighter = wilder.basic_highlighter(), + left = {' ', wilder.popupmenu_devicons()}, + right = {' ', wilder.popupmenu_scrollbar()}, }), })) @@ -19,5 +23,6 @@ wilder.set_option('renderer', wilder.popupmenu_renderer({ highlighter = wilder.basic_highlighter(), left = {' ', wilder.popupmenu_devicons()}, right = {' ', wilder.popupmenu_scrollbar()}, - max_height = '30%', + max_height = '20%', + min_width = '100%' })) diff --git a/pictures/errors.png b/pictures/errors.png deleted file mode 100644 index 19438c7..0000000 Binary files a/pictures/errors.png and /dev/null differ diff --git a/pictures/git.png b/pictures/git.png deleted file mode 100644 index 4960c50..0000000 Binary files a/pictures/git.png and /dev/null differ diff --git a/pictures/hlchunks.png b/pictures/hlchunks.png deleted file mode 100644 index 129fe1e..0000000 Binary files a/pictures/hlchunks.png and /dev/null differ diff --git a/pictures/lsp-cmp.png b/pictures/lsp-cmp.png deleted file mode 100644 index 4f21f34..0000000 Binary files a/pictures/lsp-cmp.png and /dev/null differ diff --git a/pictures/nvimtree.png b/pictures/nvimtree.png deleted file mode 100644 index 0de3202..0000000 Binary files a/pictures/nvimtree.png and /dev/null differ diff --git a/pictures/trixy-white.png b/pictures/trixy-white.png deleted file mode 100644 index 5e3f7d0..0000000 Binary files a/pictures/trixy-white.png and /dev/null differ diff --git a/pictures/trixy.jpg b/pictures/trixy.jpg new file mode 100644 index 0000000..185cd8e Binary files /dev/null and b/pictures/trixy.jpg differ diff --git a/pictures/trixy.png b/pictures/trixy.png deleted file mode 100644 index fe3ac61..0000000 Binary files a/pictures/trixy.png and /dev/null differ diff --git a/pictures/veil.png b/pictures/veil.png deleted file mode 100644 index bd4cb0b..0000000 Binary files a/pictures/veil.png and /dev/null differ diff --git a/pictures/zen.png b/pictures/zen.png deleted file mode 100644 index 1904328..0000000 Binary files a/pictures/zen.png and /dev/null differ