Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

neovim source current file

# 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 } )
Source by vim.fandom.com #
 
PREVIOUS NEXT
Tagged: #neovim #source #current #file
ADD COMMENT
Topic
Name
4+2 =