diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | Common/nvim/lua/helper_functions.lua | 3 | ||||
-rwxr-xr-x | Common/nvim/lua/plugins.lua | 5 | ||||
-rw-r--r-- | Common/vim/.netrwhist | 0 | ||||
-rw-r--r-- | Common/zshrc | 2 |
5 files changed, 11 insertions, 0 deletions
@@ -73,3 +73,4 @@ Common/vim/vim Common/nvim/plugin/ Common/nvim/lsp/jdt-language-server/workspace/folder/ +Common/vim/netrwhist 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', '<Leader>wt', [[:%s/\s\+$//e<cr>]]) + -- 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 diff --git a/Common/vim/.netrwhist b/Common/vim/.netrwhist deleted file mode 100644 index e69de29..0000000 --- a/Common/vim/.netrwhist +++ /dev/null diff --git a/Common/zshrc b/Common/zshrc index ee0ff91..0ac9347 100644 --- a/Common/zshrc +++ b/Common/zshrc @@ -160,3 +160,5 @@ export EDITOR="nvim" #fi #source "$SSH_DIR/ssh-agent.env" > /dev/null [ -z "$SSH\_AGENT\_PID" ] || eval "$(ssh-agent -s)" > /dev/null + +[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh |