aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2022-08-13 22:43:33 +0800
committerjdhao <jdhao@hotmail.com>2022-08-13 22:43:33 +0800
commitfdc158272bed0be588256147780363438ed40f96 (patch)
tree44057840891ef61c9a0082e188c828e4c4d25a83
parentb331cddc73c559fe41807184f3b73abfcec86608 (diff)
init.vim --> init.lua follow
-rw-r--r--README.md2
-rw-r--r--core/mappings.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index e9010d5..c9b5346 100644
--- a/README.md
+++ b/README.md
@@ -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>