nvim/lua/customcmd.lua

7 lines
171 B
Lua
Raw Normal View History

2024-01-02 16:19:15 +08:00
-- G.api.nvim_buf_create_user_command( "*.py", "R" , "!python3 %", { complete = true })
2024-01-02 19:58:43 +08:00
-- G.cmd[[command! R !python3 %]]
-- G.cmd[[command! -range C <line1>,<line2>]]
2024-01-02 16:19:15 +08:00