mirror of
https://github.com/harivansh-afk/nvim.git
synced 2026-04-15 07:04:47 +00:00
wrap line
This commit is contained in:
parent
be113456fb
commit
3db2b6cdce
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ map("n", "J", "mzJ`z", { desc = "Join lines keeping cursor position" })
|
|||
map("x", "x", '"_x', { desc = "Delete char without yanking" })
|
||||
map("x", "p", '"_dP', { desc = "Paste without yanking replaced text" })
|
||||
map("n", "<Esc>", "<cmd>nohlsearch<cr>", { desc = "Clear search highlight" })
|
||||
map("n", "<leader>tw", "<cmd>setlocal wrap!<cr>", { desc = "Toggle word wrap" })
|
||||
|
||||
|
||||
-- Terminal
|
||||
map("t", "<Esc>", "<C-\\><C-n>", { desc = "Exit terminal mode" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue