vim: Fix Reload command

This commit is contained in:
Geoffrey Frogeye 2024-01-20 19:04:06 +01:00
parent 55756e4ae7
commit 97a3e5f6e4
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 4 additions and 4 deletions

View file

@ -144,6 +144,8 @@ in
# misc # misc
gnome.gedit gnome.gedit
xfce.thunar
nomacs
feh feh
zbar zbar
zathura zathura

View file

@ -104,8 +104,6 @@
" Avoid showing message extra message when using completion " Avoid showing message extra message when using completion
set shortmess+=c set shortmess+=c
command Reload source $MYVIMRC
" PLUGINS " PLUGINS
'' + lib.optionalString config.programs.pandoc.enable '' '' + lib.optionalString config.programs.pandoc.enable ''
" vim-pandox " vim-pandox
@ -120,8 +118,8 @@
]; ];
userCommands = { userCommands = {
# Reload = { command = "source $MYVIRMC"; }; Reload = { command = "source ${config.xdg.configHome}/nvim/init.lua"; force = false; };
# TODO Is not working, options is set to nil even though it shouldn't # 24.05 force=false was for https://github.com/nix-community/nixvim/issues/954
}; };
keymaps = [ keymaps = [