From 6e2995c930f09fb5ec976fbaff639fa764e6681d Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 1 Feb 2022 18:48:55 +0100 Subject: [PATCH] vim: toggle paste with F20 I have F20 mapped to the P key in the function layer on my Moonlander keyboard. --- nvim/.config/nvim/lua/fs/options.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/nvim/.config/nvim/lua/fs/options.lua b/nvim/.config/nvim/lua/fs/options.lua index 6ec970e..55d089a 100644 --- a/nvim/.config/nvim/lua/fs/options.lua +++ b/nvim/.config/nvim/lua/fs/options.lua @@ -16,6 +16,7 @@ set_options { lazyredraw = true, -- don't redraw screen during macros modelines = 0, -- never use modelines fileformats = 'unix,mac,dos', -- prioritize unix format + pastetoggle = '', -- toggle paste with P on Moonlander swapfile = false, -- don't use swap files writebackup = true, -- Make a backup before writing a file...