Hacker News new | comments | show | ask | jobs | submit login

> nnoremap ; : > I don’t remap : back to ; because it seems to break a bunch of plugins.

That sounds like another good trick. But then how do you jump to your next f,F,t? I find myself frequently typeing "f=" to find "=" and then hitting ";" to jump through all the "=" in that line and reach the one I want.




When people overwrite things that are basic like that they usually don't have an alternative. They overwrite them, because it doesn't fit their common usage pattern.

But, for example, I use ',' as my <Leader>. So that I can still use ',', I also map ',,' back to ',' functionality:

  let mapleader = ","
  let maplocalleader = ","
  nnoremap <leader>, :normal ,<CR>:<CR>


repmo.vim[0] lets you repeat movements with semicolon as well. I only use two vim plugins, and this is one of them.

[0]: http://vim.sourceforge.net/scripts/script.php?script_id=2174




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: