From 0fc06c2074e174724223026c4c8e118f3a066f09 Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Fri, 25 Aug 2023 10:26:21 +0200 Subject: [PATCH] plugins and aliases --- nvim/lua/plugins.lua | 17 +++++++++++++---- zsh/aliases.zsh | 2 +- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index ac52651b..38836e5d 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -87,6 +87,18 @@ require('lazy').setup({ event = 'BufReadPre', init = function() require('leap').set_default_keymaps() end, }, + { -- better f t + 'ggandor/flit.nvim', + event = 'BufReadPre', + init = function() + require('flit').setup { + keys = { f = 'f', F = 'F', t = 't', T = 'T' }, + labeled_modes = "v", + multiline = true, + opts = {} + } + end, + }, { -- colorizer for nice css-colors 'norcalli/nvim-colorizer.lua', event = 'BufReadPre', @@ -98,10 +110,7 @@ require('lazy').setup({ javascript = { css = true }, }, }, - - -- Evaluating... - { 'folke/trouble.nvim', dependencies = { 'kyazdani42/nvim-web-devicons' } }, - { + { -- and neorg for todo-lists etc. 'nvim-neorg/neorg', build = ':Neorg sync-parsers', opts = { diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 2510b754..9a8b12bd 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -33,5 +33,5 @@ alias vimdiff='$EDITOR -d' alias vimup='nvim +TSUpdate' alias yb='yarn build' alias yp='yarn lint && yarn production' -alias yre='n engine && rm -f yarn.lock && rm -rf node_modules && yarn' +alias yre='n engine > /dev/null && rm -f yarn.lock && rm -rf node_modules && yarn' alias ys='yarn start'