From d28a067a4d4b52a1eac7e1c62a46c4726713d29c Mon Sep 17 00:00:00 2001 From: Oxbian Date: Wed, 18 Sep 2024 17:27:06 -0400 Subject: CLEAN: removing .vim and .vimrc, using .config/vim instead --- conf/options.vim | 2 ++ conf/plugins.vim | 9 ++++++--- conf/spell/en.utf-8.add | 11 ----------- conf/spell/fr.utf-8.spl | Bin 571627 -> 0 bytes conf/spell/fr.utf-8.sug | Bin 2324315 -> 0 bytes 5 files changed, 8 insertions(+), 14 deletions(-) delete mode 100644 conf/spell/en.utf-8.add delete mode 100644 conf/spell/fr.utf-8.spl delete mode 100644 conf/spell/fr.utf-8.sug (limited to 'conf') diff --git a/conf/options.vim b/conf/options.vim index 5315c1f..8e84a25 100644 --- a/conf/options.vim +++ b/conf/options.vim @@ -9,6 +9,8 @@ syntax on " Show syntax color set number " Show line number colorscheme onedark " Set vim theme to onedark set colorcolumn=80 " Add an indicator for 80 char limit +set textwidth=80 " Set max text width +autocmd BufNewFile,BufRead * setlocal formatoptions=cropt " Linebreak at 80 char set relativenumber " Show relative line number set cursorline " Select the current line set showmatch " Show matching brackets when hovered diff --git a/conf/plugins.vim b/conf/plugins.vim index 7dd1f9a..682cbe7 100644 --- a/conf/plugins.vim +++ b/conf/plugins.vim @@ -2,8 +2,8 @@ " Plugins """""""""""""""""""""""""" " Install vim-plug if not found -if empty(glob('~/.vim/autoload/plug.vim')) - silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs +if empty(glob('~/.config/vim/autoload/plug.vim')) + silent !curl -fLo ~/.config/vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim endif @@ -12,7 +12,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif -call plug#begin('~/.vim/plugged') +call plug#begin('~/.config/vim/plugged') " UI & Themes Plug 'joshdick/onedark.vim' " Onedark themes for vim @@ -35,6 +35,9 @@ filetype plugin indent on " Allow filetype detection, plugins, indentation """"""""""""""""""""""""" " Configuration """"""""""""""""""""""""" +" LSP +let g:coc_global_extensions = ['coc-json', 'coc-markdownlint'] " You can add other coc extensions here + " Netrw (filetree built-in vim) let g:netrw_keepdir = 0 " Reload buffer usefull when moving or removing file let g:netrw_winsize = 10 " Size of filetree buffer diff --git a/conf/spell/en.utf-8.add b/conf/spell/en.utf-8.add deleted file mode 100644 index 283920b..0000000 --- a/conf/spell/en.utf-8.add +++ /dev/null @@ -1,11 +0,0 @@ -linters -nerdtree -GitGutter -keybinds -onedark -LSP -vscode -autocompleter -linter -neovim -untoggle diff --git a/conf/spell/fr.utf-8.spl b/conf/spell/fr.utf-8.spl deleted file mode 100644 index ff27132..0000000 Binary files a/conf/spell/fr.utf-8.spl and /dev/null differ diff --git a/conf/spell/fr.utf-8.sug b/conf/spell/fr.utf-8.sug deleted file mode 100644 index df555d2..0000000 Binary files a/conf/spell/fr.utf-8.sug and /dev/null differ -- cgit v1.2.3