-
-
Save morsdyce/8e1dff96a3909410d83e to your computer and use it in GitHub Desktop.
Vim Hebrew edit mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment