From: Jannik ZANDER Date: Wed, 4 May 2016 12:40:03 +0000 (+0200) Subject: Use consolas font in windows X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=f5b10a31457b87ce79d055b96cab4fdf0db33357;p=dotfiles.git Use consolas font in windows --- diff --git a/.minttyrc b/.minttyrc index 207d40b..7e80038 100644 --- a/.minttyrc +++ b/.minttyrc @@ -1,8 +1,11 @@ +BoldAsFont=no +RightClickAction=paste +Font=Consolas +FontHeight=11 Term=xterm-256color +BoldAsColour=no Charset=UTF-8 Locale= en_US -FontHeight=10 -BoldAsFont=no Black= 7, 54, 66 BoldBlack= 0, 43, 54 diff --git a/.vimrc b/.vimrc index d48ba74..6e07231 100644 --- a/.vimrc +++ b/.vimrc @@ -16,6 +16,7 @@ Plugin 'mileszs/ack.vim' Plugin 'brandonbloom/csearch.vim' Plugin 'chazy/cscope_maps' Plugin 'vim-scripts/taglist.vim' +Plugin 'airblade/vim-gitgutter' call vundle#end() " required filetype plugin indent on " required @@ -60,10 +61,20 @@ set ttimeoutlen=4000 set tags+=tags; " For color -"let g:solarized_termcolors=256 +let g:solarized_menu=0 colorscheme solarized set background=dark +if has("gui_running") + if has("gui_gtk2") + set guifont=Inconsolata\ 12 + elseif has("gui_macvim") + set guifont=Menlo\ Regular:h14 + elseif has("gui_win32") + set guifont=Consolas:h11 + endif +endif + " For markdown let g:vim_markdown_folding_disabled = 1 @@ -73,6 +84,10 @@ let Tlist_GainFocus_On_ToggleOpen = 1 let Tlist_Close_On_Select = 1 nnoremap :TlistToggle +" Easy escape +inoremap jj +inoremap j j + " For local/private settings let $LOCALFILE=expand("$HOME/.vimrc_local") if filereadable($LOCALFILE) diff --git a/bat/caps2ctrl.reg b/bat/caps2ctrl.reg new file mode 100644 index 0000000..80776b6 --- /dev/null +++ b/bat/caps2ctrl.reg @@ -0,0 +1,3 @@ +Windows Registry Editor Version 5.00 +[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] +"Scancode Map"=hex:00,00,00,00,00,00,00,00,04,00,00,00,1d,00,3a,00,01,00,29,00,29,00,01,00,00,00,00,00 \ No newline at end of file