From fb680669fd71eac536d0a3517fb6d2ae8f3a86e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Fri, 1 Mar 2024 16:02:40 +0100 Subject: [PATCH] Add tab bind for neovim --- home/editor/neovim/keybinds.lua | 4 ++++ hosts/prismo/configuration.nix | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home/editor/neovim/keybinds.lua b/home/editor/neovim/keybinds.lua index f91c9ca..a6d4378 100644 --- a/home/editor/neovim/keybinds.lua +++ b/home/editor/neovim/keybinds.lua @@ -20,3 +20,7 @@ vim.keymap.set('n', 'ff', require('telescope.builtin').find_files, { desc = '[F]ind [F]iles' }) vim.keymap.set('n', 'fg', require('telescope.builtin').live_grep, { desc = '[F]ind by [G]rep' }) + +vim.keymap.set('n', 'tt', ':tabnew') +vim.keymap.set('n', 'tn', ':tabnext') +vim.keymap.set('n', 'tp', ':tabprevious') diff --git a/hosts/prismo/configuration.nix b/hosts/prismo/configuration.nix index 1377b8a..8478cc7 100644 --- a/hosts/prismo/configuration.nix +++ b/hosts/prismo/configuration.nix @@ -9,7 +9,10 @@ "splash" "rd.systemd.show_status=false" ]; - boot.loader.systemd-boot = { enable = true; }; + boot.loader.systemd-boot = { + enable = true; + configurationLimit = 10; + }; boot.loader.efi = { canTouchEfiVariables = true; }; # Networking stuff