Dominik Madarász 2024-11-15 20:42:32 +01:00
parent 3bc84872ec
commit 309f87e9f8
2 changed files with 3 additions and 24 deletions

View File

@ -33,24 +33,6 @@ return require('lazy').setup({
-- - sd' - [S]urround [D]elete [']quotes
-- - sr)' - [S]urround [R]eplace [)] [']
require('mini.surround').setup()
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- and try some other statusline plugin
local statusline = require 'mini.statusline'
-- set use_icons to true if you have a Nerd Font
statusline.setup { use_icons = vim.g.have_nerd_font }
-- You can configure sections in the statusline by overriding their
-- default behavior. For example, here we set the section for
-- cursor location to LINE:COLUMN
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function()
return '%2l:%-2v'
end
-- ... and there is more!
-- Check out: https://github.com/echasnovski/mini.nvim
end,
}, { -- Useful plugin to show you pending keybinds.
'folke/which-key.nvim',

View File

@ -29,20 +29,17 @@ vim.opt.scrolloff = 16
vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
vim.opt.gdefault = true
vim.opt.completeopt = { "menu", "menuone", "noselect" }
vim.opt.timeoutlen = 300
vim.opt.colorcolumn = "120"
-- views can only be fully collapsed with the global statusline
-- vim.opt.laststatus = 3
-- Make line numbers default
vim.opt.number = true
vim.opt.mouse = 'a'
-- Don't show the mode, since it's already in the status line
vim.opt.showmode = false
-- Sync clipboard between OS and Neovim.
-- Schedule the setting after `UiEnter` because it can increase startup-time.
-- Remove this option if you want your OS clipboard to remain independent.
-- See `:help 'clipboard'`
vim.schedule(function()
vim.opt.clipboard = 'unnamedplus'
end)