aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2024-05-09 18:52:16 +0200
committerOxbian <got.dacs@slmail.me>2024-05-09 18:52:16 +0200
commit583cee5d527698baebfa1ee4845c1a1ebbcf2453 (patch)
treee972dbe78fdf01e5a447a02a2a571d5cd61c0f58
parentd324de5ce48d78a599aee7ce3b10cf1194dfb4bc (diff)
downloadvimrc-583cee5d527698baebfa1ee4845c1a1ebbcf2453.tar.gz
vimrc-583cee5d527698baebfa1ee4845c1a1ebbcf2453.zip
Remove: unused theme + useless options, adding a 80 chars graphical delimiter
-rw-r--r--vim/keymaps.vim2
-rw-r--r--vim/options.vim26
-rw-r--r--vim/plugins.vim1
3 files changed, 12 insertions, 17 deletions
diff --git a/vim/keymaps.vim b/vim/keymaps.vim
index 2da1ae3..d68b8c4 100644
--- a/vim/keymaps.vim
+++ b/vim/keymaps.vim
@@ -140,7 +140,7 @@ noremap <leader>sn ]s
" Previous word to spellcheck
noremap <leader>sp [s
-" Add word into the spellcheck dictionnary
+" Add word into the spellcheck dictionary
noremap <leader>sa zg
" show the list of alternatives for the word
diff --git a/vim/options.vim b/vim/options.vim
index 650df04..5e3f11a 100644
--- a/vim/options.vim
+++ b/vim/options.vim
@@ -6,44 +6,40 @@ set hlsearch " Highlight all match search pattern
" Graphics options
syntax on " Show syntax color
-set termguicolors
-set background=dark " Set vim style as dark
-colorscheme zenwritten " Set colorscheme as onedark
set number " Show line number
+set colorscheme=onedark " Set vim theme to onedark
+set colorcolumn=80 " Add an indicator for 80 char limit
set relativenumber " Show relative line number
set cursorline " Select the current line
-set showmatch " Show matching brackets when overred
+set showmatch " Show matching brackets when hovered
set noshowmode " Disable the -- INSERTION -- default comment
set so=7 " Set 7 lines to the cursor - when moving vertically
" Mouse options
set mouse=a " Allow the mouse to do all the editing
-set ruler " Show the cursor position on the tagline
" Indent options
set tabstop=4 " Size of a tab
set shiftwidth=4 " Number of space for each indent
set softtabstop=0 " Useless indent
-set noexpandtab " Vim will automatically use tab
+set noexpandtab " Vim will automatically use tab and not spaces
set smartindent " Do clever indenting
set copyindent " Copy indent style of the file
-set preserveindent " Preserve indent style
" Automatic options
set autowrite " Automatically write the file on certain actions
-set autoread " Automatically read extern changes on the file
-
-
+set autoread " Automatically read external changes on the file
" System
-if has('unnamedplus') " ALlow OS & vim clipboard sync
+if has('unnamedplus') " Allow OS & vim clipboard sync
set clipboard=unnamedplus
endif
set undofile " Save undo history
-set history =500 " Max line vim remember
-set updatetime=500 " Delay before vim write swap file, lower better for gitgutter
+set history=500 " Max line vim remember
+set updatetime=500 " Delay before vim write swap file, better for gitgutter
" Autocomplete
-set completeopt=menu,menuone,popup,noselect,noinsert " Show a pop up for command completion
+set completeopt=menu,menuone,popup,noselect,noinsert " Show a pop up for
+ " command completion
set wildmenu " Turn on wildmenu
filetype plugin on
@@ -72,7 +68,7 @@ set lazyredraw
" How many tenths of a second to blink when matching brackets
set mat=2
-" Set utf8 as standard encoding and en_US as the standard language
+" Set UTF-8 as standard encoding and en_US as the standard language
set encoding=utf8
" Use Unix as the standard file type
diff --git a/vim/plugins.vim b/vim/plugins.vim
index a32da64..7dd1f9a 100644
--- a/vim/plugins.vim
+++ b/vim/plugins.vim
@@ -16,7 +16,6 @@ call plug#begin('~/.vim/plugged')
" UI & Themes
Plug 'joshdick/onedark.vim' " Onedark themes for vim
-Plug 'mcchrish/zenbones.nvim' " White / dark colorscheme
Plug 'liuchengxu/vim-which-key' " Show leader mapping cheatsheet
" Git integration
ArKa projects. All rights to me, and your next child right arm.