Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lazy.nvim usage #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
22 changes: 18 additions & 4 deletions vim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@ NeoVim + Tmux with true colors on iTerm2.
## Installation
### Using a plugin manager (recommended)

vim-plug:
#### vim-plug

```
```vim
Plug 'sonph/onehalf', { 'rtp': 'vim' }
```

The 'rtp' option is necessary as the vim theme resides in a subdirectory of the git repo.

#### lazy.nvim

```lua
{
"sonph/onehalf",

config = function(plugin)
vim.opt.rtp:append(plugin.dir .. "/vim")
end,
}
```

The 'rtp' option is necessary as the vim theme resides in a subdirectory of the git repo.

### Manual Installation
Download the files in [vim/](./) and put them in their respective folders
(`./vim/colors/` and `./vim/autoload/airline/themes/`)
Expand All @@ -26,7 +40,7 @@ syntax highlighting on, and 256 colors set. Vim version >= 7.4 recommended.

For example:

```
```vim
syntax on
set t_Co=256
set cursorline
Expand All @@ -45,7 +59,7 @@ bit).

In vim/neovim, use `set termguicolors` option:

```
```vim
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
Expand Down