vim.g.mapleader = " " -- open and save file as utf-8 vim.opt.encoding = "utf-8" vim.opt.fileencoding = "utf-8" vim.opt.number = true vim.opt.title = true vim.opt.autoindent = true vim.opt.smartindent = true vim.opt.hlsearch = true -- disabled the file~ vim.opt.backup = false vim.opt.showcmd = true vim.opt.cmdheight = 1 vim.opt.laststatus = 3 vim.opt.expandtab = true vim.opt.scolloff = 10 -- vim.opt.shell = "fish" vim.opt.backupskip = { "/tmp/*", "/private/tmp/*" } -- use :substitute preview split windows vim.opt.inccommand = "split" vim.opt.ignorecase = true vim.opt.smarttab = true vim.opt.breakindent = true vim.opt.shiftwidth = true vim.opt.tabstop = true vim.opt.title = true vim.opt.title = true