diff options
author | Oxbian <oxbian@mailbox.org> | 2024-09-18 17:27:06 -0400 |
---|---|---|
committer | Oxbian <oxbian@mailbox.org> | 2024-09-18 17:27:06 -0400 |
commit | d28a067a4d4b52a1eac7e1c62a46c4726713d29c (patch) | |
tree | 2e31d96762b1d88cc591020fb91993bacf1f5f79 /conf | |
parent | a91deb2867535e9a56662aaa5f5935662f2fdfc8 (diff) | |
download | vimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.tar.gz vimrc-d28a067a4d4b52a1eac7e1c62a46c4726713d29c.zip |
CLEAN: removing .vim and .vimrc, using .config/vim instead
Diffstat (limited to 'conf')
-rw-r--r-- | conf/options.vim | 2 | ||||
-rw-r--r-- | conf/plugins.vim | 9 | ||||
-rw-r--r-- | conf/spell/en.utf-8.add | 11 | ||||
-rw-r--r-- | conf/spell/fr.utf-8.spl | bin | 571627 -> 0 bytes | |||
-rw-r--r-- | conf/spell/fr.utf-8.sug | bin | 2324315 -> 0 bytes |
5 files changed, 8 insertions, 14 deletions
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 Binary files differdeleted file mode 100644 index ff27132..0000000 --- a/conf/spell/fr.utf-8.spl +++ /dev/null diff --git a/conf/spell/fr.utf-8.sug b/conf/spell/fr.utf-8.sug Binary files differdeleted file mode 100644 index df555d2..0000000 --- a/conf/spell/fr.utf-8.sug +++ /dev/null |