aboutsummaryrefslogtreecommitdiff
path: root/modules/neovim/nvim/lua/config/oil.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/neovim/nvim/lua/config/oil.lua')
-rw-r--r--modules/neovim/nvim/lua/config/oil.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/neovim/nvim/lua/config/oil.lua b/modules/neovim/nvim/lua/config/oil.lua
new file mode 100644
index 0000000..bfa67a9
--- /dev/null
+++ b/modules/neovim/nvim/lua/config/oil.lua
@@ -0,0 +1,17 @@
+require("oil").setup({
+ default_file_explorer = true,
+ columns = {
+ "icon"
+ },
+ win_options = {
+ wrap = false,
+ signcolumn = "no",
+ cursorcolumn = false,
+ foldcolumn = "0",
+ spell = false,
+ list = false,
+ conceallevel = 3,
+ concealcursor = "nvic",
+ },
+ constrain_cursor = "editable",
+})