diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/user/keys.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/keys.lua b/lua/user/keys.lua index a20b0ea..d16af95 100644 --- a/lua/user/keys.lua +++ b/lua/user/keys.lua @@ -197,6 +197,10 @@ else map[''].gx = { '<Cmd>lua print("Error: gx is not supported on this OS!")<CR>' } end +-- Substitute globally and locally in the selected region. +map("n", "ss", ":%s//g<Left><Left>") +map("v", "ss", ":s//g<Left><Left>") + -- Toggle completion map("n", "<Leader>tc", ":lua require('user.mods').toggle_completion()<CR>") |
