Skip to content

Instantly share code, notes, and snippets.

@QDelage
Created February 13, 2023 18:30
Show Gist options
  • Save QDelage/2bd9be82980d963aa1c7c766558133ea to your computer and use it in GitHub Desktop.
Save QDelage/2bd9be82980d963aa1c7c766558133ea to your computer and use it in GitHub Desktop.
My .vimrc
set clipboard=unnamedplus
set whichwrap=b,s,<,>,[,]
syntax on
set mouse=a
" tab size
set tabstop=4
set shiftwidth=4
set expandtab
" Disable auto fold
set nofoldenable
" Pour couper l'auto indent pour paste
set pastetoggle=<F10>
" Ctrl + Arrow
execute "set <xUp>=\e[1;*A"
execute "set <xDown>=\e[1;*B"
execute "set <xRight>=\e[1;*C"
execute "set <xLeft>=\e[1;*D"
" Pour Grammalecte
let g:grammalecte_cli_py="/usr/bin/grammalecte-cli.py"
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
" PlugInstall
call plug#begin('~/.vim/plugged')
" Make sure you use single quotes
" Background
Plug 'junegunn/seoul256.vim'
" A simple, easy-to-use Vim alignment plugin
Plug 'junegunn/vim-easy-align'
" Group dependencies, vim-snippets depends on ultisnips
Plug 'SirVer/ultisnips' | Plug 'honza/vim-snippets'
" Plugin outside ~/.vim/plugged with post-update hook
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': 'yes \| ./install' }
Plug 'vim-airline/vim-airline'
" My plugins:
" Rainbow parenthesis
Plug 'luochen1990/rainbow'
" Pour commenter
Plug 'preservim/nerdcommenter'
"Plug 'vim-syntastic/syntastic'
" syntax etc checker, async
Plug 'dense-analysis/ale'
" Pour commenter avec gc et gcc
Plug 'tpope/vim-commentary'
" Completion
Plug 'ycm-core/YouCompleteMe'
" Git
Plug 'airblade/vim-gitgutter'
" Grammalecte
Plug 'dpelle/vim-Grammalecte'
" LaTeX Preview with :StartLatexPreview
Plug 'conornewton/vim-latex-preview'
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment