Created
February 28, 2012 13:19
-
-
Save bouzuya/1932520 to your computer and use it in GitHub Desktop.
nnoremap <expr> p col('.') !=# 1 ? 'p' : 'P'
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
nnoremap <expr> p col('.') == 1 ? 'P' : 'p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment