19 lines
399 B
Lua
19 lines
399 B
Lua
vim.g.mapleader = ' '
|
|
vim.g.maplocalleader = ' '
|
|
|
|
vim.opt.backspace = '2'
|
|
vim.opt.showcmd = true
|
|
vim.opt.laststatus = 2
|
|
vim.opt.autowrite = true
|
|
vim.opt.cursorline = true
|
|
vim.opt.autoread = true
|
|
|
|
-- use space for tab
|
|
vim.opt.tabstop = 4
|
|
vim.opt.shiftwidth = 4
|
|
vim.opt.shiftround = true
|
|
vim.opt.expandtab = true
|
|
|
|
vim.keymap.set('n', '<leader>h', ':nohlsearch<CR>')
|
|
vim.api.nvim_command('set number')
|