mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-26 13:21:45 +00:00
Compare commits
No commits in common. "7f9256b56c8bd3d7ded9b71bb3edb8098521df47" and "db78ba8f7724750d32c6914fa04d9c5f140227d4" have entirely different histories.
7f9256b56c
...
db78ba8f77
@ -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,
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
-- Plugin to intelligently reopen files at last edit position
|
||||
return {
|
||||
'farmergreg/vim-lastplace',
|
||||
}
|
@ -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' })
|
||||
-- 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' })
|
||||
-- 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
|
||||
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
||||
|
Loading…
Reference in New Issue
Block a user