]> git.phdru.name Git - dotfiles.git/commitdiff
.vimrc: Rename Xbit to ToggleXbit
authorOleg Broytman <phd@phdru.name>
Mon, 26 Mar 2018 04:00:44 +0000 (07:00 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 26 Mar 2018 04:00:44 +0000 (07:00 +0300)
.vimrc

diff --git a/.vimrc b/.vimrc
index bb97edbbe8e9e16a6bea41408283798516eede09..1620a5d40ad0b78cd52e498f9a6807d38dbfce5e 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -603,7 +603,7 @@ if executable('chmod')
       checktime
       execute "au! FileChangedShell " . fname
    endfunction
-   command! Xbit if executable(expand("%:p")) | call SetExecutableBit(0) | else | call SetExecutableBit(1) | endif
+   command! ToggleXbit if executable(expand("%:p")) | call SetExecutableBit(0) | else | call SetExecutableBit(1) | endif
 endif