diff options
| author | talha <talha@talhaamir.xyz> | 2025-12-06 15:08:59 +0500 |
|---|---|---|
| committer | talha <talha@talhaamir.xyz> | 2025-12-06 15:08:59 +0500 |
| commit | 75b48fc3247b412bb1580c47e96022cffdc8ba9a (patch) | |
| tree | 20f615aae971834ebc1490b41cecdc3d0e9c4a7d /after/ftplugin | |
| parent | 26161cefcda38711c7c8e166ccca7478bcaf18f4 (diff) | |
Diffstat (limited to 'after/ftplugin')
| -rw-r--r-- | after/ftplugin/c.lua | 1 | ||||
| -rw-r--r-- | after/ftplugin/cpp.lua | 1 | ||||
| -rw-r--r-- | after/ftplugin/netrw.lua | 6 |
3 files changed, 8 insertions, 0 deletions
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", "<Plug>NetrwBrowseUpDir", { buffer = true}) +vim.keymap.set('n', "l", "<Plug>NetrwLocalBrowseCheck", { buffer = true}) + |
