diff options
authorTom Ryder <tom@sanctum.geek.nz>2019-06-10 18:10:23 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-10 18:10:23 +1200
commitf4a26d28e26d5ec4de07781196acce6ccab2784b (patch)
parentMerge branch 'hotfix/v5.34.1' (diff)
parentBump VERSION (diff)
downloaddotfiles-5.35.0.tar.gz (sig)
Merge branch 'release/v5.35.0'v5.35.0
* release/v5.35.0: Set a Unicode-friendly font on Windows Edit :PutDate command to support a range Correct a comment describing PutDate() Restore my French
3 files changed, 11 insertions, 6 deletions
diff --git a/VERSION b/VERSION
index 2ea79f43..595c4acf 100644
@@ -1,2 +1,2 @@
-tejr dotfiles v5.34.1
-Mon Jun 10 05:28:24 UTC 2019
+tejr dotfiles v5.35.0
+Mon Jun 10 06:10:23 UTC 2019
diff --git a/vim/gvimrc b/vim/gvimrc
index 72063a3d..ccccc20e 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc
@@ -1,3 +1,8 @@
+" On Windows, use a nicer font that supports Unicode
+if has('win32') || has('win64')
+ set guifont=Consolas:h10
" Reset GUI options
set guioptions=
set guioptions+=a " Use the system GUI clipboard
diff --git a/vim/vimrc b/vim/vimrc
index 0ca2ae13..d044ff74 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -658,7 +658,7 @@ else
" Don't let your editor's options be configured by content in arbitrary files!
-" Down with modelines! Purge them from your files!
+" Down with modelines! Purge them from your files! Écrasez l'infâme!
" I think that modelines are Vim's worst misfeature, and that 'nomodeline'
" should be the default. It's enabled pretty bad security vulnerabilities
@@ -1169,9 +1169,9 @@ nnoremap <Leader>C
xnoremap <Leader>C
\ :<C-U>setlocal cursorcolumn! cursorcolumn?<CR>gv
-" Print an RFC2822-compliant date string
-command! PutDate
- \ put =strftime('%a, %d %b %Y %T %z')
+" Insert an RFC2822-compliant date string into the buffer
+command! -range PutDate
+ \ <line1>put =strftime('%a, %d %b %Y %T %z')
" Set up a quick command-function pair to run a command with the UTC timezone,
" in this case, for my date-printing mappings. Is there a nicer way to do