Skip to content

Commit

Permalink
chore: add lua keymap to execute ranged lines code
Browse files Browse the repository at this point in the history
  • Loading branch information
BBboy01 committed Dec 18, 2024
1 parent 3f139bd commit b659e32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions after/ftplugin/lua.lua
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
vim.keymap.set('n', '<leader><leader>x', '<cmd>source %<CR>')
vim.keymap.set('n', '<leader>x', '<cmd>.lua<CR>')
vim.keymap.set('v', '<leader>x', ':lua<CR>')

0 comments on commit b659e32

Please sign in to comment.