Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

SpringHan/nvim

Repository files navigation

My Neovim Configuration

中文版

Now this repository stopped updating.(Now I'm using Emacs, you can see My Emacs Configuration)

These are my NeoVim's configuration files. (I'm a colemak user.)

If you want to use my configuration, please make sure you can understand it. Otherwise you may have some problems.

There is one of the screenshots:

Example

Guide

Plugins

My Plugins Manager is vim-plug .

My Plugins

  • vim-startify - A nice startify
  • HicusLine - A highly customizable statusline in (neo)vim
  • Terslation.vim - Terminal Translator interface for vim
  • Deus - A better color scheme for the late night coder(I did some changes on the original,you can Look Here)
  • vim-javascript - A vim plugin provides javascript syntax
  • Tagbar - A plug can show the functions in vim
  • Far - A great plug which can do a good job on finding in vim
  • Auto-Pairs - A plug that can insert or delete brackets, parens, quotes in pair
  • vim-easy-align - A plug that can center code easily
  • coc.vim - A completor in vim
  • vim-table-mode - A Plugin which can help you format the tables.
  • markdown-preview.nvim - A markdown previewer
  • Undotree - A plugin which can save the editing histroy
  • emmet-vim - Emmet for vim
  • fzf - Fuzzy finder in vim
  • vim-illuminate - A tool for illuminating the other uses of the current word under the cursor.
  • vim-multiple-cursors - True Sublime Text multiple selection in Vim
  • vim-surround - A plugin which can change the symbol easily
  • vim-bookmarks - A Vim plugin for using line-based bookmarks
  • suda.vim - A plugin can make you use sudo in neovim
  • vim-capslock - A plugin can easily change the case
  • goyo.vim - A plugin make you distraction-free writing in Vim
  • NoToC.vim - A plugin can control the notes and todos in (Neo)Vim
  • NerdCommenter - Vim plugin for intensely nerdy commenting powers
  • vim-pdf - A plugin make your vim browse the pdf files
  • vim-hexokinase - The fastest (Neo)Vim plugin for asynchronously displaying the colours in the file
  • vim-calendar - A calendar application of vim
  • vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.

Before using

Check the environment

  1. Python and Python3 installed
  2. pynvim installed

To check the "health"

You can run :checkhealth in vim to check if your NeoVim work well.

Set your Python path

You can find the python path or the python3 path in the init.vim , and then input your Python3 path.

Like this:

let g:python_host_prog = '/bin/python'
let g:python3_host_prog = '/bin/python3'

Key Mappings

You can run :map to get all the keybingdings in my NeoVim.

My custom functions

Transparent

You can use <leader>la to turn the backgroud into transparent or untransparent.
Example:

Example

Float Terminal

In my settings, you can use <leader>Ft to show the Float Terminal.
Example:

Example

And you can use <leader>Fs to show the Float Terminal on the top right.
Like this:

Example

You can use <M-a> transformation between the first and the second in the Terminal.

Float Ranger

Float Ranger is based on the Float Terminal by I.
You can use <leader>Rt to toggle it.Also, you can use <M-a> to change its position and size like Float Terminal.

Run codes

In my settings, you can use <leader>r to run different programming programs.

 _   _                 _           
| \ | | ___  _____   _(_)_ __ ___  
|  \| |/ _ \/ _ \ \ / / | '_ ` _ \ 
| |\  |  __/ (_) \ V /| | | | | | |
|_| \_|\___|\___/ \_/ |_|_| |_| |_|

About

My Neovim Configurations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published