diff options
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}) + |
