bits and bobs
This commit is contained in:
@@ -17,7 +17,6 @@ bold-text-in-bright=no
|
||||
|
||||
# miscellaneous
|
||||
selection-target=clipboard
|
||||
workers=16
|
||||
gamma-correct-blending=no
|
||||
|
||||
[scrollback]
|
||||
|
||||
@@ -4,7 +4,7 @@ vim.o.relativenumber = true
|
||||
|
||||
-- sync clipboards of nvim and os
|
||||
vim.schedule(function()
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
vim.opt.clipboard = "unnamedplus"
|
||||
end)
|
||||
|
||||
-- disable line wrap..
|
||||
@@ -20,9 +20,9 @@ vim.o.autoindent = true
|
||||
vim.o.smartindent = true
|
||||
|
||||
-- search settings
|
||||
vim.o.hlsearch = true -- enable highlighting of hits with current serch expression
|
||||
vim.o.incsearch = true -- enable incremental search
|
||||
vim.o.ignorecase = true -- search ignore case
|
||||
vim.o.hlsearch = true -- enable highlighting of hits with current serch expression
|
||||
vim.o.incsearch = true -- enable incremental search
|
||||
vim.o.ignorecase = true -- search ignore case
|
||||
vim.keymap.set("n", "<Esc>", "<cmd>nohlsearch<CR>") -- clear search highlight on `ESC`
|
||||
|
||||
-- set tab to 4 spaces and convert tabs to spaces
|
||||
@@ -36,10 +36,10 @@ vim.o.scrolloff = 8
|
||||
vim.o.sidescrolloff = 8
|
||||
|
||||
-- view settings
|
||||
vim.o.cursorline = true -- highlight current line
|
||||
vim.o.cursorline = true -- highlight current line
|
||||
vim.o.termguicolors = true -- enable true colors (rgb)
|
||||
vim.o.showmode = false -- show current mode (normal, insert, visual)
|
||||
vim.o.pumheight = 10 -- pop up menu height
|
||||
vim.o.showmode = false -- show current mode (normal, insert, visual)
|
||||
vim.o.pumheight = 10 -- pop up menu height
|
||||
vim.o.cmdheight = 1
|
||||
vim.o.signcolumn = "yes"
|
||||
vim.o.updatetime = 250
|
||||
@@ -65,7 +65,7 @@ vim.o.completeopt = "menuone,noselect"
|
||||
|
||||
vim.opt.isfname:append("@-@")
|
||||
|
||||
vim.opt.shortmess:append("c") -- don't give |ins-completion-menu| messages
|
||||
vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches
|
||||
vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode.
|
||||
vim.opt.shortmess:append("c") -- don't give |ins-completion-menu| messages
|
||||
vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches
|
||||
vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode.
|
||||
vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- separate vim plugins from neovim in case vim still in use
|
||||
|
||||
@@ -31,7 +31,7 @@ zx_light_magenta = "#FBADDD"
|
||||
zx_cyan = "#15D7E5"
|
||||
zx_light_cyan = "#65E7F1"
|
||||
zx_dark_cyan = "#109EA8"
|
||||
zx_white = "#DFDFD0"
|
||||
zx_white = "#DFDFDF"
|
||||
zx_grey = "#808078"
|
||||
zx_pastel_yellow = "#F1EAA2"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user