61 lines
1.9 KiB
Plaintext
61 lines
1.9 KiB
Plaintext
" vi: set ft=vim :
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
" Copyright 2020 Ramon Fischer "
|
|
" "
|
|
" Licensed under the Apache License, Version 2.0 (the "License"); "
|
|
" you may not use this file except in compliance with the License. "
|
|
" You may obtain a copy of the License at "
|
|
" "
|
|
" http://www.apache.org/licenses/LICENSE-2.0 "
|
|
" "
|
|
" Unless required by applicable law or agreed to in writing, software "
|
|
" distributed under the License is distributed on an "AS IS" BASIS, "
|
|
" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. "
|
|
" See the License for the specific language governing permissions and "
|
|
" limitations under the License. "
|
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
|
|
|
" custom - 20200617 - rfischer: set miscellaneous settings
|
|
" application settings
|
|
"" save cursor position; the file "~/.apvlvinfo" will be created
|
|
set noinfo = no
|
|
|
|
"" select a word on double-click
|
|
set doubleclick = page
|
|
|
|
"" do not start with the table of contents
|
|
set content = no
|
|
|
|
"" enable continuous scrolling
|
|
set continuous = yes
|
|
"" enable padding for continuous scrolling
|
|
set continuouspad = yes
|
|
|
|
"" set the default zoom level to "160%"
|
|
set zoom = 1.6
|
|
|
|
" keyboard settings
|
|
"" open link
|
|
map l <C-]>
|
|
|
|
"" go to next page
|
|
map n <C-f>
|
|
"" go to previous page
|
|
map p <C-b>
|
|
|
|
"" zoom in
|
|
map z zi
|
|
"" zoom out
|
|
map Z zo
|
|
|
|
"" fit content to window width
|
|
map w zw
|
|
"" fit content to window height
|
|
map h zh
|
|
|
|
" use "spacebar" to search
|
|
map <Space> /
|
|
|
|
" print file
|
|
map <C-p> :print<CR>
|