https://github.com/terhechte/neovim-bindings
Super Simple Neovim Bindings
https://github.com/terhechte/neovim-bindings
Last synced: 3 months ago
JSON representation
Super Simple Neovim Bindings
- Host: GitHub
- URL: https://github.com/terhechte/neovim-bindings
- Owner: terhechte
- Created: 2019-01-27T20:05:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T11:47:37.000Z (about 3 years ago)
- Last Synced: 2025-01-27T22:44:41.553Z (4 months ago)
- Language: Vim script
- Size: 65.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
This is a bare bones `neovim` config for somebody who used to use spacemacs but came back to vim because
- it was much faster on a Mac with a huge retina screen
- I'm spending most of my time in terminal anyway
- I like the terminal multiplexer in neovim better than `ansi-term` in emacsI've used emacs since 2011, however. This means that I got used to a couple of emacs behaviours.
This minimal config resembles that. Most notably, in insert mode, the emacs movement keys work
just fine:Control-n for next lin, Control-p for previous line, etc. see `configure_emacs.vim` for details.
Apart from that, this config is mostly optimized for Rust and normal text file editing.
# Installation
Install plugins via
`:PlugInstall`
Then restart.# Coc/Node
coc (completions for lots of things) requires node. so..`brew install nodejs`
# General
- `,S` => Session dialog for storing the current session. Load via `nvim -S name-of-sessions.vim`
# Rust
If wanting to use rust projects, run this after all plugins are installed:
:CocInstall coc-rls- use tab for completions
- use enter to use completion
- `gd` to go to definition
- `gr` for references# Searching
Requires fzf and ripgrep:```
brew install ripgrep
brew install fzf
```,f => search for file in repo directories
,s => search in files in repo directories
FIMXE: search only in specific file types