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