diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | core/mappings.vim | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -36,7 +36,7 @@ # Introduction This repo hosts my Nvim configuration for Linux, macOS, and Windows. -`init.vim` is the config entry point for terminal Nvim, +`init.lua` is the config entry point for terminal Nvim, and `ginit.vim` is the additional config file for [GUI client of Nvim](https://github.com/neovim/neovim/wiki/Related-projects#gui). My configurations are heavily documented to make it as clear as possible. diff --git a/core/mappings.vim b/core/mappings.vim index b21a664..11e13fa 100644 --- a/core/mappings.vim +++ b/core/mappings.vim @@ -87,7 +87,7 @@ xnoremap > >gv inoremap <expr> <tab> pumvisible() ? "\<c-n>" : "\<tab>" inoremap <expr> <s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>" -" Edit and reload init.vim quickly +" Edit and reload nvim config file quickly nnoremap <silent> <leader>ev :<C-U>tabnew $MYVIMRC <bar> tcd %:h<cr> nnoremap <silent> <leader>sv :<C-U>silent update $MYVIMRC <bar> source $MYVIMRC <bar> \ call v:lua.vim.notify("Nvim config successfully reloaded!", 'info', {'title': 'nvim-config'})<cr> |
