From 3bef48c086d15702665dd158ebcea0db9780158f Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Sat, 11 Nov 2023 20:54:00 +0100 Subject: some changes --- Common/nvim/lua/helper_functions.lua | 3 +++ Common/nvim/lua/plugins.lua | 5 +++++ 2 files changed, 8 insertions(+) (limited to 'Common/nvim') diff --git a/Common/nvim/lua/helper_functions.lua b/Common/nvim/lua/helper_functions.lua index 715c2a7..7a17b78 100755 --- a/Common/nvim/lua/helper_functions.lua +++ b/Common/nvim/lua/helper_functions.lua @@ -41,6 +41,9 @@ vim.api.nvim_create_user_command('JoinLinesSQ', JoinLinesSQ, {bang=false, desc=' vim.api.nvim_create_user_command('JoinLinesDQ', JoinLinesDQ, {bang=false, desc='Joins all lines in a register', nargs='?'}) vim.api.nvim_create_user_command('JoinLinesBT', JoinLinesBT, {bang=false, desc='Joins all lines in a register', nargs='?'}) +-- Strip trailing spaces +vim.keymap.set('n', 'wt', [[:%s/\s\+$//e]]) + -- Close buffer without closing window --[[ vim.cmd [[ diff --git a/Common/nvim/lua/plugins.lua b/Common/nvim/lua/plugins.lua index 26f217f..3a098a9 100755 --- a/Common/nvim/lua/plugins.lua +++ b/Common/nvim/lua/plugins.lua @@ -176,6 +176,11 @@ return require('packer').startup(function(use) end, } + -- Ledger + use { + 'ledger/vim-ledger' + } + -- packer.nvim -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins -- cgit v1.2.3