https://github.com/bbkane/nvim
DEPRECATED - see dotfiles. Keeping here so I can search the history
https://github.com/bbkane/nvim
Last synced: 4 months ago
JSON representation
DEPRECATED - see dotfiles. Keeping here so I can search the history
- Host: GitHub
- URL: https://github.com/bbkane/nvim
- Owner: bbkane
- License: mit
- Created: 2016-09-13T23:25:23.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T00:41:43.000Z (over 6 years ago)
- Last Synced: 2025-03-24T19:49:30.416Z (over 1 year ago)
- Language: Vim script
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvim
# DEPRECATED - MOVED TO https://github.com/bbkane/dotfiles/tree/master/nvim
I will erase this repo once I'm confident that works well enough :)
My Neovim Config. Also works for Vim.
## NeoVim Install
- Back up old config
```
mv "$HOME/.config/nvim" "$HOME/.config/nvim.$(date +%Y-%m-%d)"
```
- Clone the repository
```
mkdir -p "$HOME/.config"
git clone https://github.com/bbkane/nvim.git "$HOME/.config/nvim"
```
## Vim Install
- Backup ~/.vimrc and ~/.vim/
```
mv ~/.vimrc ~/.vimrc.$(date +%Y-%m-%d)
mv ~/.vim ~/.vim.$(date +%Y-%m-%d)
```
- Create symlinks
```
ln -s ~/.config/nvim/init.vim ~/.vimrc
ln -s ~/.config/nvim/ ~/.vim
```
## Install Plugins (from editor)
- Install [vim-plug](https://github.com/junegunn/vim-plug).
```
:InstallVimPlug
```
- Restart editor
- Install Plugins
```
:PlugInstall
```
## Install IDE components
I'd like to have the following functionality:
- ncm2 replacement without the bugs ( auto-complete from buffer, filesystem )
- run flake8 and black on Python code
- run shellcheck on bash code
But I need to figure out an easy way to install Python first... (probably using conda with an Install function to create an env)
## Vim QuickInstall
Just the basic `~/.vimrc`- no plugins or anything. Useful for servers
```
curl https://raw.githubusercontent.com/bbkane/nvim/master/init.vim > ~/.vimrc
```
[Vim-commentary](https://github.com/tpope/vim-commentary) is one plugin I feel like I can't do without. Manually install it with:
```
curl --create-dirs -fLo ~/.vim/plugin/commentary.vim https://raw.githubusercontent.com/tpope/vim-commentary/master/plugin/commentary.vim
```