vim: Fix Reload command
This commit is contained in:
parent
55756e4ae7
commit
97a3e5f6e4
|
@ -144,6 +144,8 @@ in
|
|||
|
||||
# misc
|
||||
gnome.gedit
|
||||
xfce.thunar
|
||||
nomacs
|
||||
feh
|
||||
zbar
|
||||
zathura
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue