diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 940b657..a7dc6b6 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -389,12 +389,13 @@ require("lazy").setup({ ensure_installed = { "go", "proto", + "lua", }, highlight = { enabled = true, disable = function(lang, bufnr) -- Skip if not go, proto - if lang ~= "go" and lang ~= "proto" then + if lang ~= "go" and lang ~= "proto" and lang ~= "lua" then return true end @@ -402,6 +403,16 @@ require("lazy").setup({ return vim.api.nvim_buf_line_count(bufnr) > 2000 end, }, + -- https://www.reddit.com/r/neovim/comments/r10llx/the_most_amazing_builtin_feature_nobody_ever + incremental_selection = { + enable = true, + keymaps = { + init_selection = "k", + node_incremental = "k", + scope_incremental = false, + node_decremental = "j", + }, + }, }) end, }, diff --git a/data/wezterm/wezterm.lua b/data/wezterm/wezterm.lua index 11b15b1..0994c08 100644 --- a/data/wezterm/wezterm.lua +++ b/data/wezterm/wezterm.lua @@ -69,7 +69,7 @@ local font_0xproto = { font = wezterm.font({ family = "0xProto", }), - font_size = 16.0, + font_size = 14.0, line_height = 1.2, default_cursor_style = "SteadyBar", } @@ -80,12 +80,12 @@ local font_berkeley = { family = "Berkeley Mono", harfbuzz_features = { "ss02" }, }), - font_size = 16.0, + font_size = 14.0, line_height = 1.2, default_cursor_style = "SteadyBar", } -local current_font = font_0xproto +local current_font = font_berkeley local current_color_scheme = "Catppuccin Mocha"