From be6c16189410b280dd9f94cc2821ffcbd721dbc2 Mon Sep 17 00:00:00 2001 From: triethyl Date: Mon, 7 Jul 2025 11:43:06 -0400 Subject: working on neovim Former-commit-id: 025d1930a0ae07909efe826cc902424ff57d5ce9 --- pkgs/custom-neovim/config/lua/options.lua | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to 'pkgs/custom-neovim/config/lua/options.lua') diff --git a/pkgs/custom-neovim/config/lua/options.lua b/pkgs/custom-neovim/config/lua/options.lua index ae6fb0a..a51e319 100644 --- a/pkgs/custom-neovim/config/lua/options.lua +++ b/pkgs/custom-neovim/config/lua/options.lua @@ -1,5 +1,6 @@ -- General Settings vim.o.winborder = 'rounded' +vim.o.showtabline = 1 vim.o.showmode = false vim.o.icm = 'split' vim.o.cia = 'abbr,kind,menu' @@ -9,10 +10,6 @@ vim.o.scrolloff = 4 -- minimal number of screen lines to keep above and below th vim.o.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time vim.o.clipboard = "unnamedplus" -- use system clipboard vim.o.sessionoptions = 'curdir,folds,globals,help,tabpages,terminal,winsize' -- Things to save with the session. -vim.keymap.set("c", "", function() - if vim.fn.pumvisible() == 1 then return '' end - return '' -end, { expr = true }) -- Make enter complete command. -- Indention local indent = 2 @@ -44,24 +41,3 @@ vim.o.foldtext = "" -- Color text in folds. -- Set Colorscheme vim.cmd.colorscheme("oxocarbon") vim.o.termguicolors = true - --- Neovide -if vim.g.neovide then - vim.o.guifont = "CodeNewRoman Nerd Font:h12" - vim.g.neovide_scale_factor = 0.8 - - -- Zoom keymaps. - local change_scale_factor = function(delta) - vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta - end - vim.keymap.set("n", "", function() - change_scale_factor(1.1) - end) - vim.keymap.set("n", "", function() - change_scale_factor(1/1.1) - end) - - -- Standard terminal emulator keymaps. - vim.api.nvim_set_keymap("c", "", "+", { noremap = true }) -- Paste in command mode. - vim.api.nvim_set_keymap('t', '', '"+Pi', {noremap = true}) -- Paste in terminal mode. -end -- cgit v1.2.3