robin/ivy

my custom neovim config

git clone https://git.robinwobin.dev/robin/ivy

robinkeymaps: sort into files in `config/plugin/keymaps/`4fb7125

main
479 B23 linesraw
1-- move down by visible lines
2vim.keymap.set(
3  { "n", "x" },
4  "j",
5  [[v:count == 0 ? 'gj' : 'j']],
6  { expr = true }
7)
8-- move up by visible lines
9vim.keymap.set(
10  { "n", "x" },
11  "k",
12  [[v:count == 0 ? 'gk' : 'k']],
13  { expr = true }
14)
15
16-- goto start of line
17vim.keymap.set({ "n", "x" }, "gh", "0")
18-- goto end of line
19vim.keymap.set({ "n", "x" }, "gl", "g_")
20-- goto first non empty of line
21vim.keymap.set({ "n", "x" }, "gs", "^")
22
23vim.keymap.set({ "n", "x" }, "gG", "G")