Adding vim-lastplace and move.vim

This commit is contained in:
Andy Teijelo 2022-10-27 19:55:49 -04:00
parent df1313f131
commit 5f08f86295
2 changed files with 12 additions and 0 deletions

View file

@ -97,3 +97,12 @@ keymap("n", "<F17>", "<cmd>lua require'dap'.terminate()<cr>", opts) -- Shift+F5
--keymap("n", "<F17>", "<cmd>VimspectorReset<cr>", opts) -- Shift+F5 --keymap("n", "<F17>", "<cmd>VimspectorReset<cr>", opts) -- Shift+F5
--keymap("n", "<F41>", "<Plug>VimspectorRestart", opts) -- Ctrl+Shift+F5 --keymap("n", "<F41>", "<Plug>VimspectorRestart", opts) -- Ctrl+Shift+F5
--keymap("n", "<leader>di", "<Plug>VimspectorBalloonEval", opts) --keymap("n", "<leader>di", "<Plug>VimspectorBalloonEval", opts)
-- move.vim
-- Normal-mode commands
vim.keymap.set('n', '<A-j>', ':MoveLine(1)<CR>', opts)
vim.keymap.set('n', '<A-k>', ':MoveLine(-1)<CR>', opts)
-- Visual-mode commands
vim.keymap.set('v', '<A-j>', ':MoveBlock(1)<CR>', opts)
vim.keymap.set('v', '<A-k>', ':MoveBlock(-1)<CR>', opts)

View file

@ -113,6 +113,9 @@ return packer.startup(function(use)
-- VimSpector -- VimSpector
--use { "puremourning/vimspector" } --use { "puremourning/vimspector" }
use 'farmergreg/vim-lastplace'
use 'fedepujol/move.nvim'
use { "j-hui/fidget.nvim", commit = "2cf9997d3bde2323a1a0934826ec553423005a26" } use { "j-hui/fidget.nvim", commit = "2cf9997d3bde2323a1a0934826ec553423005a26" }
-- Automatically set up your configuration after cloning packer.nvim -- Automatically set up your configuration after cloning packer.nvim