diff options
author | arobase-che <girbenhed@gmail.com> | 2016-01-10 19:07:49 +0100 |
---|---|---|
committer | arobase-che <girbenhed@gmail.com> | 2016-01-10 19:07:49 +0100 |
commit | 68c941406e06fe5fc89386d9c4ab20345c5e185b (patch) | |
tree | ee0f27ff66ad1e73b56a5b0cc6cbf14a9f1023c1 /plugin/perso.vim |
Init commit
Diffstat (limited to 'plugin/perso.vim')
-rw-r--r-- | plugin/perso.vim | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/plugin/perso.vim b/plugin/perso.vim new file mode 100644 index 0000000..f736e10 --- /dev/null +++ b/plugin/perso.vim @@ -0,0 +1,49 @@ +set showcmd + +set backspace=indent,eol,start + +set expandtab +set shiftwidth=2 +set softtabstop=2 +set cindent + + +set encoding=utf-8 +set fileencoding=utf-8 + +colo darkZ + +filetype plugin indent on + + +nnoremap <silent><A-o> :set paste<CR>m`o<Esc>``:set nopaste<CR> +nnoremap <silent><A-O> :set paste<CR>m`O<Esc>``:set nopaste<CR> + + +"inoremap {<CR> {<CR>}<up><C-o>$ +"inoremap {{ { +"inoremap {} {} +"inoremap << <><left> +"inoremap [ []<left> +"inoremap [[ [ +"inoremap [] [] +"inoremap ( ()<left> +"inoremap (( ( +"inoremap () () +"inoremap " ""<left> +"inoremap "" "" +"inoremap ' ''<left> +"inoremap '' '' + +"Perso C définition" +inoremap prt printf +inoremap swf printf +inoremap #in< #include<><left> +inoremap #de #define + +" Personal shortcurts + +nnoremap <silent>èè__ :set paste<CR>m`o<Esc>``:set nopaste<CR> +nmap <C-X> :TagbarToggle<CR> +nmap <C-C> :NERDTreeToggle<CR> + |