Compare commits

..

No commits in common. "7f9256b56c8bd3d7ded9b71bb3edb8098521df47" and "db78ba8f7724750d32c6914fa04d9c5f140227d4" have entirely different histories.

3 changed files with 0 additions and 15 deletions

View File

@ -1,9 +0,0 @@
-- Plugin to automatically create and restore simple sessions
return {
'rmagatti/auto-session',
config = function()
require('auto-session').setup {
auto_session_enable_last_session = true,
}
end,
}

View File

@ -1,4 +0,0 @@
-- Plugin to intelligently reopen files at last edit position
return {
'farmergreg/vim-lastplace',
}

View File

@ -41,8 +41,6 @@ vim.keymap.set('v', '<leader>pny', '"_dP', { desc = '[P]aste [N]o [Y]ank' })
vim.keymap.set('n', '<leader>cd ', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' }) vim.keymap.set('n', '<leader>cd ', ':cd ', { desc = 'Prepare CMD for [C]hange [D]irectory' })
-- Navigate to 'base' directory, the initial dir that nvim was run in -- Navigate to 'base' directory, the initial dir that nvim was run in
vim.keymap.set('n', '<leader>cdh', '<cmd>cd ' .. vim.g.base_dir .. '<cr>', { desc = '[C]hange [D]irectory to [H]ome' }) vim.keymap.set('n', '<leader>cdh', '<cmd>cd ' .. vim.g.base_dir .. '<cr>', { desc = '[C]hange [D]irectory to [H]ome' })
-- Automatically navigate to config directory
vim.keymap.set('n', '<leader>cdn', '<cmd>cd ' .. vim.fn.stdpath 'config' .. '<cr>', { desc = '[C]hange [D]irectory to [N]eovim' })
-- Delete current buffer without closing window -- Delete current buffer without closing window
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' }) vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })