goyo and one keybind

main
aprzn 1 year ago
parent 4201a2fa3c
commit 70cccf0e6a

@ -13,6 +13,7 @@ map('n', '<F2>', '<Plug>(coc-rename)', opts) -- rename
map('n', '<F8>', '<Cmd>TagbarToggle<cr>', opts) -- show ctags map('n', '<F8>', '<Cmd>TagbarToggle<cr>', opts) -- show ctags
vim.keymap.set('n', 'zR', require('ufo').openAllFolds) -- ufo vim.keymap.set('n', 'zR', require('ufo').openAllFolds) -- ufo
vim.keymap.set('n', 'zM', require('ufo').closeAllFolds) -- ufo vim.keymap.set('n', 'zM', require('ufo').closeAllFolds) -- ufo
vim.keymap.set('t', '<c-d><c-d>', '<c-\\><c-n>') -- close term
vim.keymap.set('n', '<c-->', function() vim.keymap.set('n', '<c-->', function()
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * 0.9 vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * 0.9
end) end)

@ -46,6 +46,7 @@ require('packer').startup(function(use)
use 'tpope/vim-surround' -- surround text with brackets use 'tpope/vim-surround' -- surround text with brackets
use {'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async'} -- better folding use {'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async'} -- better folding
use 'tpope/vim-fugitive' -- git use 'tpope/vim-fugitive' -- git
use 'junegunn/goyo.vim' -- focus mode
use 'ryanoasis/vim-devicons' -- icons for NERDTree (must be loaded last) use 'ryanoasis/vim-devicons' -- icons for NERDTree (must be loaded last)
end) end)

@ -90,7 +90,7 @@ _G.packer_plugins = {
url = "https://github.com/fruit-in/brainfuck-vim" url = "https://github.com/fruit-in/brainfuck-vim"
}, },
["cargo.nvim"] = { ["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, loaded = true,
path = "/home/aprzn/.local/share/nvim/site/pack/packer/start/cargo.nvim", path = "/home/aprzn/.local/share/nvim/site/pack/packer/start/cargo.nvim",
url = "https://github.com/ModProg/cargo.nvim" url = "https://github.com/ModProg/cargo.nvim"
@ -260,7 +260,7 @@ _G.packer_plugins = {
time([[Defining packer_plugins]], false) time([[Defining packer_plugins]], false)
-- Config for: cargo.nvim -- Config for: cargo.nvim
time([[Config for cargo.nvim]], true) 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) time([[Config for cargo.nvim]], false)
_G._packer.inside_compile = false _G._packer.inside_compile = false

Loading…
Cancel
Save