From cbe80a2bf4992e1c03fe8879a28a1510829ef757 Mon Sep 17 00:00:00 2001 From: amtoine Date: Sat, 1 Apr 2023 12:17:07 +0200 Subject: [PATCH] import custom options, keybindings and commands --- init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.lua b/init.lua index 72890326..bbfe511e 100644 --- a/init.lua +++ b/init.lua @@ -230,6 +230,8 @@ vim.o.completeopt = 'menuone,noselect' -- NOTE: You should make sure your terminal supports this vim.o.termguicolors = true +require('custom/options') + -- [[ Basic Keymaps ]] -- Keymaps for better default experience @@ -240,6 +242,8 @@ vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) +require('custom/keybindings') + -- [[ Highlight on yank ]] -- See `:help vim.highlight.on_yank()` local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) @@ -495,3 +499,5 @@ cmp.setup { -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et + +require('custom/commands')