Aesthetic changes
This commit is contained in:
parent
eb7fc248e2
commit
80c9e70386
|
@ -1,6 +1,9 @@
|
||||||
local mark = require("harpoon.mark")
|
local mark = require("harpoon.mark")
|
||||||
local ui = require("harpoon.ui")
|
local ui = require("harpoon.ui")
|
||||||
|
|
||||||
|
vim.g.mapleader = " "
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>ma", mark.add_file)
|
vim.keymap.set("n", "<leader>ma", mark.add_file)
|
||||||
vim.keymap.set("n", "<leader>mm", ui.toggle_quick_menu)
|
vim.keymap.set("n", "<leader>mm", ui.toggle_quick_menu)
|
||||||
|
|
||||||
|
|
29
lua/plugins/hlblocks.lua
Normal file
29
lua/plugins/hlblocks.lua
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
require('hlchunk').setup({
|
||||||
|
indent = {
|
||||||
|
chars = { "·", "·", "·", "·", }, -- more code can be found in https://unicodeplus.com/
|
||||||
|
-- chars = { "│", "¦", "┆", "┊", }, -- more code can be found in https://unicodeplus.com/
|
||||||
|
|
||||||
|
style = {
|
||||||
|
"#333333",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
blank = {
|
||||||
|
enable = false,
|
||||||
|
},
|
||||||
|
|
||||||
|
chunk = {
|
||||||
|
chars = {
|
||||||
|
horizontal_line = "─",
|
||||||
|
vertical_line = "│",
|
||||||
|
left_top = "╭",
|
||||||
|
left_bottom = "╰",
|
||||||
|
right_arrow = ">",
|
||||||
|
},
|
||||||
|
style = "#00ffff",
|
||||||
|
},
|
||||||
|
|
||||||
|
line_num = {
|
||||||
|
style = "#00ffff",
|
||||||
|
},
|
||||||
|
|
||||||
|
})
|
|
@ -1,9 +1,9 @@
|
||||||
require("plugins.lazy")
|
require("plugins.lazy")
|
||||||
|
|
||||||
|
require("plugins.noice")
|
||||||
|
|
||||||
require("plugins.neorg")
|
require("plugins.neorg")
|
||||||
require("plugins.smoothcursor")
|
|
||||||
require("plugins.treesitter")
|
require("plugins.treesitter")
|
||||||
require("plugins.harpoon")
|
|
||||||
require("plugins.drop")
|
require("plugins.drop")
|
||||||
require("plugins.mini")
|
require("plugins.mini")
|
||||||
require("plugins.lsp-zero")
|
require("plugins.lsp-zero")
|
||||||
|
@ -12,3 +12,6 @@ require("plugins.devicons")
|
||||||
require("plugins.lualine")
|
require("plugins.lualine")
|
||||||
require("plugins.veil")
|
require("plugins.veil")
|
||||||
|
|
||||||
|
|
||||||
|
require("plugins.harpoon")
|
||||||
|
require("plugins.hlblocks")
|
||||||
|
|
|
@ -24,26 +24,39 @@ require("lazy").setup({
|
||||||
"navarasu/onedark.nvim",
|
"navarasu/onedark.nvim",
|
||||||
"HiPhish/nvim-ts-rainbow2",
|
"HiPhish/nvim-ts-rainbow2",
|
||||||
|
|
||||||
"gen740/SmoothCursor.nvim",
|
|
||||||
"folke/twilight.nvim",
|
"folke/twilight.nvim",
|
||||||
"folke/zen-mode.nvim",
|
"folke/zen-mode.nvim",
|
||||||
"MunifTanjim/nui.nvim",
|
"MunifTanjim/nui.nvim",
|
||||||
"nvim-tree/nvim-web-devicons",
|
|
||||||
"tamton-aquib/staline.nvim",
|
|
||||||
|
|
||||||
"kassio/neoterm",
|
"kassio/neoterm",
|
||||||
"willothy/veil.nvim",
|
|
||||||
|
|
||||||
"bkad/camelcasemotion",
|
"bkad/camelcasemotion",
|
||||||
"ggandor/lightspeed.nvim",
|
"ggandor/lightspeed.nvim",
|
||||||
|
|
||||||
"tpope/vim-commentary",
|
"tpope/vim-commentary",
|
||||||
|
|
||||||
"preservim/nerdtree",
|
|
||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
"eandrju/cellular-automaton.nvim",
|
"eandrju/cellular-automaton.nvim",
|
||||||
"dbinagi/nomodoro",
|
"dbinagi/nomodoro",
|
||||||
|
|
||||||
|
"EdenEast/nightfox.nvim",
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
"shellRaining/hlchunk.nvim",
|
||||||
|
event = { "UIEnter" },
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
{
|
||||||
|
'windwp/nvim-autopairs',
|
||||||
|
event = "InsertEnter",
|
||||||
|
opts = {} -- this is equalent to setup({}) function
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"nvim-lualine/lualine.nvim",
|
"nvim-lualine/lualine.nvim",
|
||||||
|
@ -72,7 +85,9 @@ require("lazy").setup({
|
||||||
|
|
||||||
{
|
{
|
||||||
"folke/noice.nvim",
|
"folke/noice.nvim",
|
||||||
config = true,
|
config = function ()
|
||||||
|
require("plugins.noice")
|
||||||
|
end
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,6 +111,14 @@ require("lazy").setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
-- File manager who?
|
||||||
|
{
|
||||||
|
"ms-jpq/chadtree",
|
||||||
|
version = 'chad',
|
||||||
|
build = 'python3 -m chadtree deps',
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
-- need that syntax highlight amirite
|
-- need that syntax highlight amirite
|
||||||
{
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
theme = 'onedark',
|
theme = 'carbonfox',
|
||||||
component_separators = { left = '', right = ''},
|
component_separators = { left = '', right = ''},
|
||||||
section_separators = { left = '', right = ''},
|
section_separators = { left = '', right = ''},
|
||||||
disabled_filetypes = {
|
disabled_filetypes = {
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
require('mini.cursorword').setup()
|
require('mini.cursorword').setup()
|
||||||
require('mini.pairs').setup()
|
|
||||||
require('mini.trailspace').setup()
|
require('mini.trailspace').setup()
|
||||||
require('mini.hipatterns').setup()
|
|
||||||
require('mini.indentscope').setup()
|
|
||||||
|
|
85
lua/plugins/noice.lua
Normal file
85
lua/plugins/noice.lua
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
require("noice").setup({
|
||||||
|
noice = {
|
||||||
|
health = {
|
||||||
|
checker = false
|
||||||
|
},
|
||||||
|
cmdline = {
|
||||||
|
format = {
|
||||||
|
cmdline = {
|
||||||
|
pattern = "^:",
|
||||||
|
icon = " ",
|
||||||
|
lang = "vim",
|
||||||
|
},
|
||||||
|
search_down = {
|
||||||
|
kind = "search",
|
||||||
|
pattern = "^/",
|
||||||
|
icon = " ",
|
||||||
|
lang = "regex",
|
||||||
|
},
|
||||||
|
search_up = {
|
||||||
|
kind = "search",
|
||||||
|
pattern = "^%?",
|
||||||
|
icon = " ",
|
||||||
|
lang = "regex"
|
||||||
|
},
|
||||||
|
filter = {
|
||||||
|
pattern = "^:%s*!",
|
||||||
|
icon = "$",
|
||||||
|
lang = "bash"
|
||||||
|
},
|
||||||
|
lua = {
|
||||||
|
pattern = "^:%s*lua%s+",
|
||||||
|
icon = "",
|
||||||
|
lang = "lua"
|
||||||
|
},
|
||||||
|
help = {
|
||||||
|
pattern = "^:%s*h%s+",
|
||||||
|
icon = ""
|
||||||
|
},
|
||||||
|
input = {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
win_options = {
|
||||||
|
winhighlight = {
|
||||||
|
Normal = "NormalFloat",
|
||||||
|
FloatBorder = "FloatBorder"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lsp = {
|
||||||
|
progress = {
|
||||||
|
enabled = true
|
||||||
|
},
|
||||||
|
override = {
|
||||||
|
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||||
|
["vim.lsp.util.stylize_markdown"] = true,
|
||||||
|
["cmp.entry.get_documentation"] = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
views = {
|
||||||
|
cmdline_popup = {
|
||||||
|
position = {
|
||||||
|
row = 0,
|
||||||
|
col = "50%"
|
||||||
|
},
|
||||||
|
size = {
|
||||||
|
width = "98%"
|
||||||
|
},
|
||||||
|
border = {
|
||||||
|
style = "none",
|
||||||
|
padding = { 1, 1 },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
presets = {
|
||||||
|
long_message_to_split = true,
|
||||||
|
lsp_doc_border = true
|
||||||
|
},
|
||||||
|
popupmenu = {
|
||||||
|
backend = "cmp"
|
||||||
|
},
|
||||||
|
format = {}
|
||||||
|
})
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
require('smoothcursor').setup({
|
|
||||||
autostart = true,
|
|
||||||
cursor = "", -- cursor shape (need nerd font)
|
|
||||||
texthl = "SmoothCursor", -- highlight group, default is { bg = nil, fg = "#FFD400" }
|
|
||||||
linehl = nil, -- highlight sub-cursor line like 'cursorline', "CursorLine" recommended
|
|
||||||
type = "default", -- define cursor movement calculate function, "default" or "exp" (exponential).
|
|
||||||
fancy = {
|
|
||||||
enable = true, -- enable fancy mode
|
|
||||||
head = { cursor = "", texthl = "SmoothCursor", linehl = nil },
|
|
||||||
body = {
|
|
||||||
{ cursor = "", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = "", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = "●", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = "●", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = "•", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = ".", texthl = "SmoothCursorYellow" },
|
|
||||||
{ cursor = ".", texthl = "SmoothCursorYellow" },
|
|
||||||
},
|
|
||||||
tail = { cursor = nil, texthl = "SmoothCursor" }
|
|
||||||
},
|
|
||||||
flyin_effect = nil, -- "bottom" or "top"
|
|
||||||
speed = 50, -- max is 100 to stick to your current position
|
|
||||||
intervals = 25, -- tick interval
|
|
||||||
priority = 10, -- set marker priority
|
|
||||||
timeout = 1500, -- timout for animation
|
|
||||||
threshold = 3, -- animate if threshold lines jump
|
|
||||||
disable_float_win = false, -- disable on float window
|
|
||||||
enabled_filetypes = nil, -- example: { "lua", "vim" }
|
|
||||||
disabled_filetypes = nil, -- this option will be skipped if enabled_filetypes is set. example: { "TelescopePrompt", "NvimTree" }
|
|
||||||
})
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue