summaryrefslogtreecommitdiff
path: root/.config/nvim/init.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.lua')
-rw-r--r--.config/nvim/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index a11639f..c0709dc 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -50,6 +50,10 @@ function mk_scratch_buffer()
]]
end
+vim.keymap.set('x', '<leader>a', 'gg0oG$',
+ { desc = 'Select the [A]ll of the buffer' })
+vim.keymap.set('o', '<leader>a', ':normal! ggVG<CR>',
+ { desc = 'Text object of [A]ll of the buffer' })
vim.keymap.set('n', '<C-h>', '<C-w><C-h>',
{ desc = 'Move focus to the left window' })
vim.keymap.set('n', '<C-j>', '<C-w><C-j>',