From a95c239305cb1f06df5dd3fdb7c235577447a2d2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Aug 2022 15:13:31 +0200 Subject: [PATCH] nvim: make no-op, don't wrap lines --- .config/nvim/lua/keymaps.lua | 2 ++ .config/nvim/lua/settings.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/.config/nvim/lua/keymaps.lua b/.config/nvim/lua/keymaps.lua index 05eb787..b6ee8b7 100644 --- a/.config/nvim/lua/keymaps.lua +++ b/.config/nvim/lua/keymaps.lua @@ -2,5 +2,7 @@ function map(mode, shortcut, command) vim.keymap.set(mode, shortcut, command, { noremap = true, silent = true }) end +map('n', '', '') + map('n', '', ':tabprevious') map('n', '', ':tabnext') diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua index 6650880..74d6ec7 100644 --- a/.config/nvim/lua/settings.lua +++ b/.config/nvim/lua/settings.lua @@ -1,6 +1,7 @@ vim.o.number = true -- line numbers vim.o.list = true -- show whitespace vim.o.colorcolumn = '80' -- line length marker (comma sep.) +vim.o.wrap = false vim.o.expandtab = true -- indent using spaces vim.o.tabstop = 4 -- 1 tab = 4 spaces