From 75b48fc3247b412bb1580c47e96022cffdc8ba9a Mon Sep 17 00:00:00 2001 From: talha Date: Sat, 6 Dec 2025 15:08:59 +0500 Subject: Updated config structure --- after/ftplugin/c.lua | 1 + after/ftplugin/cpp.lua | 1 + after/ftplugin/netrw.lua | 6 ++++++ 3 files changed, 8 insertions(+) create mode 100644 after/ftplugin/c.lua create mode 100644 after/ftplugin/cpp.lua create mode 100644 after/ftplugin/netrw.lua (limited to 'after/ftplugin') diff --git a/after/ftplugin/c.lua b/after/ftplugin/c.lua new file mode 100644 index 0000000..f3bcf24 --- /dev/null +++ b/after/ftplugin/c.lua @@ -0,0 +1 @@ +vim.opt.cinoptions = 'l1(0' diff --git a/after/ftplugin/cpp.lua b/after/ftplugin/cpp.lua new file mode 100644 index 0000000..f3bcf24 --- /dev/null +++ b/after/ftplugin/cpp.lua @@ -0,0 +1 @@ +vim.opt.cinoptions = 'l1(0' diff --git a/after/ftplugin/netrw.lua b/after/ftplugin/netrw.lua new file mode 100644 index 0000000..3036211 --- /dev/null +++ b/after/ftplugin/netrw.lua @@ -0,0 +1,6 @@ +vim.opt.number = true +vim.opt.relativenumber = true + +vim.keymap.set('n', "h", "NetrwBrowseUpDir", { buffer = true}) +vim.keymap.set('n', "l", "NetrwLocalBrowseCheck", { buffer = true}) + -- cgit v1.2.3