diff options
author | Max Christian Pohle | 2024-09-01 02:00:46 +0200 |
---|---|---|
committer | Max Christian Pohle | 2024-09-01 02:00:46 +0200 |
commit | fe0e677564995c25119beb8238234c24ef6e592c (patch) | |
tree | e33fef58ae6a906ae89382c82ebcb541e3f3a997 /vimrc | |
parent | 7172c36d4508510ad844fcbea1bd3bc496da809e (diff) | |
download | vim-fe0e677564995c25119beb8238234c24ef6e592c.tar.bz2 vim-fe0e677564995c25119beb8238234c24ef6e592c.zip |
refactored the entire config
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,7 @@ | |||
1 | "======================================================================================================================= | 1 | "======================================================================================================================= |
2 | " GENERAL | 2 | " GENERAL |
3 | "======================================================================================================================= | 3 | "======================================================================================================================= |
4 | set termguicolors | ||
4 | 5 | ||
5 | filetype on | 6 | filetype on |
6 | filetype plugin on | 7 | filetype plugin on |
@@ -24,9 +25,10 @@ set hlsearch incsearch | " highlight pattern while entering i | |||
24 | " set cindent cinoptions+=(0 | " indents at the level of parentheses -- if desired | 25 | " set cindent cinoptions+=(0 | " indents at the level of parentheses -- if desired |
25 | set expandtab | " replace tabs with spaces | 26 | set expandtab | " replace tabs with spaces |
26 | set textwidth=0 | " should be set file type specific, colorcolumns is there to assist anyways | 27 | set textwidth=0 | " should be set file type specific, colorcolumns is there to assist anyways |
27 | set tabstop=4 | 28 | |
28 | set shiftwidth=4 | 29 | set tabstop=2 | " I am sorry, but 2 is simply better |
29 | set softtabstop=4 | 30 | set shiftwidth=2 | " . |
31 | set softtabstop=2 | " . | ||
30 | 32 | ||
31 | "======================================================================================================================= | 33 | "======================================================================================================================= |
32 | " PATH -- where to search for includes (e.g. `gf` or `:find`) | 34 | " PATH -- where to search for includes (e.g. `gf` or `:find`) |
@@ -386,4 +388,4 @@ augroup END | |||
386 | 388 | ||
387 | "======================================================================================================================= | 389 | "======================================================================================================================= |
388 | " v modeline, do not chnage v | 390 | " v modeline, do not chnage v |
389 | " vim: noai:ts=2:sw=2:sts=2 iskeyword+=\:,\<,\>,\-,\& number | 391 | " vim: noai:ts=2:sw=2:sts=2 iskeyword+=\:\<,\>,\-,\& number |