Mercurial > dotfiles
comparison dot_config/nvim/init.vim @ 277:a567e547b45a
Set tabs to 2 spaces
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 24 Aug 2020 21:33:49 +0200 |
parents | ecc3074ac1fc |
children | 7daae1b70617 |
comparison
equal
deleted
inserted
replaced
276:ecc3074ac1fc | 277:a567e547b45a |
---|---|
282 endif | 282 endif |
283 | 283 |
284 set fixendofline | 284 set fixendofline |
285 | 285 |
286 set expandtab " Expand tabs to spaces | 286 set expandtab " Expand tabs to spaces |
287 if s:darwin | 287 set tabstop=2 shiftwidth=2 " Tab is 2 spaces |
288 set tabstop=2 shiftwidth=2 " Tab is 2 spaces | |
289 else | |
290 set tabstop=3 shiftwidth=3 | |
291 endif | |
292 | 288 |
293 set shiftround " Round shift indents to nearest value | 289 set shiftround " Round shift indents to nearest value |
294 | 290 |
295 " Searching | 291 " Searching |
296 set magic " Use magic regexes | 292 set magic " Use magic regexes |