From 9fdc4166b531d9db6d9de7232939698acb326817 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Mon, 6 Oct 2025 23:03:46 +0200 Subject: [PATCH] nvim+qutebrowser tweaks --- nvim/init.lua | 9 +++------ qutebrowser/config.py | 1 + 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 1204425..6fcab72 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -49,7 +49,7 @@ vim.o.smartindent = false vim.opt.sessionoptions = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp", "folds" } -- Completion Window/Popup settings -vim.o.completeopt = "menu,menuone,popup,fuzzy" +vim.o.completeopt = "menu,popup,preview" vim.o.pumblend = 10 vim.o.pumheight = 10 vim.o.winminwidth = 5 @@ -1229,10 +1229,6 @@ local function makespec_smartsplits() { "", function() require("smart-splits").resize_down() end, { desc = "Resize Window Down", remap = true } }, { "", function() require("smart-splits").resize_up() end, { desc = "Resize Window Up", remap = true } }, { "", function() require("smart-splits").resize_right() end, { desc = "Resize Window Right", remap = true } }, - { "h", function() require("smart-splits").swap_buf_left() end, { desc = "Swap Buffer Left", remap = true } }, - { "j", function() require("smart-splits").swap_buf_down() end, { desc = "Swap Buffer Down", remap = true } }, - { "k", function() require("smart-splits").swap_buf_up() end, { desc = "Swap Buffer Up", remap = true } }, - { "l", function() require("smart-splits").swap_buf_right() end, { desc = "Swap Buffer Right", remap = true } }, }, } end @@ -1417,7 +1413,8 @@ local function makespec_conform() cmd = { "ConformInfo" }, keys = { { "p", function() require("conform").format() end, silent = true, desc = "Autoformat" }, - { "lp", "e ~/.local/state/nvim/conform.log", desc = "Conform log" }, + { "lp", "ConformInfo", desc = "Conform log" }, + { "lP", "e ~/.local/state/nvim/conform.log", desc = "Conform log" }, }, opts = { formatters_by_ft = { diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 9b8e920..fc96c00 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -80,6 +80,7 @@ c.completion.web_history.max_items = 10000 c.completion.height = "100%" c.confirm_quit = ["multiple-tabs", "downloads"] c.content.javascript.clipboard = "ask" +c.content.local_content_can_access_remote_urls = True c.content.autoplay = False c.content.geolocation = False c.content.cache.size = 52428800