aboutsummaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/.config/nvim/lazy-lock.json6
-rw-r--r--nvim/.config/nvim/lua/config/options.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/compiler.lua21
-rw-r--r--nvim/.config/nvim/lua/plugins/misc.lua13
-rw-r--r--nvim/.config/nvim/lua/plugins/obsidian.lua45
5 files changed, 86 insertions, 3 deletions
diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json
index cc47f97..8386812 100644
--- a/nvim/.config/nvim/lazy-lock.json
+++ b/nvim/.config/nvim/lazy-lock.json
@@ -9,6 +9,7 @@
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"competitest.nvim": { "branch": "master", "commit": "e397635d212605a3fa0e2d06f3e6209085189e3f" },
"compiler-explorer.nvim": { "branch": "master", "commit": "ee8e7a2808bdad67cd2acb61b5c9ffa7735c7ec9" },
+ "compiler.nvim": { "branch": "main", "commit": "eb7f82bb8f9e722dd194f638e67ec53c12ce5ac5" },
"conform.nvim": { "branch": "master", "commit": "62d5accad8b29d6ba9b58d3dff90c43a55621c60" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dressing.nvim": { "branch": "master", "commit": "fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
@@ -49,8 +50,10 @@
"nvim-treesitter-textobjects": { "branch": "master", "commit": "ad8f0a472148c3e0ae9851e26a722ee4e29b1595" },
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
"nvim-web-devicons": { "branch": "master", "commit": "f09be61d05bebcba85bb47be1931322d51b95644" },
+ "obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
"oil.nvim": { "branch": "master", "commit": "5fa528f5528bf04a2d255108e59ed9cf53e85ae6" },
"onedark": { "branch": "master", "commit": "67a74c275d1116d575ab25485d1bfa6b2a9c38a6" },
+ "overseer.nvim": { "branch": "master", "commit": "6271cab7ccc4ca840faa93f54440ffae3a3918bd" },
"persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" },
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
"render-markdown.nvim": { "branch": "main", "commit": "d6a82d70765aa238b7ea48d257a1d57a92501423" },
@@ -65,5 +68,6 @@
"ts-comments.nvim": { "branch": "main", "commit": "2002692ad1d3f6518d016550c20c2a890f0cbf0e" },
"typescript.nvim": { "branch": "main", "commit": "4de85ef699d7e6010528dcfbddc2ed4c2c421467" },
"vim-tmux-navigator": { "branch": "master", "commit": "424b5caa154bff34dc258ee53cec5a8e36cf7ea8" },
- "vimtex": { "branch": "master", "commit": "879f8906a677e2ee77f62f3b66ce7b86aafb0cec" }
+ "vimtex": { "branch": "master", "commit": "879f8906a677e2ee77f62f3b66ce7b86aafb0cec" },
+ "zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" }
}
diff --git a/nvim/.config/nvim/lua/config/options.lua b/nvim/.config/nvim/lua/config/options.lua
index 1b8d2a8..d1dec23 100644
--- a/nvim/.config/nvim/lua/config/options.lua
+++ b/nvim/.config/nvim/lua/config/options.lua
@@ -6,13 +6,13 @@ vim.opt.ch = 0
vim.opt.list = false
vim.opt.confirm = false
vim.o.clipboard = ""
-vim.o.guifont = "Monaspace argon:h12:bold" -- text below applies for VimScript
+vim.o.guifont = "Monaspace Radon:h12:bold" -- text below applies for VimScript
-- Helper function for transparency formatting
local alpha = function()
return string.format("%x", math.floor(255 * vim.g.transparency or 0.8))
end
-- g:neovide_transparency should be 0 if you want to unify transparency of content and title bar.
-vim.g.neovide_transparency = 0.8
+vim.g.neovide_transparency = 1.0
vim.g.transparency = 0.8
vim.g.neovide_background_color = "#0A0E14" .. alpha()
diff --git a/nvim/.config/nvim/lua/plugins/compiler.lua b/nvim/.config/nvim/lua/plugins/compiler.lua
new file mode 100644
index 0000000..c0724e8
--- /dev/null
+++ b/nvim/.config/nvim/lua/plugins/compiler.lua
@@ -0,0 +1,21 @@
+return {
+ { -- This plugin
+ "Zeioth/compiler.nvim",
+ cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
+ dependencies = { "stevearc/overseer.nvim", "nvim-telescope/telescope.nvim" },
+ opts = {},
+ },
+ { -- The task runner we use
+ "stevearc/overseer.nvim",
+ commit = "6271cab7ccc4ca840faa93f54440ffae3a3918bd",
+ cmd = { "CompilerOpen", "CompilerToggleResults", "CompilerRedo" },
+ opts = {
+ task_list = {
+ direction = "bottom",
+ min_height = 25,
+ max_height = 25,
+ default_detail = 1,
+ },
+ },
+ },
+}
diff --git a/nvim/.config/nvim/lua/plugins/misc.lua b/nvim/.config/nvim/lua/plugins/misc.lua
index ff598be..7064964 100644
--- a/nvim/.config/nvim/lua/plugins/misc.lua
+++ b/nvim/.config/nvim/lua/plugins/misc.lua
@@ -66,4 +66,17 @@ return {
cmd = "SymbolsOutline",
config = true,
},
+
+ -- Lua
+ {
+ "folke/zen-mode.nvim",
+ opts = {
+ window = {
+ width = 0.9,
+ },
+ -- your configuration comes here
+ -- or leave it empty to use the default settings
+ -- refer to the configuration section below
+ },
+ },
}
diff --git a/nvim/.config/nvim/lua/plugins/obsidian.lua b/nvim/.config/nvim/lua/plugins/obsidian.lua
new file mode 100644
index 0000000..64f119d
--- /dev/null
+++ b/nvim/.config/nvim/lua/plugins/obsidian.lua
@@ -0,0 +1,45 @@
+return {
+ "epwalsh/obsidian.nvim",
+ version = "*", -- recommended, use latest release instead of latest commit
+ lazy = true,
+ ft = "markdown",
+ -- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
+ -- event = {
+ -- -- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
+ -- -- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/*.md"
+ -- -- refer to `:h file-pattern` for more examples
+ -- "BufReadPre path/to/my-vault/*.md",
+ -- "BufNewFile path/to/my-vault/*.md",
+ -- },
+ dependencies = {
+ -- Required.
+ "nvim-lua/plenary.nvim",
+
+ -- see below for full list of optional dependencies 👇
+ },
+ opts = {
+ workspaces = {
+ {
+ name = "personal",
+ path = "/mnt/Storage/omar/volty",
+ },
+ },
+ },
+ keys = {
+ {
+ "<leader>on",
+ "<Cmd>ObsidianNew<CR>",
+ desc = "New Obsidian Note",
+ },
+ {
+ "<leader>oo",
+ "<Cmd>ObsidianOpen<CR>",
+ desc = "Open note in obsidian",
+ },
+ {
+ "<leader>ot",
+ "<Cmd>ObsidianTemplate<CR>",
+ desc = "Open a new note with template",
+ },
+ },
+}