Retourner au contenu associé (dépêche : Vim fête son 20e anniversaire)
Posté par Axioplase ıɥs∀ (site web personnel) le 04 novembre 2011 à 05:05. En réponse à la dépêche Vim fête son 20e anniversaire. Évalué à 2.
Installer vundle, puis mettre dans son .vimrc:
filetype off " required! by Vundle, reset later. set rtp+=~/.vim/vundle.git/ call vundle#rc() Bundle 'gmarik/vundle' Bundle 'tpope/vim-surround' Bundle 'scrooloose/nerdcommenter' Bundle 'scrooloose/nerdtree' Bundle 'majutsushi/tagbar' Bundle "MarcWeber/vim-addon-mw-utils.git" Bundle "tomtom/tlib_vim.git" Bundle "honza/snipmate-snippets.git" Bundle "garbas/vim-snipmate.git" Bundle "rbonvall/snipmate-snippets-bib" Bundle 'L9' Bundle 'FuzzyFinder' Bundle 'slimv.vim' Bundle 'xml.vim' Bundle 'matchit.zip' Bundle 'Obvious-Mode' Bundle 'calendar.vim--Matsumoto' Bundle 'mru.vim'
Puis aussi, en vrac:
nmap ,s :source ~/.vimrc<CR> nmap ,v :e ~/.vimrc<CR> set wildignore=*.o,*.obj,*.bak,*.exe,*.avi,*.mpg,*.mp3,*.fasl,*.log,*.fls,*.aux,*.blg,*.bbl,*.pdf,*.class,*.png,*.dvi,*.cmi map gF :e <cfile><CR> com! Q qa! nnoremap ' ` nnoremap ` ' " \begin{...} foo \end{...} :vnoremap ae <C-\><C-n>?\\begin{<CR>v/\\end/e<CR>l% :vnoremap ie <C-\><C-n>?\\begin{?e<CR>%lv/\\end/b-1<CR> omap ae :normal vae<CR> omap ie :normal vie<CR> function! Swap(foo,bar) range exec ":".a:firstline.",".a:lastline.'s/\('.a:foo.'\|'.a:bar.'\)/\="'.a:foo.'"==submatch(1)?"'.a:bar.'":"'.a:foo.'"/g' endfunction
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# En vrac
Posté par Axioplase ıɥs∀ (site web personnel) . En réponse à la dépêche Vim fête son 20e anniversaire. Évalué à 2.
Installer vundle, puis mettre dans son .vimrc:
Puis aussi, en vrac: