Lazygit
This commit is contained in:
parent
d560d0bf84
commit
248babab24
5 changed files with 24 additions and 5 deletions
home/features/neovim
|
@ -24,7 +24,12 @@ local function runLocal(functionName)
|
|||
end
|
||||
end
|
||||
|
||||
vim.keymap.set("n", "<leader>lf", ":source %<cr>", opts("Run [l]ua [f]ile "))
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>lf",
|
||||
"<cmd>source %<cr>",
|
||||
opts("Run [l]ua [f]ile ")
|
||||
)
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>ls",
|
||||
|
|
|
@ -106,7 +106,12 @@ let
|
|||
# Use global clipboard using *cp*
|
||||
(keymap "nv" "<f11>" ''"+'' "Use global clipboard")
|
||||
# Save using *ji*
|
||||
(nmap "<f12>" "<cmd>silent write<cr>" "Save current file")
|
||||
(nmap "<f12>"
|
||||
(thunk ''
|
||||
-- If we don't do this, the statusbar will flash for a second...
|
||||
vim.cmd([[silent! write]])
|
||||
vim.opt.stl = vim.opt.stl
|
||||
'') "Save current file")
|
||||
# }}}
|
||||
# {{{ Newline without comments
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue