dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

settings.lua (522B)


      1 local o = vim.o
      2 local g = vim.g
      3 
      4 g.mapleader = " "
      5 g.netrw_keepdir = 0
      6 g.netrw_banner = 0
      7 g.netrw_winsize = 15
      8 g.netrw_localcopydircmd = 'cp -r'
      9 
     10 o.termguicolors = false
     11 g.zig_fmt_autosave = 0
     12 
     13 vim.cmd('set wrap!')
     14 vim.cmd('set makeprg=./build.sh')
     15 
     16 o.mouse = 'a'
     17 o.tabstop = 4
     18 o.shiftwidth = 4
     19 o.autochdir = true
     20 
     21 -- my super cool c indentation style
     22 o.cindent = true
     23 o.cino = "l1,t0,(0,:0" -- :0 will align case to the switch statement
     24 
     25 o.swapfile = false
     26 o.backup = false
     27 
     28 osmartcase = true
     29 o.clipboard = 'unnamedplus'