Skip to content

RoryNesbitt/RNvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNvim

RNvim is the awesome, semi-optimised, easy to use, Neovim config brought to you by that guy that made RNvim, and here's why you shouldn't use it.

No Seriously..

RNvim is set up to be simple and make sense..to me.
I separated this from my main dotfiles config because I need just this on more devices than I need everything. It is written completely with my needs in mind, and that's unlikely to change. Even the installation commands are there so I can reference them later.

If you choose to ignore me and use it anyway, keybindings are set here, and if you forget, whichkey is included to provide a gentle reminder.
Everything I bind myself starts with leader or localleader, which are set to space and , respectively. Most things bound by plugins are left at default.

Installation

Use this as your main config

git clone https://github.com/RoryNesbitt/RNvim ~/.config/nvim
nvim --headless "+Lazy! sync" +qa

Or if you're on neovim 0.9+ you can try it separately

git clone git@github.com:RoryNesbitt/RNvim ~/.config/RNvim
NVIM_APPNAME=RNvim/ nvim --headless +Lazy! sync +qa

: Open Neovim with this config
NVIM_APPNAME=RNvim/ nvim

Language servers can be added with mason, the keybinding is <leader>m

A note on non-leader bindings

  • Moving with {, }, n or N and anything that results in being in insert mode is mapped to centre the line the cursor is on.
  • hjkl are used for all motions:
    • Ctrl-hjkl will jump between splits
    • Alt-hjkl will resize the split window
    • Ctrl-Shift-hjkl will move the split window that direction
      • Note: This requires the key press to be passed through in your terminal
    • Visual Shift-jk will move the highlighted line(s)
  • U (upper-case) is used to redo, as e.g. N is the inverse of n, U is now the inverse of u
  • gh, for "GAHH", will release a little frustration from your code by changing to a random colourscheme
  • tb, for transparent background, will remove the background colours from the colourscheme. Useful after a GAHH

Plugins

Show list

color

colorscheme

comment

completion

cursorline

debugging

editing-support

fuzzy-finder

git

indent

keybinding

lsp

lsp-installer

motion

nvim-dev

plugin-manager

snippet

startup

statusline

syntax

tmux

utility

This list was generated by Dotfyle

About

My .config/nvim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages