nvim: make <space> no-op, don't wrap lines
This commit is contained in:
parent
d9df2ff4ac
commit
a95c239305
|
@ -2,5 +2,7 @@ function map(mode, shortcut, command)
|
|||
vim.keymap.set(mode, shortcut, command, { noremap = true, silent = true })
|
||||
end
|
||||
|
||||
map('n', '<space>', '<nop>')
|
||||
|
||||
map('n', '<M-Left>', ':tabprevious<cr>')
|
||||
map('n', '<M-Right>', ':tabnext<cr>')
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user