.vimrc_vundle

This commit is contained in:
Patrick Cao Huu Thien 2024-06-19 11:40:26 +02:00
parent 2f9aeb9ddc
commit 04b51bb87c
Signed by untrusted user who does not match committer: pcao
GPG Key ID: B57DBE40C72FBCF4
1 changed files with 24 additions and 10 deletions

View File

@ -8,9 +8,13 @@
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_)
" Vundle https://github.com/VundleVim/Vundle.vim
" install with :
" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
" set nocompatible be iMproved, required - Isnt it automatic with .vimrc??
" utf8
set encoding=utf-8
filetype off " required
" _\|/_
@ -36,11 +40,7 @@ Plugin 'VundleVim/Vundle.vim'
" git
Plugin 'tpope/vim-fugitive'
" commentary
Plugin 'tpope/vim-commentary'
xmap \\ <Plug>Commentary
nmap \\ <Plug>Commentary
nmap \\\ <Plug>CommentaryLine
nmap \\u <Plug>CommentaryUndo
Plugin 'commentary.vim'
" Plugin 'Syntastic'
" set statusline+=%#warningmsg#
" set statusline+=%{SyntasticStatuslineFlag()}
@ -51,11 +51,25 @@ nmap \\u <Plug>CommentaryUndo
" let g:syntastic_check_on_open = 1
" let g:syntastic_check_on_wq = 0
" let g:syntastic_auto_jump = 2
" Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-repeat'
" ys<target><obj> : ajoute <ojb> autour de <target> (sous le curseur)
" ysw" : ajoute des " autour du word
" ysW' : ajout des ' autour du WORD
" yss{ : ajoute { a la phrase (avec espace)
" yss} : ajoute { a la phrase
" ySS[ : ajoute [ a la phrase, en indentant + a la ligne
"
" cs<target><rep> : change <obj> en <rep> dans <t>
" cs"' : change les " par des '
"
" ds<target> : supprime une <target>
" ds" : supprime les "
"
" <target> : w = word, W = WORD, s = sentence, p = paragraph
" " ' ( ) [ ] { } < >
" t <tag>
" unicode characters
" :h unicode-plugin
@ -323,6 +337,7 @@ au FileType sh imap <leader>m <esc>:ShellCheck!<cr>i
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" _\|/_
" (o o)
" <~~~~~~oOO-{_}-OOo~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
@ -331,7 +346,6 @@ filetype plugin indent on " required
" | |
" <~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>
" (_) (_)
" syntax
syntax on