From 70cccf0e6aad241b5afe60bbceed122bcc3c96e2 Mon Sep 17 00:00:00 2001 From: aprzn Date: Sat, 9 Sep 2023 14:53:44 -0400 Subject: [PATCH] goyo and one keybind --- configs/nvim/lua/bindings.lua | 1 + configs/nvim/lua/packages.lua | 1 + configs/nvim/plugin/packer_compiled.lua | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configs/nvim/lua/bindings.lua b/configs/nvim/lua/bindings.lua index 05f72f8..3b5a762 100644 --- a/configs/nvim/lua/bindings.lua +++ b/configs/nvim/lua/bindings.lua @@ -13,6 +13,7 @@ map('n', '', '(coc-rename)', opts) -- rename map('n', '', 'TagbarToggle', opts) -- show ctags vim.keymap.set('n', 'zR', require('ufo').openAllFolds) -- ufo vim.keymap.set('n', 'zM', require('ufo').closeAllFolds) -- ufo +vim.keymap.set('t', '', '') -- close term vim.keymap.set('n', '', function() vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * 0.9 end) diff --git a/configs/nvim/lua/packages.lua b/configs/nvim/lua/packages.lua index 6548474..6ed8cde 100644 --- a/configs/nvim/lua/packages.lua +++ b/configs/nvim/lua/packages.lua @@ -46,6 +46,7 @@ require('packer').startup(function(use) use 'tpope/vim-surround' -- surround text with brackets use {'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async'} -- better folding use 'tpope/vim-fugitive' -- git + use 'junegunn/goyo.vim' -- focus mode use 'ryanoasis/vim-devicons' -- icons for NERDTree (must be loaded last) end) diff --git a/configs/nvim/plugin/packer_compiled.lua b/configs/nvim/plugin/packer_compiled.lua index f72c344..ded6853 100644 --- a/configs/nvim/plugin/packer_compiled.lua +++ b/configs/nvim/plugin/packer_compiled.lua @@ -90,7 +90,7 @@ _G.packer_plugins = { url = "https://github.com/fruit-in/brainfuck-vim" }, ["cargo.nvim"] = { - config = { "\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ncargo\frequire\0" }, + config = { "\27LJ\2\0023\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ncargo\frequire\0" }, loaded = true, path = "/home/aprzn/.local/share/nvim/site/pack/packer/start/cargo.nvim", url = "https://github.com/ModProg/cargo.nvim" @@ -260,7 +260,7 @@ _G.packer_plugins = { time([[Defining packer_plugins]], false) -- Config for: cargo.nvim time([[Config for cargo.nvim]], true) -try_loadstring("\27LJ\2\n3\0\0\3\0\3\0\0066\0\0\0'\2\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ncargo\frequire\0", "config", "cargo.nvim") +try_loadstring("\27LJ\2\0023\0\0\2\0\3\0\0066\0\0\0'\1\1\0B\0\2\0029\0\2\0B\0\1\1K\0\1\0\nsetup\ncargo\frequire\0", "config", "cargo.nvim") time([[Config for cargo.nvim]], false) _G._packer.inside_compile = false