2nd commit
This commit is contained in:
parent
09c3c36109
commit
6869007720
94
init.vim
94
init.vim
|
@ -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()
|
||||
|
||||
|
@ -138,20 +139,20 @@ sunmap ge
|
|||
|
||||
lua << EOF
|
||||
|
||||
require('colorizer').setup()
|
||||
require('mini.completion').setup()
|
||||
require('mini.cursorword').setup()
|
||||
require('mini.files').setup()
|
||||
require('mini.pairs').setup()
|
||||
require('mini.starter').setup()
|
||||
require('mini.trailspace').setup()
|
||||
require('mini.statusline').setup()
|
||||
require('mini.trailspace').setup()
|
||||
require('mini.hipatterns').setup()
|
||||
require('mini.indentscope').setup()
|
||||
require('noice').setup()
|
||||
require("mason").setup()
|
||||
|
||||
require('colorizer').setup()
|
||||
require('mini.completion').setup()
|
||||
require('mini.cursorword').setup()
|
||||
require('mini.files').setup()
|
||||
require('mini.pairs').setup()
|
||||
require('mini.starter').setup()
|
||||
require('mini.trailspace').setup()
|
||||
require('mini.statusline').setup()
|
||||
require('mini.trailspace').setup()
|
||||
require('mini.hipatterns').setup()
|
||||
require('mini.indentscope').setup()
|
||||
require('noice').setup()
|
||||
require("mason").setup()
|
||||
require('smoothcursor').setup()
|
||||
|
||||
|
||||
|
||||
|
@ -159,19 +160,19 @@ require("mason").setup()
|
|||
-- Neorg SETUP
|
||||
|
||||
|
||||
require('neorg').setup {
|
||||
load = {
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.concealer"] = {}, -- Adds pretty icons to your documents
|
||||
["core.dirman"] = { -- Manages Neorg workspaces
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/notes",
|
||||
},
|
||||
require('neorg').setup {
|
||||
load = {
|
||||
["core.defaults"] = {}, -- Loads default behaviour
|
||||
["core.concealer"] = {}, -- Adds pretty icons to your documents
|
||||
["core.dirman"] = { -- Manages Neorg workspaces
|
||||
config = {
|
||||
workspaces = {
|
||||
notes = "~/notes",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue