Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelrinaldi/vimfiles
:zap: My Vim setup
https://github.com/rafaelrinaldi/vimfiles
Last synced: 14 days ago
JSON representation
:zap: My Vim setup
- Host: GitHub
- URL: https://github.com/rafaelrinaldi/vimfiles
- Owner: rafaelrinaldi
- Created: 2015-10-18T18:49:17.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-12T21:50:39.000Z (over 8 years ago)
- Last Synced: 2024-08-03T13:02:15.307Z (3 months ago)
- Language: VimL
- Homepage:
- Size: 593 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-list - rafaelrinaldi
README
# vimfiles
> My Vim setup
## Install
```sh
$ git clone [email protected]:rafaelrinaldi/vimfiles.git
$ cd vimfiles
$ sh install.sh
```## Setup
* Before doing anything it will create a backup at `/tmp/vim_backup` so you can restore from there if needed
* You have the option to use :sparkles: [Neovim](http://neovim.org) :dizzy: instead of Vim (it'll take care of making it work properly)
* If [Homebrew](http://brew.sh) is available, will try to update the editor to its latest version
* Uses [Vundle](https://github.com/VundleVim/Vundle.vim) to manage plugins (including Vundle itself)
* Automatically download and installs Vundle plugins
* Supports GUIs making all visual configuration look consistent## Enabling italic in iTerm2 and Vim
* Copy the [`xterm-256color-italic.terminfo`](/xterm-256color-italic.terminfo) file to your `$HOME`
* Make sure you have italics enabled in iTerm2:
![iterm2-italics](./iterm2-italics.png)
* Process the file with `tic`:
```sh
$ tic $HOME/xterm-256color-italic.terminfo
```
* Report new terminal type in iTerm2:
![iterm2-terminal-type](./iterm2-terminal-type.png)
* Make sure you export your `$TERM` properly. In [Fish](http://fishshell.com):
```fish
set -g TERM xterm-256color-italic
```
* If everything went well:
```sh
$ echo $TERM
xterm-256color-italic
```
* Now tell Vim how to render comments in italic:
```viml
" Make sure to add this after your theme setup
highlight Comment cterm=italic
```Mad props to @alexpearce for the tip.
## Options
### `--no-symbols`
Do not add symbols to install the output.
## License
MIT © [Rafael Rinaldi](http://rinaldi.io)