From fa35f50edc8c028dca9ca1ee490faaccf5e148bf Mon Sep 17 00:00:00 2001 From: omagdy Date: Wed, 18 Dec 2024 23:17:03 +0200 Subject: Did some stuff. --- vim/.vim/pack/default/start/gruvbox | 1 + vim/.vim/pack/plugins/start/rosepine | 1 + vim/.vim/vimrc | 53 +++++++++++++++++++++++++++++++++++ vim/.vimrc | 54 ------------------------------------ 4 files changed, 55 insertions(+), 54 deletions(-) create mode 160000 vim/.vim/pack/default/start/gruvbox create mode 160000 vim/.vim/pack/plugins/start/rosepine create mode 100644 vim/.vim/vimrc delete mode 100644 vim/.vimrc (limited to 'vim') diff --git a/vim/.vim/pack/default/start/gruvbox b/vim/.vim/pack/default/start/gruvbox new file mode 160000 index 0000000..f1ecde8 --- /dev/null +++ b/vim/.vim/pack/default/start/gruvbox @@ -0,0 +1 @@ +Subproject commit f1ecde848f0cdba877acb0c740320568252cc482 diff --git a/vim/.vim/pack/plugins/start/rosepine b/vim/.vim/pack/plugins/start/rosepine new file mode 160000 index 0000000..95fb4b5 --- /dev/null +++ b/vim/.vim/pack/plugins/start/rosepine @@ -0,0 +1 @@ +Subproject commit 95fb4b56ce8b913ab5500f6d00ae0b1153917bec diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc new file mode 100644 index 0000000..a6f7ee3 --- /dev/null +++ b/vim/.vim/vimrc @@ -0,0 +1,53 @@ +" You want Vim, not vi. When Vim finds a vimrc, 'nocompatible' is set anyway. +" We set it explicitely to make our position clear! + +set background=dark +colorscheme rosepine + +let g:disable_bg = 1 + +set nocompatible + +filetype plugin indent on " Load plugins according to detected filetype. +syntax on " Enable syntax highlighting. + +set autoindent " Indent according to previous line. +set expandtab " Use spaces instead of tabs. +set softtabstop =2 " Tab key indents by 4 spaces. +set shiftwidth =2 " >> indents by 4 spaces. +set shiftround " >> indents to next multiple of 'shiftwidth'. + +set backspace =indent,eol,start " Make backspace work as you would expect. +set hidden " Switch between buffers without having to save first. +set laststatus =2 " Always show statusline. +set display =lastline " Show as much as possible of the last line. +set number +set relativenumber + +set showmode " Show current mode in command-line. +set showcmd " Show already typed keys when more are expected. + +set incsearch " Highlight while searching with / or ?. + +set ttyfast " Faster redrawing. +set lazyredraw " Only redraw when necessary. + +set splitbelow " Open new windows below the current window. +set splitright " Open new windows right of the current window. + +set wrapscan " Searches wrap around end-of-file. +set report =0 " Always report changed lines. +set synmaxcol =200 " Only highlight the first 200 columns. + +set list " Show non-printable characters. +if has('multi_byte') && &encoding ==# 'utf-8' + let &listchars = 'tab:▸ ,extends:❯,precedes:❮,nbsp:±' +else + let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.' +endif + +" The fish shell is not very compatible to other shells and unexpectedly +" breaks things that use 'shell'. +if &shell =~# 'fish$' + set shell=/bin/bash +endif diff --git a/vim/.vimrc b/vim/.vimrc deleted file mode 100644 index 1b67dc7..0000000 --- a/vim/.vimrc +++ /dev/null @@ -1,54 +0,0 @@ -" You want Vim, not vi. When Vim finds a vimrc, 'nocompatible' is set anyway. -" We set it explicitely to make our position clear! - -set background=dark -colorscheme rosepine - -let g:disable_bg = 1 - -set nocompatible - -filetype plugin indent on " Load plugins according to detected filetype. -syntax on " Enable syntax highlighting. - -set autoindent " Indent according to previous line. -set expandtab " Use spaces instead of tabs. -set softtabstop =2 " Tab key indents by 4 spaces. -set shiftwidth =2 " >> indents by 4 spaces. -set shiftround " >> indents to next multiple of 'shiftwidth'. - -set backspace =indent,eol,start " Make backspace work as you would expect. -set hidden " Switch between buffers without having to save first. -set laststatus =2 " Always show statusline. -set display =lastline " Show as much as possible of the last line. -set number -set relativenumber - -set showmode " Show current mode in command-line. -set showcmd " Show already typed keys when more are expected. - -set incsearch " Highlight while searching with / or ?. - -set ttyfast " Faster redrawing. -set lazyredraw " Only redraw when necessary. - -set splitbelow " Open new windows below the current window. -set splitright " Open new windows right of the current window. - -set wrapscan " Searches wrap around end-of-file. -set report =0 " Always report changed lines. -set synmaxcol =200 " Only highlight the first 200 columns. - -set list " Show non-printable characters. -if has('multi_byte') && &encoding ==# 'utf-8' - let &listchars = 'tab:▸ ,extends:❯,precedes:❮,nbsp:±' -else - let &listchars = 'tab:> ,extends:>,precedes:<,nbsp:.' -endif - -" The fish shell is not very compatible to other shells and unexpectedly -" breaks things that use 'shell'. -if &shell =~# 'fish$' - set shell=/bin/bash -endif - -- cgit v1.2.3