summaryrefslogtreecommitdiff
path: root/vim-core/.config
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-10-09 11:46:29 +0200
committerJulian T <julian@jtle.dk>2022-10-09 11:46:29 +0200
commit080d4eb5e354f98363a4b1d8f6a692299c54c389 (patch)
tree0e622f3b9829da1e630b3b59dc0246d6f485e7b9 /vim-core/.config
parente0ed64092db25f98d3665605693255c3192efeb2 (diff)
Switch to arch and 2 spaces for tabs
Diffstat (limited to 'vim-core/.config')
-rw-r--r--vim-core/.config/nvim/init.vim27
1 files changed, 15 insertions, 12 deletions
diff --git a/vim-core/.config/nvim/init.vim b/vim-core/.config/nvim/init.vim
index 81d69c9..070e076 100644
--- a/vim-core/.config/nvim/init.vim
+++ b/vim-core/.config/nvim/init.vim
@@ -20,12 +20,12 @@ filetype plugin indent on " required
" Do not create the tilde files
set nobackup
- set tabstop=4
- set shiftwidth=4
+ set tabstop=2
+ set shiftwidth=2
set expandtab
set colorcolumn=80
- set softtabstop=4
+ set softtabstop=2
set autoindent
set smartindent
@@ -68,15 +68,18 @@ filetype plugin indent on " required
augroup end"}}}
" Language specific{{{
- autocmd FileType python set et
- autocmd FileType go setlocal noet
- autocmd FileType nix setlocal shiftwidth=4 softtabstop=4
- autocmd FileType vim setlocal foldmethod=marker"}}}
- autocmd BufNewFile,BufRead *.tex
- \ set nocursorline |
- \ set nornu |
- \ set number |
- \ let g:loaded_matchparen=1 |
+ autocmd FileType python
+ \ set et |
+ \ set tabstop=2 |
+ \ set shiftwidth=2 |
+ autocmd FileType go setlocal noet
+ autocmd FileType vim setlocal foldmethod=marker
+ autocmd BufNewFile,BufRead *.tex
+ \ set nocursorline |
+ \ set nornu |
+ \ set number |
+ \ let g:loaded_matchparen=1 |
+"}}}
" File management{{{
" Fuzzy like menu