Compare commits
2 Commits
cfc31cb69d
...
1ddcc8f068
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ddcc8f068 | |||
| 210925720f |
7
init.lua
7
init.lua
@@ -53,3 +53,10 @@ vim.keymap.set("n", "<leader>u", require("undotree").open)
|
||||
|
||||
-- Local project config
|
||||
vim.o.exrc = true
|
||||
|
||||
-- Ignore case and some flash nvim stuff
|
||||
vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
vim.api.nvim_set_hl(0, "FlashMatch", { fg = "#cba6f7", bold = true }) -- overlay0
|
||||
vim.api.nvim_set_hl(0, "FlashLabel", { fg = "#1e1e2e", bg = "#f38ba8", bold = false }) -- overlay0
|
||||
vim.api.nvim_set_hl(0, "FlashCurrent", { bg = "#cba6f7", fg = "#1e1e2e", bold = true }) -- overlay0
|
||||
|
||||
@@ -44,7 +44,14 @@ Keymap("t", "<C-D>", "<C-\\><C-n>") -- escape terminal with c-d
|
||||
|
||||
-- Flash keymaps
|
||||
Keymap("n", "ss", function()
|
||||
require("flash").jump()
|
||||
require("flash").jump({
|
||||
search = {
|
||||
mode = "fuzzy",
|
||||
},
|
||||
highlight = {
|
||||
backdrop = true,
|
||||
},
|
||||
})
|
||||
end)
|
||||
Keymap("n", "S", function()
|
||||
require("flash").treesitter()
|
||||
|
||||
@@ -22,5 +22,5 @@ require("catppuccin").setup({
|
||||
})
|
||||
require("vimade").setup({
|
||||
recipe = { "minimalist", { animate = true } },
|
||||
fadelevel = 0.6,
|
||||
fadelevel = 0.8,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user