18 lines
556 B
VimL
18 lines
556 B
VimL
" ==================================================
|
|
" Right-to-Left (Hebrew etc) shortcuts
|
|
" ==================================================
|
|
|
|
" toggle direction mapping
|
|
" this is useful for logical-order editing
|
|
map <F9> :set invrl<CR>
|
|
" do it when in insert mode as well (and return to insert mode)
|
|
imap <F9> <Esc>:set invrl<CR>a
|
|
|
|
" toggle reverse insertion
|
|
" this is useful for visual-order editing
|
|
map <F8> :set invrevins<CR>
|
|
" do it when in insert mode as well (and return to insert mode)
|
|
imap <F8> <Esc>:set invrevins<CR>a
|
|
|
|
" vim:set et sw=2:
|