You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing using packer no default keymaps are present
Neovim version
NVIM v0.6.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include Compiled by runner@fv-az87-780 Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim" Run :checkhealth for more info
Operating system and version
Ubuntu 20.04
Steps to reproduce
fn = vim.fn
local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
if fn.empty(fn.glob(install_path)) > 0 then
packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
end
return require('packer').startup({function(use)
-- Packer can manage it self
use 'wbthomason/packer.nvim'
use {
'lewis6991/gitsigns.nvim',
requires = {
'nvim-lua/plenary.nvim'
},
config = require('gitsigns').setup()
}
---- Automatically set up your configuration after cloning packer.nvim
-- Put this at the end after all plugins
if packer_bootstrap then
require('packer').sync()
end
end,
config = {
display = {
open_fn = function()
return require('packer.util').float({ border = 'single' })
end
}
}
}
)
Expected behavior
,hp should show hunk preview, but is not mapped
Actual behavior
what ever happens when you press ,hp and it isn't mapped
Gitsigns debug messages
No response
Minimal config
fn=vim.fnlocalinstall_path=fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'iffn.empty(fn.glob(install_path)) >0thenpacker_bootstrap=fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
endreturnrequire('packer').startup({function(use)
-- Packer can manage it selfuse'wbthomason/packer.nvim'use {
'lewis6991/gitsigns.nvim',
requires= {
'nvim-lua/plenary.nvim'
},
config=require('gitsigns').setup()
}
---- Automatically set up your configuration after cloning packer.nvim-- Put this at the end after all pluginsifpacker_bootstrapthenrequire('packer').sync()
endend,
config= {
display= {
open_fn=function()
returnrequire('packer.util').float({ border='single' })
end
}
}
}
)
The text was updated successfully, but these errors were encountered:
I ran into this too; I think this plugin now wants you to explicitly configure the keymaps yourself. The README shows a recommended config; following that and adding it to my configuration brought back the once-automatically-configured keybindings.
Description
When installing using packer no default keymaps are present
Neovim version
NVIM v0.6.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3 Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include Compiled by runner@fv-az87-780 Features: +acl +iconv +tui See ":help feature-compile" system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: " /home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim" Run :checkhealth for more info
Operating system and version
Ubuntu 20.04
Steps to reproduce
Expected behavior
,hp should show hunk preview, but is not mapped
Actual behavior
what ever happens when you press ,hp and it isn't mapped
Gitsigns debug messages
No response
Minimal config
The text was updated successfully, but these errors were encountered: