diff options
author | Squibid <me@zacharyscheiman.com> | 2025-05-31 03:32:58 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-05-31 03:32:58 -0400 |
commit | e830931ff421e4380d5de8b1926842000ba9be34 (patch) | |
tree | 207584548026db649bc6ab21df3b41b71ebfd830 /after/ftplugin/netrw.lua | |
parent | ef678f31fdf24c0e6c4eca9a13ad9f63a53447b9 (diff) | |
download | nvim-e830931ff421e4380d5de8b1926842000ba9be34.tar.gz nvim-e830931ff421e4380d5de8b1926842000ba9be34.tar.bz2 nvim-e830931ff421e4380d5de8b1926842000ba9be34.zip |
Diffstat (limited to '')
-rw-r--r-- | after/ftplugin/netrw.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/after/ftplugin/netrw.lua b/after/ftplugin/netrw.lua index eb37bd5..d81ef0f 100644 --- a/after/ftplugin/netrw.lua +++ b/after/ftplugin/netrw.lua @@ -1,5 +1,4 @@ -local misc = require("core.misc") -local map_local = misc.map_local +local map_local = core.misc.map_local map_local("n", "h", "-", { noremap = false, remap = true }) -- Go up a directory map_local("n", "l", "<CR>", { noremap = false, remap = true }) -- Go down a directory / open a file @@ -17,5 +16,5 @@ end) map_local("n", "rt", function() vim.api.nvim_set_current_dir(vim.b.netrw_curdir) vim.notify("root dir updated: "..vim.b.netrw_curdir, vim.log.levels.LOW, - { title = misc.appid }) + { title = core.misc.appid }) end) |