Compare commits

..

No commits in common. "d1378a49323d9d37463b9ca8dba843e0ed8646a2" and "cc001c484466e72a9ac499106a41d110bf9205b1" have entirely different histories.

3 changed files with 13 additions and 41 deletions

View File

@ -12,11 +12,9 @@
# theme
nvim-solarized-lua
# auto-close brackets, etc
nvim-autopairs
# better wildmenu
wilder-nvim
delimitMate
vim-bbye
ansible-vim
# ui
dressing-nvim
@ -39,8 +37,11 @@
indent-blankline-nvim
plenary-nvim
vim-illuminate
registers-nvim
vim-surround
editorconfig-nvim
# git
gitsigns-nvim
vim-fugitive
@ -131,6 +132,12 @@
lua << EOF
vim.o.guifont = "DejaVu Sans Mono:h10"
if vim.g.neovide then
vim.g.neovide_fullscreen = true
vim.g.neovide_cursor_animation_length = 0.01
vim.g.neovide_cursor_trail_length = 0.01
end
${builtins.readFile ./keymaps.lua }
${builtins.readFile ./options.lua }
${builtins.readFile ./commands.lua }
@ -155,11 +162,8 @@
${builtins.readFile ./dap.lua }
${builtins.readFile ./neorg.lua }
${builtins.readFile ./illuminate.lua }
${builtins.readFile ./wilder.lua }
vim.g.gitblame_date_format = "%r"
require("nvim-autopairs").setup({})
EOF
'';
};

View File

@ -60,7 +60,7 @@ vim.api.nvim_create_autocmd("TermOpen", {
})
-- buffer closing
nnoremap("gq", ":bdelete<CR>")
nnoremap("gq", ":Bdelete<CR>")
-- toggle search highlighting
vim.cmd('nnoremap <expr> * v:hlsearch ? ":nohlsearch<cr>" : "*"')

View File

@ -1,32 +0,0 @@
local wilder = require('wilder')
wilder.setup({ modes = { ':', '/', '?' } })
wilder.set_option('pipeline', {
wilder.branch(
wilder.python_file_finder_pipeline({
file_command = { "rg", "--files" },
dir_command = { 'find', '.', '-type', 'd', '-printf', '%P\n' },
filters = { 'fuzzy_filter', 'difflib_sorter' },
}),
wilder.cmdline_pipeline({
language = "python",
fuzzy = 1,
}),
wilder.python_search_pipeline({
pattern = wilder.python_fuzzy_pattern(),
sorter = wilder.python_difflib_sorter(),
engine = 're',
})
)
})
-- Set renderer
wilder.set_option('renderer', wilder.popupmenu_renderer({
highlighter = wilder.basic_highlighter(),
left = { ' ', wilder.popupmenu_devicons() },
right = { ' ', wilder.popupmenu_scrollbar() },
pumblend = 20,
max_height = '15', -- Adjust the maximum height as needed
border = 'rounded', -- Border style can be 'single', 'double', etc.
}))