diff --git a/dotfiles/neovim/README.md b/dotfiles/neovim/README.md index b388a2f..c77520a 100644 --- a/dotfiles/neovim/README.md +++ b/dotfiles/neovim/README.md @@ -164,7 +164,7 @@ Idris keybinds live in the `I` namespace. | Keybind | Description | | ---------- | ------------------- | -| C-w | Enter [w]indow mode | +| C-W | Enter [w]indow mode | | \v | Enter [v]enn mode | #### Window mode diff --git a/dotfiles/neovim/ftplugin/purescript.lua b/dotfiles/neovim/ftplugin/purescript.lua index 5d9cba8..407fadc 100644 --- a/dotfiles/neovim/ftplugin/purescript.lua +++ b/dotfiles/neovim/ftplugin/purescript.lua @@ -16,4 +16,4 @@ vim.keymap.set( vim.opt.expandtab = true -- Use spaces for the tab char -require("my.abbreviations.fp") +require("my.abbreviations.fp").setup() diff --git a/dotfiles/neovim/lua/my/options.lua b/dotfiles/neovim/lua/my/options.lua index 82c9c77..bb121f3 100644 --- a/dotfiles/neovim/lua/my/options.lua +++ b/dotfiles/neovim/lua/my/options.lua @@ -10,6 +10,9 @@ function M.setup() vim.opt.list = true -- Show some invisible characters 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 vim.opt.number = true -- Show line numbers vim.opt.relativenumber = true -- Relative line numbers @@ -25,12 +28,11 @@ function M.setup() vim.opt.ignorecase = true -- Ignore case vim.opt.smartcase = true -- Do not ignore case with capitals - vim.opt.splitbelow = true -- Put new windows below current vim.opt.splitright = true -- Put new windows right of current 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" } -- Set leader diff --git a/dotfiles/neovim/lua/my/plugins/hydra.lua b/dotfiles/neovim/lua/my/plugins/hydra.lua index 6e310d8..f327ace 100644 --- a/dotfiles/neovim/lua/my/plugins/hydra.lua +++ b/dotfiles/neovim/lua/my/plugins/hydra.lua @@ -55,8 +55,6 @@ function M.config() }, }) - vim.keymap.set("n", "", "") - Hydra({ name = "Windows", hint = window_hint, @@ -68,7 +66,7 @@ function M.config() }, }, mode = "n", - body = "", + body = "", heads = { { "h", "h" }, { "j", "j" }, diff --git a/home/adrielus/features/desktop/common/firefox.nix b/home/adrielus/features/desktop/common/firefox.nix index 87aaafd..910461b 100644 --- a/home/adrielus/features/desktop/common/firefox.nix +++ b/home/adrielus/features/desktop/common/firefox.nix @@ -130,6 +130,11 @@ in "Google".metaData.alias = "@g"; }; + + settings = { + # Required for figma to be able to export to svg + "dom.events.asyncClipboard.clipboardItem" = true; + }; }; apps = {