diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2024-02-14 15:45:48 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2024-02-14 15:45:48 +0400 |
| commit | d53d48975c0ed4aec92bc5bc0fcbe5c6662c8a69 (patch) | |
| tree | 9cf22e045b2e82b20e002dd87f999928249be09c | |
| parent | b5e8751e3a35d560e60a6839a0c80d73d648cb2f (diff) | |
add new plugins
- neorg plugin with couple of modules and default directory
- plugin for typst support
- vim-fugitive
- true zen with added keybinding
| -rw-r--r-- | init.lua | 1 | ||||
| -rw-r--r-- | lazy-lock.json | 12 | ||||
| -rw-r--r-- | lua/keybindings.lua | 7 | ||||
| -rw-r--r-- | lua/plugins.lua | 36 |
4 files changed, 44 insertions, 12 deletions
@@ -45,7 +45,6 @@ vim.opt.autochdir = true -- Remove conceal for all files vim.opt.conceallevel = 0 - -- Paragraph formatter -- let &formatprg="par -w80" diff --git a/lazy-lock.json b/lazy-lock.json index 283dc27..b9eed5a 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -1,8 +1,12 @@ { "Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" }, - "lazy.nvim": { "branch": "main", "commit": "28a80136b5253a8de6dea87f335919ac9f67116d" }, - "lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" }, - "nvim-treesitter": { "branch": "master", "commit": "691fdc61a13ecca2f5cf0c2abda4b5da87c54893" }, + "lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" }, + "lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" }, + "neorg": { "branch": "main", "commit": "bd12dacc9cf561cbffc8d6f8f4b76aa9d734665b" }, + "nvim-treesitter": { "branch": "master", "commit": "883c72cddc34195a3b916905f6e61d789ddd3599" }, + "true-zen.nvim": { "branch": "main", "commit": "2b9e210e0d1a735e1fa85ec22190115dffd963aa" }, + "typst.vim": { "branch": "main", "commit": "e28d440c7ba4df2516d7d7f908c4fb664a8cf86c" }, + "vim-fugitive": { "branch": "master", "commit": "011cf4fcb93a9649ffc6dcdff56ef948f5d0f7cc" }, "vim-plugin-ruscmd": { "branch": "master", "commit": "e952abbea092e420b128936a0c284fb522612c3a" }, - "vimtex": { "branch": "master", "commit": "a59a49b54ae039f1a439c9a16c2ea7b461b8e925" } + "vimtex": { "branch": "master", "commit": "9df79e15bf035d1cfb32c11fffed38dd7b6a0501" } }
\ No newline at end of file diff --git a/lua/keybindings.lua b/lua/keybindings.lua index e10e458..2c72e54 100644 --- a/lua/keybindings.lua +++ b/lua/keybindings.lua @@ -42,3 +42,10 @@ function trim_whitespace() vim.fn.winrestview(view) end vim.keymap.set("n", "<leader>f", trim_whitespace) + + +-- PLUGINS -- + +-- True Zen +vim.keymap.set("n", "tz", ":TZAtaraxis<CR>") + diff --git a/lua/plugins.lua b/lua/plugins.lua index 0a22d75..b5c2c57 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -11,14 +11,7 @@ if not vim.loop.fs_stat(lazypath) then end vim.opt.rtp:prepend(lazypath) --- Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } --- Plug 'junegunn/fzf.vim' --- Plug 'tpope/vim-fugitive' -- Plug 'hrsh7th/vim-vsnip' --- --- " Languages --- Plug 'prabirshrestha/vim-lsp' - require("lazy").setup({ { "numToStr/Comment.nvim", lazy = false, opts = {} }, @@ -29,6 +22,7 @@ require("lazy").setup({ options = { icons_enabled = false, theme = "powerline", + -- theme = "onelight", }, } }, @@ -52,5 +46,33 @@ require("lazy").setup({ }, "lervag/vimtex", "powerman/vim-plugin-ruscmd", + "tpope/vim-fugitive", + { + 'nvim-neorg/neorg', + ft = 'norg', + cmd = 'Neorg', + priority = 30, + config = function() + require('neorg').setup { + load = { + ['core.defaults'] = {}, + ['core.concealer'] = {}, + ['core.dirman'] = { + config = { + workspaces = { + notes = "~/Documents/Notes/norg" + }, + } + }, + }, + } + end + }, + { + 'kaarmu/typst.vim', + ft = 'typst', + lazy = false, + }, + "pocco81/true-zen.nvim", }) |