1
0
mirror of https://github.com/klmp200/vim-sync.git synced 2024-12-26 17:51:10 +00:00

Création d'un plugin pour le bépo (le vimrc.bepo n'est plus nécessaire) + ajout de plein de fonctions débiles + support de gvim

This commit is contained in:
Antoine Bartuccio 2016-10-12 11:28:24 +02:00
parent 9b4c99517e
commit 8f2f2e542b
4 changed files with 27 additions and 136 deletions

8
vimrc
View File

@ -31,6 +31,10 @@ colorscheme monokai
set relativenumber
set number
exec "source ".syncdir."vimrc.plugin.conf"
if has("gui_running")
set guifont=Roboto\ Mono\ for\ Powerline
set background=dark
colorscheme solarized
endif
exec "source ".syncdir."vimrc.bepo"
exec "source ".syncdir."vimrc.plugin.conf"

View File

@ -1,134 +0,0 @@
""
"" mapping du clavier bépo->qwerty en mode normal
""
" configuration des lettres
imap qq <Esc>
inoremap « <
inoremap » >
cnoremap « <
cnoremap » >
inoremap < «
inoremap > »
cnoremap < «
cnoremap > »
noremap b q
noremap é w
noremap p e
noremap o r
noremap è t
noremap ^ y
noremap v u
noremap d i
noremap l o
noremap j p
noremap z [
noremap w ]
noremap a a
noremap u s
noremap i d
noremap e f
noremap \ \
noremap g ,
noremap c h
noremap t j
noremap s k
noremap r l
noremap n ;
noremap m '
noremap ê <
noremap à z
noremap àà zz
noremap y x
noremap x c
noremap . v
noremap k b
noremap ' n
noremap q m
noremap g ,
noremap , g
noremap ,, gg
noremap h .
noremap f /
noremap B Q
noremap É W
noremap P E
noremap O R
noremap È T
noremap ! Y
noremap V U
noremap D I
noremap L O
noremap J P
noremap Z {
noremap W }
noremap A A
noremap U S
noremap I D
noremap E F
noremap ; G
noremap C H
noremap T J
noremap S K
noremap R L
noremap N :
noremap M "
noremap Ç \|
noremap Ê >
noremap À Z
noremap ÀÀ ZZ
noremap Y X
noremap X C
noremap : V
noremap K B
noremap ? N
noremap Q M
noremap G <
noremap H >
noremap F ?
" configuration du copié sur le ç car y est sur la touche composé ^
noremap ç y
noremap ^ y
" configuration des nombres
noremap « <
noremap < «
noremap » >
noremap > »
" configuration pour les chiffres
noremap $ `
noremap " 1
noremap « 2
noremap » 3
noremap ( 4
noremap ) 5
noremap @ 6
noremap + 7
noremap - 8
noremap / 9
noremap * 0
noremap = -
noremap % =
noremap # ~
noremap 1 !
noremap 2 @
noremap 3 #
noremap 4 $
noremap 5 %
noremap 6 ^
noremap 7 &
noremap 8 *
noremap 9 (
noremap 0 )
noremap ° _
noremap ` +

View File

@ -29,7 +29,16 @@ let g:syntastic_check_on_open=1 " Analyser le fichier à l'ouverture
let g:syntastic_c_include_dirs = [ '../include', 'include', '../INC', 'INC', '../inc', 'inc' ] " Spécifications des dossier d'inclusion perso
let g:UltiSnipsExpandTrigger="<c-n>"
" Parenthèses du swag
au VimEnter * RainbowParenthesesToggle
au Syntax * RainbowParenthesesLoadRound
au Syntax * RainbowParenthesesLoadSquare
au Syntax * RainbowParenthesesLoadBraces
" IndentLine
"let g:indentLine_setColors=0
"let g:indentLine_conceallevel = 2
let g:indentLine_concealcursor = 'inc'
let g:indentLine_conceallevel = 2
let g:indentLine_enabled = 1
set list lcs=tab:\|\

View File

@ -18,3 +18,15 @@ Plugin 'a.vim'
Plugin 'shanzi/autoheader'
Plugin 'drmikehenry/vim-headerguard'
Plugin 'kien/rainbow_parentheses.vim'
Plugin 'yggdroot/indentline'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'mhinz/vim-startify'
Plugin 'matze/vim-move'
Plugin 'altercation/vim-colors-solarized.git'
Plugin 'itchyny/calendar.vim'
Plugin 'sotte/presenting.vim'
Plugin 'arecarn/crunch.vim'
Plugin 'arecarn/selection.vim'
Plugin 'pravj/vingvong'
Plugin 'reedes/vim-pencil'
Plugin 'klmp200/bepo-vim-remap'