Skip to content

Commit 3ba230b

Browse files
committed
bump nvim version
1 parent 1d8577b commit 3ba230b

3 files changed

Lines changed: 2 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<img alt="Windows" src="https://img.shields.io/badge/Windows-%23.svg?style=flat-square&logo=windows&color=0078D6&logoColor=white" />
1111
</a>
1212
<a href="https://github.com/neovim/neovim/releases/tag/stable">
13-
<img src="https://img.shields.io/badge/Neovim-0.12.4-blueviolet.svg?style=flat-square&logo=Neovim&logoColor=green" alt="Neovim minimum version"/>
13+
<img src="https://img.shields.io/badge/Neovim-0.12.5-blueviolet.svg?style=flat-square&logo=Neovim&logoColor=green" alt="Neovim minimum version"/>
1414
</a>
1515
<a href="https://github.com/jdhao/nvim-config/graphs/commit-activity">
1616
<img src="https://img.shields.io/github/commit-activity/m/jdhao/nvim-config?style=flat-square" />

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ local utils = require("utils")
1313

1414
vim.loader.enable()
1515

16-
local expected_version = "0.12.4"
16+
local expected_version = "0.12.5"
1717
utils.is_compatible_version(expected_version)
1818

1919
-- some global settings

lua/mappings.lua

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@ keymap.set("n", "<leader>sv", function()
8383
vim.print("Use ZR to restart nvim instead!")
8484
end)
8585

86-
keymap.set("n", "ZR", function()
87-
local current_buf_path = vim.fn.expand("%")
88-
local restart_cmd = string.format("restart edit %s", current_buf_path)
89-
vim.cmd(restart_cmd)
90-
end, {
91-
silent = true,
92-
desc = "Restart nvim",
93-
})
94-
9586
-- Reselect the text that has just been pasted, see also https://stackoverflow.com/a/4317090/6064933.
9687
keymap.set("n", "<leader>v", "printf('`[%s`]', getregtype()[0])", {
9788
expr = true,

0 commit comments

Comments
 (0)