From 674ea2016f09cd2bcffc120507c841fd6cfedc0a Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 16 Feb 2024 14:17:59 +0100 Subject: [PATCH] Add new lazy nvim plugins --- dot_config/nvim/lua/plugins/coding.lua | 16 ++++++++++++++++ dot_config/nvim/lua/plugins/disabled.lua | 3 +++ dot_config/nvim/lua/plugins/test.lua | 13 +++++++++++++ dot_ssh/config | 2 +- dot_zshrc.tmpl | 4 ---- 5 files changed, 33 insertions(+), 5 deletions(-) create mode 100644 dot_config/nvim/lua/plugins/coding.lua create mode 100644 dot_config/nvim/lua/plugins/disabled.lua create mode 100644 dot_config/nvim/lua/plugins/test.lua diff --git a/dot_config/nvim/lua/plugins/coding.lua b/dot_config/nvim/lua/plugins/coding.lua new file mode 100644 index 0000000..3e89044 --- /dev/null +++ b/dot_config/nvim/lua/plugins/coding.lua @@ -0,0 +1,16 @@ +return { + { + "hrsh7th/nvim-cmp", + opts = function(_, opts) + local cmp = require("cmp") + opts.sources = cmp.config.sources(vim.list_extend(opts.sources, { { name = "neorg" } })) + end, + }, + { + "windwp/nvim-autopairs", + event = "InsertEnter", + opts = { + fast_wrap = {}, + }, + }, +} diff --git a/dot_config/nvim/lua/plugins/disabled.lua b/dot_config/nvim/lua/plugins/disabled.lua new file mode 100644 index 0000000..076912a --- /dev/null +++ b/dot_config/nvim/lua/plugins/disabled.lua @@ -0,0 +1,3 @@ +return { + { "echasnovski/mini.pairs", enabled = false }, +} diff --git a/dot_config/nvim/lua/plugins/test.lua b/dot_config/nvim/lua/plugins/test.lua new file mode 100644 index 0000000..aef9b15 --- /dev/null +++ b/dot_config/nvim/lua/plugins/test.lua @@ -0,0 +1,13 @@ +return { + { + "nvim-neotest/neotest", + opts = { + adapters = { + ["neotest-go"] = { + -- Here we can set options for neotest-go, e.g. + -- args = { "-tags=integration" } + }, + }, + }, + }, +} diff --git a/dot_ssh/config b/dot_ssh/config index bffca0d..b2e1a08 100644 --- a/dot_ssh/config +++ b/dot_ssh/config @@ -59,7 +59,7 @@ User unrz254 ProxyJump cshpc Host gondor -Hostname 192.168.178.60 +Hostname 192.168.1.130 ForwardAgent no Host rohan diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 33b1a6a..c97e965 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -12,7 +12,6 @@ COMPLETION_WAITING_DOTS="false" export FZF_DEFAULT_COMMAND="fd --type file --color=always" export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" export FZF_DEFAULT_OPTS="--ansi" -export BAT_THEME="gruvbox-dark" zle -N zle-line-init zle -N zle-keymap-select @@ -39,6 +38,3 @@ source $HOME/perl5/perlbrew/etc/bashrc export PATH=/opt/homebrew/bin:$PATH {{ end }} {{ end }} - -eval "$(zoxide init zsh)" -eval "$(starship init zsh)"