Skip to content

Commit

Permalink
ref(keybindings): change mappings from = to i
Browse files Browse the repository at this point in the history
  • Loading branch information
arsham committed Feb 15, 2022
1 parent 94d1c2c commit 75876d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This Neovim plugin provides mappings and textobj for indentations.

## Demo

Jumping along the indents (`[=`, `]=`):
Jumping along the indents (`[i`, `]i`):

![jumping](https://user-images.githubusercontent.com/428611/148661970-0aad20f2-61ce-4347-8971-6147556a1603.gif)

Expand Down Expand Up @@ -62,8 +62,8 @@ Here is the default settings:
```lua
{
normal = {
up = "[=",
down = "]=",
up = "[i",
down = "]i",
},
textobj = "ii",
}
Expand All @@ -79,7 +79,7 @@ use({
"arsham/indent-tools.nvim",
requires = { "arsham/arshlib.nvim" },
config = function() require("indent-tools").config({}) end,
keys = { "]=", "[=", { "v", "ii" }, { "o", "ii" } },
keys = { "]i", "[i", { "v", "ii" }, { "o", "ii" } },
})
```

Expand Down
2 changes: 1 addition & 1 deletion lua/indent-tools/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ end
--}}}

local defaults = { --{{{
normal = { up = "[=", down = "]=" },
normal = { up = "[i", down = "]i" },
textobj = "ii",
}
--}}}
Expand Down

0 comments on commit 75876d9

Please sign in to comment.