Permalink
Browse files

gui fix for linux

  • Loading branch information...
1 parent 6e2e68e commit 6399088d169b1672b3a6b024e902853ddb48d7c0 locojaydev committed Dec 11, 2012
Showing with 9 additions and 4 deletions.
  1. +9 −4 vimrc
View
13 vimrc
@@ -27,7 +27,11 @@ if has('gui_running')
" colorscheme jellybeans_locojay
colorscheme badwolf
"set guifont=Monaco:h12
- set guifont=PragmataPro:h15
+ if has("gui_gtk2")
+ set guifont=PragmataPro\ 15
+ else
+ set guifont=PragmataPro:h15
+ endif
set guioptions=egmrt
set guioptions-=T
winpos 0 0
@@ -40,7 +44,8 @@ elseif $TERM == "xterm-256color" || $TERM == "screen-256color"
"colorscheme jellybeans
" colorscheme jellybeans_locojay
colorscheme badwolf
- "set guifont=PragmataPro:h15
+ "set guifont=Monaco:h12
+ set guifont=PragmataPro:h15
set lazyredraw
endif
" }}}
@@ -227,8 +232,8 @@ noremap <silent> <leader>lo :lopen<CR>
"Some more-------------------------------------------------- {{{
-nmap <silent> <Leader>ev :vsplit $HOME/.vimrc<CR>
-nmap <silent> <Leader>sv :so $HOME/.vimrc<CR>
+nmap <silent> <Leader>ev :vsplit $HOME/.dotfiles/vim/vimrc<CR>
+nmap <silent> <Leader>sv :so $HOME/.dotfiles/vim/vimrc<CR>
" When pressing <leader>cd switch to the directory of the open buffer
map <silent><Leader>cd :cd %:p:h<CR>

0 comments on commit 6399088

Please sign in to comment.