Skip to content

Instantly share code, notes, and snippets.

@elentok
Created July 28, 2012 14:14
Show Gist options
  • Save elentok/3193556 to your computer and use it in GitHub Desktop.
Save elentok/3193556 to your computer and use it in GitHub Desktop.
Writing hebrew in Vim
imap <f2> <c-o>:call ToggleHebrew()<cr>
map <f2> :call ToggleHebrew()<cr>
func! ToggleHebrew()
if &rl
set norl
set keymap=
else
set rl
set keymap=hebrew
end
endfunc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment