Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 3.52 KB

README.md

File metadata and controls

73 lines (59 loc) · 3.52 KB
      /##   /##        /####    /#                     /##    /## ##
     | ## / ##        \ #_ ##  | #                    | ##   | # |_/
     \  #| ##         \ # \ ## \  #  /######  /###### | ##   | # /##/######/####
      \ ###/  /#######\ ## \ ## \ # /## __ # / #____ #|  ## / ##| #| ##_  ##_  ##
      \ #__##\_______/ \ #  \ ##| #| #######| #     \ #\  ## ## | #| ## \ ## \ ##
      \ #  \ ##        \  #  \  # #| ##     | #     | # \  ###/ | #| ## | ## | ##
      \ ##  \ ##        \ #   \  ##|  ######\_ #######   \  #/  | #| ## | ## | ##
      \__/  \__/        \_/    \__/ \______/ \_______/    \_/   |__|__/ |__/ |__/        ─────Kewth

Welcome to use K-Neovim.

Preview

Preview Neovim

Install

First you're supposed know what Neovim is and why you sholud use Neovim.

Then Download Neovim(this is the 0.3.2 version of Neovim):

After that, you should clone this source code to your configuration directory.
For example, if the operating system you use is Linux, just run:

git clone [email protected]:Kewth/K-Neovimrc
mv K-Neovimrc ~/.config/nvim
vim
:PlugInstall

If the operating system you use isn't that, sorry, i cannot give you any help in this version because I use Linux only.

Then run Neovim, input :PlugInstall and press enter, it will automatically download the plugin which you may required.

If you still want to use Vim, adding so ~/.config/nvim/init.vim to your .vimrc is ok.

Usage

If you are new to vim, run :Tutor and prees enter in neovim.

Make sure there is such a sentence in the config.vim: let g:k_nv_home = 'YOUR CONFIGURATION DIRECTORY'.

Plugin

Run :PlugStatus in Neovim to learn what plugin there is.
There are many shortcuts that start with <Leader>, most are for plgins.

Configuration

You can make some configuration easily.

Leader

K-Neovim uses Space as its Leader by defalut beacuse it's easy to press.
I suggest you not to change it, but if you really dislike it, you can edit config.vim in your configuration directory like this: let g:k_nv_leader = '\'(it'll use '\' as leader)

colors

K-Neovim uses solarized as its color theme.
There're two diffenert styles of color themes, the default is dark, if you want to set it to light, add such a sentence to config.vim: let g:k_nv_light = 1.

Mapping

Notes, a few default buttons have been changed:

  • : is mapped to q: so that you can edit command in vim style.
    You can press ctrl+c after that to use the command not mapped.
  • Tab is mapped to ctrl+w so that you can switch windows quickly.
    And twice Tab to use the command not mapped.
  • In terminal mode, use ctrl+\ to back to normal mode instead of ctrl+\ + ctrl+n.
  • ctrl+n is mapped to gj and ctrl+p is mapped to gk in normal mode.