Execute Lua code in the current file, range or
...line
This commit is contained in:
parent
6e897dfe0b
commit
3d4bca0ada
|
@ -6,8 +6,10 @@ set("n", "<Leader>so", ":call opdavies#save_and_exec()<CR>")
|
||||||
set("n", "<Leader>g", "gqap")
|
set("n", "<Leader>g", "gqap")
|
||||||
set("x", "<Leader>g", "gqa")
|
set("x", "<Leader>g", "gqa")
|
||||||
|
|
||||||
-- Make the current file executable
|
-- Execute Lua in the current file, line or range.
|
||||||
set("n", "<Leader>x", ":!chmod +x %<Cr>")
|
set("n", "<leader><leader>x", "<cmd>source %<CR>")
|
||||||
|
set("n", "<leader>x", ":.lua<CR>")
|
||||||
|
set("v", "<leader>x", ":lua<CR>")
|
||||||
|
|
||||||
-- Yank from the current column to the end of the line
|
-- Yank from the current column to the end of the line
|
||||||
set("n", "Y", "yg$")
|
set("n", "Y", "yg$")
|
||||||
|
|
Loading…
Reference in a new issue