From: Samir Benmendil Date: Wed, 14 Oct 2015 23:21:35 +0000 (+0100) Subject: Merge branch 'master' of rmz.io:dotfiles X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/72653b2c0e0ee1b2c2a4126a2582efd6dc52d523?hp=638014253e8e4a38a61dfc9b05d3b3a2c1d8eb9a Merge branch 'master' of rmz.io:dotfiles --- diff --git a/vim/ftplugin/vim.vim b/vim/ftplugin/vim.vim index 88ab686..24dd22c 100644 --- a/vim/ftplugin/vim.vim +++ b/vim/ftplugin/vim.vim @@ -1,2 +1 @@ -nnoremap K yiw:h " -vnoremap K y:h " +setlocal keywordprg=:help diff --git a/zsh/lib/motd.zsh b/zsh/lib/motd.zsh index 066a96d..dca1fa2 100644 --- a/zsh/lib/motd.zsh +++ b/zsh/lib/motd.zsh @@ -13,3 +13,4 @@ msg() short "[count][\"x]gr{motion}" 'Replace {motion} text with the contents of register x.' short ":Cd" "lcd %:h" short ":Cr" "goto git root or home" +short "gn" "Like \`n\`, but start Visual mode to select the match. If an operator is pending, operates on the match."