fichiers_config
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fichiers_config [2019/11/12 17:16] – norore | fichiers_config [2019/11/12 17:32] (Version actuelle) – [Plugins :] norore | ||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
Utilisation de Vundle pour installer et mettre à jour les plugins. | Utilisation de Vundle pour installer et mettre à jour les plugins. | ||
- | Installer des plugins : | + | Installer des plugins (ESC + :) : |
- | + | <code vim> | |
- | ``` | + | |
: | : | ||
- | ``` | + | </ |
- | Mettre à jour des plugins : | + | Mettre à jour des plugins |
- | ``` | + | <code vim> |
: | : | ||
- | ``` | + | </ |
+ | |||
+ | ===== Plugins : ===== | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Colorscheme : | ||
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Configuration vimrc ===== | ||
+ | |||
+ | <code vim> | ||
+ | set nocompatible | ||
+ | filetype off " required | ||
+ | |||
+ | " set the runtime path to include Vundle and initialize | ||
+ | set rtp+=~/ | ||
+ | call vundle# | ||
+ | |||
+ | " let Vundle manage Vundle, required | ||
+ | Plugin ' | ||
+ | |||
+ | " The following are examples of different formats supported. | ||
+ | " Keep Plugin commands between vundle# | ||
+ | Plugin ' | ||
+ | |||
+ | Plugin ' | ||
+ | |||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " Support pour git | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " Config pour symfony et twig | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " Config pour Rails | ||
+ | Plugin ' | ||
+ | |||
+ | " Fermer des tags ouverts | ||
+ | Plugin ' | ||
+ | |||
+ | " Support markdown | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " interface | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " colorschemes | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | Plugin ' | ||
+ | |||
+ | " All of your Plugins must be added before the following line | ||
+ | call vundle# | ||
+ | filetype plugin indent on " required | ||
+ | |||
+ | " General | ||
+ | set number | ||
+ | set linebreak | ||
+ | set showbreak=+++ | ||
+ | set showmatch | ||
+ | set visualbell | ||
+ | |||
+ | set hlsearch | ||
+ | set smartcase | ||
+ | set ignorecase | ||
+ | set incsearch | ||
+ | |||
+ | " Advanced | ||
+ | set ruler | ||
+ | |||
+ | " Show special chars | ||
+ | set list | ||
+ | set listchars=tab: | ||
+ | |||
+ | set undolevels=1000 | ||
+ | set backspace=indent, | ||
+ | |||
+ | " ouvrir Nerdtree par défaut | ||
+ | autocmd vimenter * NERDTree | ||
+ | " fermer vim si nerdtree est le dernier panneau ouvert | ||
+ | autocmd bufenter * if (winnr(" | ||
- | Plugins : | + | " folding auto basé sur la syntaxe et manuellement |
+ | augroup vimrc | ||
+ | au BufReadPre * setlocal foldmethod=indent | ||
+ | au BufWinEnter * if &fdm == ' | ||
+ | augroup END | ||
- | * nerdtree | + | " forcer la syntaxe |
- | * YouCompleteMe : | + | au BufReadPost |
- | * syntastic : | + | |
- | * vim-polyglot : | + | |
- | * vim-fugitive : | + | |
- | * nerdtree-git-plugin : | + | |
- | * vim-symfony : | + | |
- | | + | |
- | * vim-rails : | + | |
- | * vim-closetag : | + | |
- | * vim-markdown : | + | |
- | * tabular : support pour les tableaux en MarkDown | + | |
- | * lightline.vim : un affichage plus beau visuellement pour la barre de statut de vim | + | |
- | * vim-css-color : | + | |
- | Colorscheme : | + | " charger le thème onedark pour la barre de statuts gérée par lightline |
+ | let g:lightline = { | ||
+ | \ ' | ||
+ | \ } | ||
- | * ayu-vim : à tester | + | "Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. |
- | | + | "If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support |
- | | + | "(see < http:// |
- | | + | if (empty($TMUX)) |
+ | | ||
+ | "For Neovim 0.1.3 and 0.1.4 < https:// | ||
+ | let $NVIM_TUI_ENABLE_TRUE_COLOR=1 | ||
+ | endif | ||
+ | | ||
+ | | ||
+ | " < https:// | ||
+ | if (has(" | ||
+ | set termguicolors | ||
+ | endif | ||
+ | endif | ||
- | [[fichiers_config: | + | syntax on |
+ | colorscheme onedark | ||
+ | </ |
fichiers_config.1573578970.txt.gz · Dernière modification : 2019/11/12 17:16 de norore