From 9e6e4d18238e3e054c35c0d321114fff328f64b6 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 17:57:31 +1200 Subject: Restore my French --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 0ca2ae13..99f27c32 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -658,7 +658,7 @@ else endif " 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 -- cgit v1.2.3 From e73a606abaa5afd67403062c4a1988c0cdc3ad75 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:00:54 +1200 Subject: Correct a comment describing PutDate() --- vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/vimrc b/vim/vimrc index 99f27c32..130affe8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1169,7 +1169,7 @@ nnoremap C xnoremap C \ :setlocal cursorcolumn! cursorcolumn?gv -" Print an RFC2822-compliant date string +" Insert an RFC2822-compliant date string into the buffer command! PutDate \ put =strftime('%a, %d %b %Y %T %z') -- cgit v1.2.3 From 0355815659818753a778ddc837337dcc59d30427 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:03:28 +1200 Subject: Edit :PutDate command to support a range --- vim/vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 130affe8..d044ff74 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1170,8 +1170,8 @@ xnoremap C \ :setlocal cursorcolumn! cursorcolumn?gv " Insert an RFC2822-compliant date string into the buffer -command! PutDate - \ put =strftime('%a, %d %b %Y %T %z') +command! -range PutDate + \ 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 -- cgit v1.2.3 From d3272c5615223b94db408ada882f23555f61d55a Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:09:59 +1200 Subject: Set a Unicode-friendly font on Windows --- vim/gvimrc | 5 +++++ 1 file changed, 5 insertions(+) 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 +endif + " Reset GUI options set guioptions= set guioptions+=a " Use the system GUI clipboard -- cgit v1.2.3 From c4d94aa277fa9526c25bf8446a06e74c87a3751b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 10 Jun 2019 18:10:23 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 2ea79f43..595c4acf 100644 --- a/VERSION +++ b/VERSION @@ -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 -- cgit v1.2.3