2nd commit

This commit is contained in:
Јован Ђокић-Шумарац 2023-07-22 16:42:32 +02:00
parent 09c3c36109
commit 6869007720

View file

@ -7,7 +7,7 @@ set tabstop=16 " number of columns occupied by a tab
set softtabstop=4 " see multiple spaces as tabstops so <BS> does the right thing
set shiftwidth=4 " width for autoindents
set autoindent " indent a new line the same amount as the line just typed
set number " add line numbers
set number relativenumber " add line numbers
set wildmode=longest,list " get bash-like tab completions
set cc=80 " set an 80 column border for good coding style
@ -68,6 +68,7 @@ call plug#begin()
Plug 'ggandor/lightspeed.nvim'
Plug 'gen740/SmoothCursor.nvim'
call plug#end()
@ -151,7 +152,7 @@ require('mini.hipatterns').setup()
require('mini.indentscope').setup()
require('noice').setup()
require("mason").setup()
require('smoothcursor').setup()
@ -258,4 +259,45 @@ require('neorg').setup {
}
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 = 75, -- 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" }
})
EOF