aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-07-16 14:16:16 +0200
committerAdrian Kummerlaender2018-07-16 14:16:16 +0200
commit30150da8ce5f0cb50a1ea65357584002835d690b (patch)
tree08e5c551f638515f53cf1c99906a041e2912885c
parent7776e329779cf7f1ad4d9528302d8914a37c7dd9 (diff)
downloadnixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar.gz
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar.bz2
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar.lz
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar.xz
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.tar.zst
nixos_home-30150da8ce5f0cb50a1ea65357584002835d690b.zip
Check for file change on focus
-rw-r--r--gui/vim.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/vim.nix b/gui/vim.nix
index 31a626a..76912e6 100644
--- a/gui/vim.nix
+++ b/gui/vim.nix
@@ -20,6 +20,8 @@
file.".config/nvim/ginit.vim".text = ''
set title
Guifont! Iosevka:h10
+
+ autocmd FocusGained * :checktime
'';
};