aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin/fortune.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-23 03:34:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-23 03:34:10 +1200
commit7c3e4f500ea537cedccafd430dac4cf018d5ecf3 (patch)
tree1fdd4a3082fb38d7ba052015c155b016f42e651b /vim/plugin/fortune.vim
parentFix a couple of small comment typos (diff)
downloaddotfiles-7c3e4f500ea537cedccafd430dac4cf018d5ecf3.tar.gz
dotfiles-7c3e4f500ea537cedccafd430dac4cf018d5ecf3.zip
Remove :Fortunate call from startup
The novelty has already worn off.
Diffstat (limited to 'vim/plugin/fortune.vim')
-rw-r--r--vim/plugin/fortune.vim17
1 files changed, 0 insertions, 17 deletions
diff --git a/vim/plugin/fortune.vim b/vim/plugin/fortune.vim
index b1c4955f..efc03467 100644
--- a/vim/plugin/fortune.vim
+++ b/vim/plugin/fortune.vim
@@ -1,21 +1,4 @@
command! -bar Fortune
\ call fortune#()
-
nnoremap <silent> <Plug>(Fortune)
\ :<C-U>Fortune<CR>
-
-function! s:FortuneVimEnter() abort
- if !argc() && line2byte('$') == -1
- try
- Fortune
- catch
- " Do nothing
- endtry
- endif
-endfunction
-
-augroup fortune
- autocmd!
- autocmd VimEnter *
- \ call s:FortuneVimEnter()
-augroup END