All Projects → jdhao → Nvim Config

jdhao / Nvim Config

Licence: mit
My custom Neovim configuration with full battery for Python, C++, Markdown, LaTeX and more...

Projects that are alternatives of or similar to Nvim Config

Kommentary
Neovim commenting plugin, written in lua.
Stars: ✭ 172 (-2.27%)
Mutual labels:  neovim, nvim
Vim Subversive
Vim plugin providing operator motions to quickly replace text
Stars: ✭ 168 (-4.55%)
Mutual labels:  neovim, nvim
Neovim
Vim-fork focused on extensibility and usability
Stars: ✭ 49,389 (+27961.93%)
Mutual labels:  neovim, nvim
Gnvim
GUI for neovim, without any web bloat
Stars: ✭ 1,271 (+622.16%)
Mutual labels:  neovim, nvim
Paq Nvim
🌚 Neovim package manager
Stars: ✭ 131 (-25.57%)
Mutual labels:  neovim, nvim
Ncm R
R autocompletion for Neovim and vim 8 📝 📊 ⚡️
Stars: ✭ 102 (-42.05%)
Mutual labels:  neovim, nvim
Nvim Lspconfig
Quickstart configurations for the Nvim LSP client
Stars: ✭ 3,410 (+1837.5%)
Mutual labels:  neovim, nvim
Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (-81.25%)
Mutual labels:  neovim, nvim
Nvimpager
Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
Stars: ✭ 131 (-25.57%)
Mutual labels:  neovim, nvim
Awesome Vim Colorschemes
Collection of awesome color schemes for Neo/vim, merged for quick use.
Stars: ✭ 1,951 (+1008.52%)
Mutual labels:  neovim, nvim
Nvim Nonicons
Icon set using nonicons for neovim plugins and settings
Stars: ✭ 77 (-56.25%)
Mutual labels:  neovim, nvim
Acid.nvim
Asynchronous Clojure Interactive Development
Stars: ✭ 147 (-16.48%)
Mutual labels:  neovim, nvim
Dotfiles
🏠
Stars: ✭ 60 (-65.91%)
Mutual labels:  neovim, nvim
Darcula
A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
Stars: ✭ 158 (-10.23%)
Mutual labels:  neovim, nvim
Nvim Hlslens
Hlsearch Lens for Neovim
Stars: ✭ 55 (-68.75%)
Mutual labels:  neovim, nvim
Nvim Autopairs
autopairs for neovim written by lua
Stars: ✭ 112 (-36.36%)
Mutual labels:  neovim, nvim
Vim Dirvish
Directory viewer for Vim ⚡️
Stars: ✭ 929 (+427.84%)
Mutual labels:  neovim, nvim
Nvim Completion Manager
⚠️ PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
Stars: ✭ 950 (+439.77%)
Mutual labels:  neovim, nvim
Nvim Bqf
Better quickfix window in Neovim, polish old quickfix window.
Stars: ✭ 120 (-31.82%)
Mutual labels:  neovim, nvim
Shades Of Purple.vim
Dark theme for vim
Stars: ✭ 132 (-25%)
Mutual labels:  neovim, nvim

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 though. 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 how to configure on different platforms (Linux, macOS and Windows).

Features

Shortcuts

Some of the shortcuts I use frequently. In the following shortcuts, <leader> represents ASCII character ,.

Shortcut Mode platform Description
<leader>f Normal Linux/macOS/Win Fuzzy file search in a floating window
<leader>h Normal Linux/macOS/Win Fuzzy help search in a floating window
<leader>t Normal Linux/macOS/Win Fuzzy buffer tag search in a floating window
<leader><Space> Normal Linux/macOS/Win Remove trailing white spaces
<leader>v Normal Linux/macOS/Win Reselect last pasted text
<leader>ev Normal Linux/macOS/Win Edit Neovim config in a new tabpage
<leader>sv Normal Linux/macOS/Win Reload Neovim config
<leader>q Normal Linux/macOS/Win Quit current window
<leader>Q Normal Linux/macOS/Win Quit all window and close Neovim
<leader>w Normal Linux/macOS/Win Save current buffer content
<leader>cd Normal Linux/macOS/Win Change current directory to where current file is
<leader>y Normal Linux/macOS/Win Copy the content of entire buffer to default register
<leader>cl Normal Linux/macOS/Win Toggle cursor column
<leader>cd Normal Linux/macOS/Win Change current working directory to to the dir of current buffer
<space>t Normal Linux/macOS/Win Toggle tag window (show project tags in the right window)
<F11> Normal Linux/macOS/Win Toggle spell checking
<F12> Normal Linux/macOS/Win Toggle paste mode
\x Normal Linux/macOS/Win Close location or quickfix window
\d Normal Linux/macOS/Win Close current buffer and go to previous buffer
{count}gb Normal Linux/macOS/Win Go to {count} buffer or next buffer in the buffer list.
Alt-M Normal macOS/Win Render Markdown to HTML and open it in system browser
ob Normal/Visual macOS/Win Open link under cursor or search visual selection
ctrl-u Insert Linux/macOS/Win Turn word under cursor to upper case
ctrl-t Insert Linux/macOS/Win Turn word under cursor to title case
jk Insert Linux/macOS/Win 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

Some of the resources that I find helpful in mastering Vim is here. You may also be interested in my post in configuring Vim on different platforms:

[^1]: Not enabled by default for Linux, see this issue on how to enable vimtex on Linux.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].