Advertisement
arkanon

/usr/share/vim/gvimrc

May 9th, 2013
934
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 1.11 KB | None | 0 0
  1. " /usr/share/vim/gvimrc
  2.  
  3. " Arkanon <arkanon@lsd.org.br>
  4. " 2009/09/29 (Ter) 21:51:57 (BRS)
  5.  
  6. " removes all menus in all modes
  7.  aunmenu *
  8.  
  9.  let no_buffers_menu=1  " disables the buffer menu must be done before ':syntax on'
  10.  set guioptions-=m  " get rid of the menu bar:
  11.  set ch=1       " make command line one line high
  12.  
  13. " set the X11 font to use
  14. "
  15. " Problems, because gtk2 uses xft and antialiasing. So, many fonts can't be used anymore.
  16. "
  17. " http://www.iol.ie/~padraiga/docs/gvim/gvim.html
  18. "
  19. "set guifont=8x13       " don't run with gtk2
  20. "set guifont=linux8x16      " don't run with gtk2
  21.  set guifont=Monospace\ 10
  22. "set guifont=Courier\ 14
  23. "set guifont=Times\ 12
  24. "set guifont=MiscFixed\ 11
  25.  
  26. "" External Editor Extension for Firefox
  27. "
  28. "" Does the same:
  29. "
  30. "command thunderbird :source ~/.gvimrc.tb
  31. "
  32. "au BufReadPost * if b:current_syntax == "mail"
  33. "au BufReadPost *    set enc=utf-8
  34. "au BufReadPost *    set  tw=72
  35. "au BufReadPost * endif
  36. "
  37.  au Syntax mail set enc=utf-8
  38.  au Syntax mail set  tw=72
  39. "
  40. "" This should run, but don't do it:
  41. "
  42. "if &syntax == "mail"
  43. "   set enc=utf-8
  44. "   set  tw=72
  45. "endif
  46.  
  47. " EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement