aboutsummaryrefslogtreecommitdiff
path: root/autocommands.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-03-30 23:32:11 +0800
committerjdhao <jdhao@hotmail.com>2020-03-30 23:32:11 +0800
commit1b97735bf2bff38d9b052ca645bd389d82976a57 (patch)
tree457f9461a40bb60c5c9ddd360f852fc1a83e6a79 /autocommands.vim
parent823e09f5b6bd0736299d5d66ee0e736cf77d7b29 (diff)
chore: remove short url and replace with true url
Diffstat (limited to 'autocommands.vim')
-rw-r--r--autocommands.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/autocommands.vim b/autocommands.vim
index f0ec3ec..ef86138 100644
--- a/autocommands.vim
+++ b/autocommands.vim
@@ -1,5 +1,5 @@
"{ Auto commands
-" Do not use smart case in command line mode, extracted from https://goo.gl/vCTYdK.
+" Do not use smart case in command line mode, extracted from https://vi.stackexchange.com/a/16511/15292.
augroup dynamic_smartcase
autocmd!
autocmd CmdLineEnter : set nosmartcase
@@ -41,7 +41,8 @@ augroup END
" Automatically reload the file if it is changed outside of Nvim, see
" https://unix.stackexchange.com/a/383044/221410. It seems that `checktime`
" command does not work in command line. We need to check if we are in command
-" line before executing this command. See also http://tinyurl.com/y6av4sy9.
+" line before executing this command. See also
+" https://vi.stackexchange.com/a/20397/15292.
augroup auto_read
autocmd!
autocmd FocusGained,BufEnter,CursorHold,CursorHoldI *