fichiers_config
Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
fichiers_config [2018/06/13 16:19] – créée norore | fichiers_config [2019/11/12 17:32] (Version actuelle) – [Plugins :] norore | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | [[fichiers_config:vimrc|Configuration vimrc]] | + | ====== vim ====== |
+ | |||
+ | Utilisation de Vundle pour installer et mettre à jour les plugins. | ||
+ | |||
+ | Installer des plugins (ESC + :) : | ||
+ | <code vim> | ||
+ | : | ||
+ | </ | ||
+ | |||
+ | |||
+ | Mettre à jour des plugins (ESC + :) : | ||
+ | |||
+ | <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(" | ||
+ | |||
+ | " folding auto basé sur la syntaxe et manuellement | ||
+ | augroup vimrc | ||
+ | au BufReadPre * setlocal foldmethod=indent | ||
+ | au BufWinEnter * if &fdm == ' | ||
+ | augroup END | ||
+ | |||
+ | " forcer la syntaxe ruby pour un document *.prawn | ||
+ | au BufReadPost *.prawn set filetype=ruby | ||
+ | |||
+ | " charger le thème onedark pour la barre de statuts gérée par lightline | ||
+ | let g:lightline = { | ||
+ | \ ' | ||
+ | \ } | ||
+ | |||
+ | "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)) | ||
+ | if (has(" | ||
+ | "For Neovim 0.1.3 and 0.1.4 < https:// | ||
+ | let $NVIM_TUI_ENABLE_TRUE_COLOR=1 | ||
+ | endif | ||
+ | "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https:// | ||
+ | "Based on Vim patch 7.4.1770 (`guicolors` option) < https:// | ||
+ | " < https:// | ||
+ | if (has(" | ||
+ | set termguicolors | ||
+ | endif | ||
+ | endif | ||
+ | |||
+ | syntax on | ||
+ | colorscheme onedark | ||
+ | </ |
fichiers_config.1528906773.txt.gz · Dernière modification : 2018/06/13 16:19 de norore