Skip to content

rafaelrinaldi/vimfiles

Repository files navigation

vimfiles

My Vim setup

Install

$ 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 ✨ Neovim 💫 instead of Vim (it'll take care of making it work properly)
  • If Homebrew is available, will try to update the editor to its latest version
  • Uses Vundle 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

$ tic $HOME/xterm-256color-italic.terminfo
  • Report new terminal type in iTerm2: iterm2-terminal-type
  • Make sure you export your $TERM properly. In Fish:
set -g TERM xterm-256color-italic
  • If everything went well:
$ echo $TERM
xterm-256color-italic
  • Now tell Vim how to render comments in italic:
" 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

About

⚡ My Vim setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published