Skip to content

Instantly share code, notes, and snippets.

@cdolan
Last active May 25, 2022 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdolan/25adb0f9f7e5a1402c2eb109e787b4b9 to your computer and use it in GitHub Desktop.
Save cdolan/25adb0f9f7e5a1402c2eb109e787b4b9 to your computer and use it in GitHub Desktop.
minimal neovim config
" mappings
inoremap jj <Esc>
nnoremap ! : !<Space>
nnoremap , : ,<Space>
nnoremap ; :<Space>
" settings
set clipboard+=unnamedplus
set number
set ruler
set termguicolors
" plugins: https://github.com/junegunn/vim-plug
call plug#begin()
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-surround'
call plug#end()
@cdolan
Copy link
Author

cdolan commented May 24, 2022

Installation

From https://github.com/junegunn/vim-plug

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

Customization

Please use this as a template for your own config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment