Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brentlintner/vim-settings

My Neovim config—supports rich color schemes, autocomplete, intellisense, inline linting, fuzzy file and grep searching, file tree browsing, window splitting, easy file buffer management and more!
https://github.com/brentlintner/vim-settings

neovim vim vimrc

Last synced: about 1 month ago
JSON representation

My Neovim config—supports rich color schemes, autocomplete, intellisense, inline linting, fuzzy file and grep searching, file tree browsing, window splitting, easy file buffer management and more!

Awesome Lists containing this project

README

        

# My [Vim](https://www.vim.org/)/[Neovim](https://neovim.io/) Config

![demo with a few files open](https://raw.githubusercontent.com/brentlintner/vim-settings/master/screenshot.png)

## Commands

| cmd | description |
| --- | --- |
| `space` | Search for pattern in file |
| `space` | Clear search highlight |
| `\g WORD` | Grep files |
| `\b` | View git blame |
| `\B` | View git file history |
| `\cc` | Comment out selected lines |
| `\ci` | Uncomment selected lines |
| `\{-,=}` | Resize vertically split windows |
| `` | Search files / Cycling autocomplete reverse (Insert) |
| `` | Search buffers / Cycle autocomplete (Insert) |
| `` | Close a buffer |
| `c` | Delete a buffer |
| `w` | Save all buffers |
| `v` | Split buffer window vertically |
| `s` | Split buffer window horizontally |
| `c` | Delete a buffer |
| `{p,P}` | Toggle spell check |
| `` | Move around windows |
| `` | Paste from clipboard |
| `` | Open file tree browser |
| `` | Open lsp symbol browser |
| `` | Show lint/compile errors |
| `gr` | Show all files/instances that reference type |
| `gd` | Go to definition of type |
| `gi` | Go to type definition of type |
| `gr` | Go to implementation of type |
| `gh` | Show function signature |
| `zc` | Fold at syntax |
| `zo` | Fold open at syntax |
| `zR` | Fold open all |

## Install
```sh
git clone https://github.com/brentlintner/vim-settings.git ~/.vim-settings

cd ~/.vim-settings

git submodule update --init

cd ~/

ln -s ~/.vim-settings/.vimrc
ln -s ~/.vim-settings/.vim
ln -s ~/.vim-settings/.vim ~/.config/nvim

vim +PluginInstall +UpdateRemotePlugins
```
## Main Plugins

Plugins are managed with [Vundle](https://github.com/VundleVim/Vundle.vim).

For installed plugins see [.vimrc](.vimrc).

### Dependencies

* [The Silver Searcher](https://github.com/ggreer/the_silver_searcher)
* [Python](https://pypi.org/project/pip/)
* [Ruby](https://rubygems.org/)
* [Node.js](https://nodejs.org/)
```sh
pacman -S the_silver_searcher # or apt install the_silver_searcher
pip install pynvim
gem install solargraph
```
### Updating Plugins
```sh
vim +PluginClean +PluginUpdate +CocUpdateSync
```
### Submodule Issues

If you get issues about non-release branches you may need to:
```sh
cd .vim/bundle/coc.nvim
git fetch origin
git checkout -b release origin/release
cd ~
```