From 32ddb0a0ae4669e6f4b04f007fb5a15b23828b2c Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 19 Sep 2022 11:56:31 +0200 Subject: [PATCH] fix: merge --- init.lua | 3 ++- lua/keybinds.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 64e0f2b..66a67ff 100644 --- a/init.lua +++ b/init.lua @@ -37,6 +37,7 @@ vim.opt.sessionoptions = "buffers,curdir,localoptions,tabpages,winsize" vim.opt.foldlevelstart = 50 vim.opt.termguicolors = true vim.opt.scrolloff = 4 +vim.opt.sidescrolloff = 8 -- vim.opt.signcolumn = "yes" vim.opt.switchbuf = "usetab" vim.g.mapleader = "\\" @@ -68,7 +69,7 @@ vim.g.netrw_browse_split = 2 vim.g.netrw_winsize = 12 -- Neovide settings -vim.g.neovide_transparency = 0.8 +vim.g.neovide_transparency = 0.9 vim.g.neovide_cursor_vfx_mode = "wireframe" vim.opt.guifont = { "Fira Code", ":h10" } diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 816f79c..96b32df 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -91,6 +91,7 @@ function KEYBINDS:set_lsp_keys(opts) vim.keymap.set('n', '', vim.diagnostic.open_float, opts) -- fallback for windows -- It's not really a keybind but whatever vim.api.nvim_create_user_command('Format', ':lua vim.lsp.buf.formatting()', {}) -- TODO if function is passed directly, it doesn't work! + vim.keymap.set('n', '', ':ClangdSwitchSourceHeader', {}) end function KEYBINDS:set_telescope_keys(opts)