diff options
author | adamstuck <adam.moloney.stuck@gmail.com> | 2021-10-11 12:57:12 +0200 |
---|---|---|
committer | adamstuck <adam.moloney.stuck@gmail.com> | 2021-10-11 12:57:12 +0200 |
commit | 0f1e82e9130acdb63e985548b750383bacc70df9 (patch) | |
tree | 85cd7524cded1fe8eecf750280e80d7ab575521d /.config/nvim/lua/setup.lua | |
parent | d7d28a71cec270d00742c9037a109ffa4040933c (diff) |
Setup nvim on laptop
Diffstat (limited to '.config/nvim/lua/setup.lua')
-rw-r--r-- | .config/nvim/lua/setup.lua | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.config/nvim/lua/setup.lua b/.config/nvim/lua/setup.lua new file mode 100644 index 0000000..5f9cd4f --- /dev/null +++ b/.config/nvim/lua/setup.lua @@ -0,0 +1,32 @@ +local set = vim.opt + +set.termguicolors = true +set.hidden = true +set.wildmenu = true +set.wildignorecase = true +set.fileignorecase = true +set.showcmd = true +set.hlsearch = true +set.ignorecase = true +set.smartcase = true +set.incsearch = true +set.backspace= 'indent,eol,start' +set.pastetoggle = '<F11>' +set.confirm = true +set.number = true +set.relativenumber = true +set.shiftwidth = 4 +set.softtabstop = 4 +set.autoindent = true +set.expandtab = true +set.showmode = false +set.ruler = false +set.timeout = false +set.ttimeoutlen = 200 +set.wrap = false +set.fcs = 'eob: ' +set.swapfile = false + +vim.cmd('colorscheme gruvbox') +vim.cmd('highlight CursorLineNr cterm=bold ctermfg=Yellow ctermbg=none') +vim.cmd('highlight Normal ctermbg=none') |