Fixed some hydra stuff, added formatopt to config and fixed typo in
purs.lua
This commit is contained in:
parent
afb835493f
commit
9bbe637131
|
@ -164,7 +164,7 @@ Idris keybinds live in the `<leader>I` namespace.
|
||||||
|
|
||||||
| Keybind | Description |
|
| Keybind | Description |
|
||||||
| ---------- | ------------------- |
|
| ---------- | ------------------- |
|
||||||
| C-w | Enter [w]indow mode |
|
| C-W | Enter [w]indow mode |
|
||||||
| \<leader>v | Enter [v]enn mode |
|
| \<leader>v | Enter [v]enn mode |
|
||||||
|
|
||||||
#### Window mode
|
#### Window mode
|
||||||
|
|
|
@ -16,4 +16,4 @@ vim.keymap.set(
|
||||||
|
|
||||||
vim.opt.expandtab = true -- Use spaces for the tab char
|
vim.opt.expandtab = true -- Use spaces for the tab char
|
||||||
|
|
||||||
require("my.abbreviations.fp")
|
require("my.abbreviations.fp").setup()
|
||||||
|
|
|
@ -10,6 +10,9 @@ function M.setup()
|
||||||
vim.opt.list = true -- Show some invisible characters
|
vim.opt.list = true -- Show some invisible characters
|
||||||
vim.opt.cmdheight = 0 -- Hide command line when it's not getting used
|
vim.opt.cmdheight = 0 -- Hide command line when it's not getting used
|
||||||
|
|
||||||
|
-- tcqj are there by default, and "r" automatically continues comments on enter
|
||||||
|
vim.opt.formatoptions = "tcqjr"
|
||||||
|
|
||||||
-- Line numbers
|
-- Line numbers
|
||||||
vim.opt.number = true -- Show line numbers
|
vim.opt.number = true -- Show line numbers
|
||||||
vim.opt.relativenumber = true -- Relative line numbers
|
vim.opt.relativenumber = true -- Relative line numbers
|
||||||
|
@ -25,12 +28,11 @@ function M.setup()
|
||||||
vim.opt.ignorecase = true -- Ignore case
|
vim.opt.ignorecase = true -- Ignore case
|
||||||
vim.opt.smartcase = true -- Do not ignore case with capitals
|
vim.opt.smartcase = true -- Do not ignore case with capitals
|
||||||
|
|
||||||
|
|
||||||
vim.opt.splitbelow = true -- Put new windows below current
|
vim.opt.splitbelow = true -- Put new windows below current
|
||||||
vim.opt.splitright = true -- Put new windows right of current
|
vim.opt.splitright = true -- Put new windows right of current
|
||||||
|
|
||||||
vim.opt.wrap = false -- Disable line wrap (by default)
|
vim.opt.wrap = false -- Disable line wrap (by default)
|
||||||
vim.opt.wildmode = { 'list', 'longest' } -- Command-line completion mode
|
vim.opt.wildmode = { "list", "longest" } -- Command-line completion mode
|
||||||
vim.opt.completeopt = { "menu", "menuone", "noselect" }
|
vim.opt.completeopt = { "menu", "menuone", "noselect" }
|
||||||
|
|
||||||
-- Set leader
|
-- Set leader
|
||||||
|
|
|
@ -55,8 +55,6 @@ function M.config()
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-w>", "<Nop>")
|
|
||||||
|
|
||||||
Hydra({
|
Hydra({
|
||||||
name = "Windows",
|
name = "Windows",
|
||||||
hint = window_hint,
|
hint = window_hint,
|
||||||
|
@ -68,7 +66,7 @@ function M.config()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mode = "n",
|
mode = "n",
|
||||||
body = "<C-w>",
|
body = "<C-S-w>",
|
||||||
heads = {
|
heads = {
|
||||||
{ "h", "<C-w>h" },
|
{ "h", "<C-w>h" },
|
||||||
{ "j", "<C-w>j" },
|
{ "j", "<C-w>j" },
|
||||||
|
|
|
@ -130,6 +130,11 @@ in
|
||||||
|
|
||||||
"Google".metaData.alias = "@g";
|
"Google".metaData.alias = "@g";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
# Required for figma to be able to export to svg
|
||||||
|
"dom.events.asyncClipboard.clipboardItem" = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
|
|
Loading…
Reference in a new issue