Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'd be really interested in hearing how you got the swipe left/right commands to map to buffer management in MacVim.


He linked to his vimrc on github from the article. The binding is done in this block:

  if has("gui_macvim") "Use Experimental Renderer option must be enabled for transparencY
    set transparency=15
    set guifont=Monaco:h10
    set noantialias " I like my Monaco this way ;D
    " Swipe to move between bufers :D
    map <SwipeLeft> :bprev<CR>
    map <SwipeRight> :bnext<CR>
  endif


Ah, I missed that- thanks!


It's been a lifesaver. I usually have 20 buffers open and swiping between them makes editing a lot quicker.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: