The Wayback Machine - https://web.archive.org/web/20190323171624/https://github.com/raviqqe/begin-with-init.vim
Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Minimal neovim distribution as init.vim
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
LICENSE
README.md
init.vim
install.sh

README.md

begin-with-init.vim

Circle CI License

Minimal neovim distribution as init.vim

begin-with-init.vim gives you a starter kit of neovim with state-of-the-art plugins and common best practices. It's just your initial configuration file init.vim, but not a heavy stack of plugins.

Installation

At the top directory,

./install.sh

Bundled Plugins

Fuzzy finder

  • fzf - Fuzzy finder command
  • fzf.vim - fzf integration for Vim

Language support

Key mappings

" Map a leader to the easiest key to push ever.
let g:mapleader = "\<space>"

" Swap gj/gk with j/k.
nnoremap <expr> j v:count ? 'j' : 'gj'
nnoremap <expr> k v:count ? 'k' : 'gk'
nnoremap gj j
nnoremap gk k

" Unhighlight by pusing escape keys twice.
nnoremap <esc><esc> :nohlsearch<cr>

" Yank a line with Y.
nnoremap Y y$

" Open buffers, files, and so on with fzf.
nnoremap <leader>b :Buffers<cr>
nnoremap <leader>c :History:<cr>
nnoremap <leader>f :Files<cr>
nnoremap <leader>g :GFiles<cr>
nnoremap <leader>h :History<cr>
nnoremap <leader>l :Lines<cr>
nnoremap <leader>m :Maps<cr>
nnoremap <leader>r :Ag<cr>

You can navigate completion results from deoplete.nvim with Ctrl-N/P.

You may also check other key mappings from the plugins.

Customization

Edit your own ~/.config/nvim/init.vim!

License

MIT

You can’t perform that action at this time.