Skip to content

Commit

Permalink
vim opts
Browse files Browse the repository at this point in the history
  • Loading branch information
teddywaweru committed Jun 24, 2024
1 parent 5bab729 commit 62aba01
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nvim/lua/before/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
vim.opt.termguicolors = true
vim.o.timeoutlen = 100
vim.opt.completeopt = { "menuone", "noselect", "noinsert" }
vim.opt.shortmess = vim.opt.shortmess + { c = true }
vim.opt.updatetime = 100
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
Expand All @@ -26,6 +25,10 @@ vim.opt.colorcolumn = "80"
vim.opt.foldcolumn = "2"
vim.opt.clipboard = "unnamed"
vim.opt.wrap = true
vim.opt.cmdheight = 1
vim.opt.cmdwinheight = 5
vim.opt.more = true
vim.opt.hidden = true

vim.api.nvim_create_autocmd('TextYankPost', {
group = vim.api.nvim_create_augroup('highlight_yank', {}),
Expand All @@ -35,4 +38,3 @@ vim.api.nvim_create_autocmd('TextYankPost', {
vim.highlight.on_yank { higroup = 'IncSearch', timeout = 200 }
end,
})

0 comments on commit 62aba01

Please sign in to comment.