1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00
amix-vimrc-mirror/README.md
Facundo Laffont 690a8e40ce Mac -> master (#1)
* se elimina la instalación básica
* traducción y modificación de README.md
* traducción y modificación de basic.vim
2016-09-03 20:31:57 -03:00

4.0 KiB

Fork de amix/vimrc optimizado para MacBook Pro 15"

Instalación

git clone https://github.com/facundolaffont/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/instalación.sh

Es recomendable usar las fuentes tipográficas Source Code Pro. Son gratis y están alojadas en GitHub

Cómo actualizar a la última versión

cd ~/.vim_runtime
git pull --rebase

Plugins incluídos

  • pathogen.vim: Manages the runtime path of the plugins
  • snipMate.vim: snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim
  • bufexplorer.zip: Buffer Explorer / Browser. This plugin can be opened with <leader+o>
  • NERD Tree: A tree explorer plugin for vim
  • ack.vim: Vim plugin for the Perl module / CLI script 'ack'
  • ag.vim: A much faster Ack
  • ctrlp.vim: Fuzzy file, buffer, mru and tag finder. In my config it's mapped to <Ctrl+F>, because <Ctrl+P> is used by YankRing
  • mru.vim: Plugin to manage Most Recently Used (MRU) files. Includes my own fork which adds syntax highlighting to MRU. This plugin can be opened with <leader+f>
  • open_file_under_cursor.vim: Open file under cursor when pressing gf
  • vim-indent-object: Defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts
  • vim-multiple-cursors: Sublime Text style multiple selections for Vim, CTRL+N is remapped to CTRL+S (due to YankRing)
  • vim-expand-region: Allows you to visually select increasingly larger regions of text using the same key combination.
  • vim-fugitive: A Git wrapper so awesome, it should be illegal
  • goyo.vim and vim-zenroom2: Remove all clutter and focus only on the essential. Similar to iA Writer or Write Room Read more here
  • vim-commentary: Comment stuff out. Use gcc to comment out a line (takes a count), gc to comment out the target of a motion. gcu uncomments a set of adjacent commented lines.
  • syntastic: Syntax checking hacks for vim
  • vim-yankstack: Maintains a history of previous yanks, changes and deletes
  • lightline.vim: A light and configurable statusline/tabline for Vim

Esquemas de colores incluídos

Modos incluídos

Se pueden instalar plugins personalizados, por ejemplo, via pathogen:

cd ~/.vim_runtime
git clone git://github.com/tpope/vim-rails.git sources_non_forked/vim-rails

Con estos dos comandos, ya se tendría instalado el plugin vim-rails

Cómo desinstalar

  • Borrar ~/.vim_runtime
  • Borrar cualquier línea que haga referencia a .vim_runtime en tu archivo ~/.vimrc