feat: Review configuration of key mappings

This commit is contained in:
2025-11-01 19:50:01 +01:00
parent 58e86b8435
commit 6787aef5cd
2 changed files with 16 additions and 16 deletions

View File

@@ -2,14 +2,9 @@
-- This is just pure lua so anything that doesn't
-- fit in the normal config locations above can go here
-- Custom keymaps
-- use gp to set visual selection on the recently pasted text
vim.keymap.set('n', 'gp', '`[v`]', { desc = 'Visual selection of pasted text' })
-- Needed for python3 through mise
-- Locate python3 using PATH
local python_path = vim.fn.exepath("python3")
local python_path = vim.fn.exepath "python3"
if python_path == nil or python_path == "" then
else
vim.g.python3_host_prog = python_path