# Basic syntax: # From inside vim run: :so % # If using lua, a convenient remap is: vim.api.nvim_set_keymap('n', '<Leader>so', ':w<CR>:so %<CR>', { noremap = true, silent = true } )