aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-10 16:17:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-10 16:17:40 +1200
commitfdefd64d385474d725acc65a2fb4e039d35b9787 (patch)
tree87590aaffd8f28c77d36239a7fb0465ef602b4c6
parentMerge branch 'release/v5.33.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-5.33.1.tar.gz (sig)
dotfiles-5.33.1.zip
Merge branch 'hotfix/v5.33.1'v5.33.1
* hotfix/v5.33.1: Add bang to :command declaration so they redefine
-rw-r--r--VERSION4
-rw-r--r--vim/vimrc4
2 files changed, 4 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 5afa83f8..c704a320 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v5.33.0
-Mon Jun 10 04:15:43 UTC 2019
+tejr dotfiles v5.33.1
+Mon Jun 10 04:17:28 UTC 2019
diff --git a/vim/vimrc b/vim/vimrc
index dfa6c7ce..ce3d3d7d 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -1173,7 +1173,7 @@ xnoremap <Leader>C
\ :<C-U>setlocal cursorcolumn! cursorcolumn?<CR>gv
" Print an RFC2822-compliant date string
-command PutDate
+command! PutDate
\ put =strftime('%a, %d %b %Y %T %z')
" Set up a quick command-function pair to run a command with the UTC timezone,
@@ -1189,7 +1189,7 @@ function! s:UTC(command) abort
let tz = expand('$TZ')
let $TZ = 'UTC' | execute a:command | let $TZ = tz
endfunction
-command -complete=command -nargs=1 UTC
+command! -complete=command -nargs=1 UTC
\ call s:UTC(<q-args>)
" Leader,d inserts the local date (RFC 2822)