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