Compare commits
2 commits
29cfce1111
...
d256af3536
Author | SHA1 | Date | |
---|---|---|---|
d256af3536 | |||
f3bfe50a35 |
2 changed files with 6 additions and 1 deletions
|
@ -2,7 +2,7 @@ vim.g.mapleader = " "
|
||||||
vim.g.maplocalleader = ","
|
vim.g.maplocalleader = ","
|
||||||
|
|
||||||
-- FIX to create spell dir if not existent
|
-- FIX to create spell dir if not existent
|
||||||
local spelldir = vim.fn.stdpath("data") .. "/site/spell"
|
local spelldir = vim.fn.stdpath("config") .. "/spell"
|
||||||
if not vim.loop.fs_stat(spelldir) then
|
if not vim.loop.fs_stat(spelldir) then
|
||||||
vim.fn.mkdir(spelldir, "p")
|
vim.fn.mkdir(spelldir, "p")
|
||||||
end
|
end
|
||||||
|
|
|
@ -74,3 +74,8 @@ require("which-key").register({
|
||||||
["<"] = { "<gv", "Shift left" },
|
["<"] = { "<gv", "Shift left" },
|
||||||
[">"] = { ">gv", "Shift right" },
|
[">"] = { ">gv", "Shift right" },
|
||||||
}, { mode = "v" })
|
}, { mode = "v" })
|
||||||
|
|
||||||
|
-- better yank in visual mode
|
||||||
|
require("which-key").register({
|
||||||
|
y = { "ygv<esc>", "Yank" },
|
||||||
|
}, { mode = "v" })
|
||||||
|
|
Loading…
Reference in a new issue