diff options
| author | Mel <einebeere@gmail.com> | 2024-10-14 22:15:32 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-14 22:15:32 +0200 |
| commit | 7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51 (patch) | |
| tree | ced025aff19ffe1a9a040f3e8034a48a88285b3a /configs/.vimrc | |
| download | minerals-7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51.tar.zst minerals-7bca7fb6cac0a3d6479ee8dd8fb5f13fa0261a51.zip | |
Break up configuration for multiple machines
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'configs/.vimrc')
| -rw-r--r-- | configs/.vimrc | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/configs/.vimrc b/configs/.vimrc new file mode 100644 index 0000000..79ae89a --- /dev/null +++ b/configs/.vimrc @@ -0,0 +1,60 @@ +" NECESSITIES: + +" disable vi compatability, if still on for some reason +set nocompatible + +" enable syntax highlight +syntax on + +" indent settings +set autoindent +set smarttab +set smartindent +set expandtab +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set shiftround + +" disable text wrapping +set nowrap + +" allow backspace over everything, default is dumb +set backspace=indent,eol,start + +" never hide statusbar +set laststatus=2 + +" search settings +set incsearch +set hlsearch +set smartcase +set ignorecase +" map CTRL+L to remove search highlights +nnoremap <silent> <C-L> :noh<C-R><CR><CR><C-L> + +" open windows below and to the right of current (why is the default opposite lol) +set splitbelow splitright + +" show unfinished command in the last line (like 4dd) +set showcmd + +" show relative numbers and absolute number for current line +set number relativenumber + +" COLOR: + +" temporary default color scheme +colorscheme habamax + +" dont change default background color +highlight Normal ctermbg=NONE + +" CUSTOMIZATION: + +" disable arrow keys, use hjkl instead +noremap <Up> <Nop> +noremap <Down> <Nop> +noremap <Left> <Nop> +noremap <Right> <Nop> + |
