1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00

Adding vim stuff

This commit is contained in:
Henrik Hautakoski 2023-09-14 19:55:17 +02:00
parent b77ac31173
commit 81d5cc35ce
11 changed files with 3006 additions and 0 deletions

12
nvim/tab.vim Normal file
View file

@ -0,0 +1,12 @@
" --- Tab Settings
set tabstop=4 softtabstop=4 shiftwidth=4 expandtab autoindent
" Set hardtabs for make
:autocmd FileType make setlocal ts=4 sts=0 sw=4 noexpandtab
" Set 2 softtab for yaml files
:autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
" Set hardtabs for cpp
:autocmd FileType cpp setlocal ts=8 sts=0 sw=8 noexpandtab