Untitled
unknown
plain_text
6 months ago
1.5 kB
3
Indexable
vim.g.mapleader = " " 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 vim.opt.backup = false vim.opt.showcmd = true vim.opt.cmdheight = 1 vim.opt.laststatus = 3 vim.opt.expandtab = true vim.opt.scrolloff = 10 vim.opt.shell = "pwsh.exe" vim.opt.shellcmdflag = "-NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command" vim.opt.shellquote = "" vim.opt.shellxquote = "" vim.opt.backupskip = { "/tmp/*", "/private/tmp/*" } vim.opt.inccommand = "split" vim.opt.ignorecase = true -- Case insensitive searching UNLESS /C or capital in search vim.opt.smarttab = true vim.opt.breakindent = true vim.opt.shiftwidth = 2 vim.opt.tabstop = 2 vim.opt.wrap = false -- No Wrap lines vim.opt.backspace = { "start", "eol", "indent" } vim.opt.path:append({ "**" }) -- Finding files - Search down into subfolders vim.opt.wildignore:append({ "*/node_modules/*" }) vim.opt.splitbelow = true -- Put new windows below current vim.opt.splitright = true -- Put new windows right of current vim.opt.splitkeep = "cursor" vim.opt.mouse = "" -- Undercurl vim.cmd([[let &t_Cs = "\e[4:3m"]]) vim.cmd([[let &t_Ce = "\e[4:0m"]]) -- Add asterisks in block comments vim.opt.formatoptions:append({ "r" }) vim.cmd([[au BufNewFile,BufRead *.astro setf astro]]) vim.cmd([[au BufNewFile,BufRead Podfile setf ruby]]) if vim.fn.has("nvim-0.8") == 1 then vim.opt.cmdheight = 0 end
Editor is loading...
Leave a Comment