vmail 1.8.1 → 1.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/vmail.vim +2 -2
- data/lib/vmail/helpers.rb +1 -1
- data/lib/vmail/imap_client.rb +1 -1
- data/lib/vmail/version.rb +1 -1
- metadata +1 -1
data/lib/vmail.vim
CHANGED
@@ -134,7 +134,7 @@ function! s:show_previous_message()
|
|
134
134
|
call s:focus_list_window()
|
135
135
|
end
|
136
136
|
normal k
|
137
|
-
if line('.') !=
|
137
|
+
if line('.') != line('$')
|
138
138
|
call s:show_message(1)
|
139
139
|
endif
|
140
140
|
normal zz
|
@@ -227,11 +227,11 @@ function! s:update()
|
|
227
227
|
let lines = split(res, '\n')
|
228
228
|
if len(lines) > 0
|
229
229
|
setlocal modifiable
|
230
|
-
normal gg
|
231
230
|
call append(0, lines)
|
232
231
|
setlocal nomodifiable
|
233
232
|
write!
|
234
233
|
let num = len(lines)
|
234
|
+
call cursor(num, 0)
|
235
235
|
redraw
|
236
236
|
echom "You have " . num . " new message" . (num == 1 ? '' : 's') . "!"
|
237
237
|
else
|
data/lib/vmail/helpers.rb
CHANGED
data/lib/vmail/imap_client.rb
CHANGED
data/lib/vmail/version.rb
CHANGED