1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00
2020-08-12 16:45:30 +08:00
2020-08-11 13:06:58 +08:00
2020-05-06 11:55:38 +08:00
2020-08-12 16:45:30 +08:00
2020-02-24 12:30:50 +08:00
2020-03-14 23:27:22 +08:00
2020-05-25 21:12:20 +08:00
2020-07-29 00:04:22 +08:00
2019-12-26 01:09:18 +08:00
2020-05-07 10:33:39 +08:00
2019-12-26 01:09:18 +08:00
2020-05-23 13:50:44 +08:00
2019-04-25 23:20:43 +08:00
2020-05-10 23:52:25 +08:00
2020-05-22 17:06:07 +08:00
2020-07-21 23:58:25 +08:00
2019-12-09 23:21:28 +08:00

Introduction

This is my Neovim configuration for all the platforms I use (Linux, Windows and MacOS). init.vim is the config file for terminal Neovim, and ginit.vim is the additional config file for GUI client of Neovim (I am using neovim-qt for now on Windows).

My configurations are heavily documented to make it as clear as possible. While you can download the whole repository and use it, it is not recommended to do so. Good configurations are personal. Everyone should have his or her unique config file. You are encouraged to copy from this this repo the part you feel useful and add it to your own Nvim config.

See doc here on how to install Nvim's dependencies, Nvim itself and the configuration on different platforms (Linux, MacOS and Windows).

Features

Shortcuts

In the following shortcuts, <leader> represents the , character.

Shortcut Mode Description
<leader>f Normal Fuzzy file search in a floating window
<leader><Space> Normal Remove trailing whitespaces
<leader>v Normal Reselect last pasted text
<leader>ev Normal Edit Neovim config in a new tabpage
<leader>sv Normal Reload Neovim config
<leader>q Normal Quit current window
<leader>Q Normal Quit all window and close Neovim
<leader>w Normal Save current buffer content
<leader>cd Normal Change current directory to where current file is
<leader>y Normal Copy the content of entire buffer to default register
<leader>cl Normal Toggle cursor column
<Space>s Normal Toggle the sidebar (show project tree view)
<space>t Normal Toggle tag window (show project tags in the right window)
<F11> Normal Toggle spell checking
<F12> Normal Toggle paste mode
\x Normal Close location or quickfix window
\d Normal Close current buffer and go to previous buffer
ctrl-u Insert Turn word under cursor to upper case
ctrl-t Insert Turn word under cursor to title case
jk Insert Return to Normal mode (faster <ESC>)

Trouble shooting

If you come across an issue, you can first use :checkhealth command provided by nvim to trouble-shoot yourself. Please read carefully the messages provided by health check.

If you still have an issue, you may open a new issue.

Further readings


  1. Not enabled by default for Linux, see this issue on how to enable vimtex on Linux. ↩︎

Description
A modern Neovim configuration with full battery for Python, C++, Markdown, LaTeX, and more...
Readme 6.3 MiB
Languages
Lua 52.2%
Vim script 38.9%
Vim Snippet 6.7%
TeX 2.2%