1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00
Go to file
Facundo Laffont 13b6c38e2d modificaciones varias
- se agregó /inicioVim.command que es una manera de ejecutar vim con
NERDTree activado
- se agregó /pendiente.txt para agregar ítems sobre las modificaciones
que hay que hacer
- se corrigió el mapeo 'ino ñjaf <esc>': se le quitó un espacio que
tenía al final, que hacía que cuando el cursor estaba en EOL hacía
retorno de carro y salto de línea
- se activaron los números relativos por defecto
- se agregó la secuencia $b tanto en modo VISUAL como INSERT para
agregar 'begin' y 'end' automáticamente
- se agregó un mapeo $$ en modo INSERT para poder salir de los
paréntesis cuando el cursor está sobre el paréntesis de cierre. Eso
hace más cómo el uso de los mapeos que colocan los diferentes tipos de
paréntesis automáticamente
2016-09-16 19:10:57 -03:00
autoload Updated plugins 2014-09-27 16:32:18 +01:00
sources_forked Improved peaksea for terminal usage 2016-05-14 13:22:04 +01:00
sources_non_forked Revert "Added the auto-pairs plugin" 2016-08-24 00:02:40 +02:00
temp_dirs Re-updated the undo dir git ignore 2016-06-26 13:14:51 +02:00
vimrcs modificaciones varias 2016-09-16 19:10:57 -03:00
.gitignore Merge pull request #198 from emazzotta/patch-1 2016-06-26 12:16:28 +01:00
inicioVim.command modificaciones varias 2016-09-16 19:10:57 -03:00
instalación.sh modificaciones varias 2016-09-12 20:27:19 -03:00
LICENSE Create LICENSE 2016-02-20 13:19:07 +00:00
pendiente.txt modificaciones varias 2016-09-16 19:10:57 -03:00
README.md Mac -> master (#1) 2016-09-03 20:31:57 -03:00
update_plugins.py Revert "Added the auto-pairs plugin" 2016-08-24 00:02:40 +02:00

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