bad: removed relativenumber
This commit is contained in:
parent
10fba24f8e
commit
374108edce
3 changed files with 29 additions and 42 deletions
|
|
@ -21,17 +21,17 @@ require("settings.keymaps")
|
||||||
require("settings.barbar")
|
require("settings.barbar")
|
||||||
--
|
--
|
||||||
-- -- simple plugins that don't make sense to put in a seperate file, would clutter too much
|
-- -- simple plugins that don't make sense to put in a seperate file, would clutter too much
|
||||||
-- -- require("gitsigns").setup()
|
require("gitsigns").setup()
|
||||||
require("feline").setup()
|
require("feline").setup()
|
||||||
require("impatient").enable_profile()
|
require("impatient").enable_profile()
|
||||||
require('Comment').setup()
|
require('Comment').setup()
|
||||||
require("toggleterm").setup({
|
require("toggleterm").setup({
|
||||||
autochdir = true,
|
autochdir = true,
|
||||||
})
|
})
|
||||||
require('leap').add_default_mappings()
|
require('leap').add_default_mappings()
|
||||||
require("nvim-highlight-colors").setup {
|
require("nvim-highlight-colors").setup {
|
||||||
render = 'background', -- or 'foreground' or 'first_column'
|
render = 'background', -- or 'foreground' or 'first_column'
|
||||||
enable_named_colors = true,
|
enable_named_colors = true,
|
||||||
enable_tailwind = true,
|
enable_tailwind = true,
|
||||||
}
|
}
|
||||||
-- require('neoscroll').setup()
|
require('neoscroll').setup()
|
||||||
|
|
|
||||||
|
|
@ -27,4 +27,8 @@ vim.cmd([[highlight BufferInactiveMod guifg=#dbc074 guibg=#131a24]])
|
||||||
vim.cmd([[highlight BufferInactiveSign guifg=#719cd6 guibg=#131a24]])
|
vim.cmd([[highlight BufferInactiveSign guifg=#719cd6 guibg=#131a24]])
|
||||||
|
|
||||||
vim.cmd([[highlight LspInlayHint guibg=#192330]])
|
vim.cmd([[highlight LspInlayHint guibg=#192330]])
|
||||||
|
vim.cmd(":syntax off")
|
||||||
|
vim.cmd([[highlight CursorLine guibg=#1A1B27]])
|
||||||
|
vim.cmd([[highlight CursorLineSign guibg=#1A1B27]])
|
||||||
|
vim.cmd([[highlight CursorLineFold guibg=#1A1B27]])
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,31 +1,14 @@
|
||||||
local options = {
|
local options = {
|
||||||
clipboard = "unnamedplus",
|
clipboard = "unnamedplus",
|
||||||
mouse = "n",
|
mouse = "n",
|
||||||
fileencoding = "utf-8",
|
fileencoding = "utf-8",
|
||||||
relativenumber = true,
|
number = true,
|
||||||
cursorline = false,
|
showmode = true,
|
||||||
number = true,
|
termguicolors = true,
|
||||||
smartindent = true,
|
spelllang = "en_us",
|
||||||
smartcase = true,
|
shell = "/usr/bin/zsh",
|
||||||
showmode = true,
|
autochdir = true,
|
||||||
termguicolors = true,
|
cursorline = true,
|
||||||
ignorecase = true,
|
|
||||||
showtabline = 2,
|
|
||||||
timeoutlen = 200, -- time to wait for a mapped sequence to complete (in milliseconds)
|
|
||||||
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
|
|
||||||
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
|
|
||||||
-- expandtab = true, -- convert tabs to spaces
|
|
||||||
shiftwidth = 2, -- the number of spaces inserted for each indentation
|
|
||||||
tabstop = 2, -- insert 2 spaces for a tab
|
|
||||||
scrolloff = 8,
|
|
||||||
sidescrolloff = 8,
|
|
||||||
spell = false,
|
|
||||||
syntax = "off",
|
|
||||||
spelllang = "en_us",
|
|
||||||
mousemodel = "popup_setpos",
|
|
||||||
shell = "/usr/bin/zsh",
|
|
||||||
autochdir = true,
|
|
||||||
lazyredraw = true,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.g.mkdp_browser = '/usr/bin/firefox'
|
vim.g.mkdp_browser = '/usr/bin/firefox'
|
||||||
|
|
@ -36,5 +19,5 @@ vim.g.mapleader = " "
|
||||||
vim.keymap.set("n", "<Space>", "<Nop>", { silent = true, noremap = false })
|
vim.keymap.set("n", "<Space>", "<Nop>", { silent = true, noremap = false })
|
||||||
|
|
||||||
for k, v in pairs(options) do
|
for k, v in pairs(options) do
|
||||||
vim.opt[k] = v
|
vim.opt[k] = v
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue