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
gnome.gedit
xfce.thunar
nomacs
feh
zbar
zathura

View file

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