diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:17:40 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-10 16:17:40 +1200 |
commit | fdefd64d385474d725acc65a2fb4e039d35b9787 (patch) | |
tree | 87590aaffd8f28c77d36239a7fb0465ef602b4c6 | |
parent | Merge branch 'release/v5.33.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-fdefd64d385474d725acc65a2fb4e039d35b9787.tar.gz dotfiles-fdefd64d385474d725acc65a2fb4e039d35b9787.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-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 @@ -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) |