From af701ff931ac66deac67eb08837627a5e2295693 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Wed, 23 Aug 2017 12:35:42 +0200 Subject: [PATCH] font size, hostname test --- install.sh | 6 +++--- vim/init.vim | 9 ++++++++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 053e9c8..6e91037 100644 --- a/install.sh +++ b/install.sh @@ -44,8 +44,8 @@ touch ~/.fish.local echo 'set -x VIRTUAL_ENV_DISABLE_PROMPT 1' > ~/.config/fish/config.fish echo 'set -g theme_title_use_abbreviated_path no' >> ~/.config/fish/config.fish echo 'set -g fish_prompt_pwd_dir_length 0' >> ~/.config/fish/config.fish -if [ `hostname` != 'tuonela' ]; then - echo 'set -g theme_display_user yes' >> ~/.config/fish/config.fish -fi +#if [ `hostname` != 'tuonela' ]; then +# echo 'set -g theme_display_user yes' >> ~/.config/fish/config.fish +#fi echo 'source ~/.fish.local' >> ~/.config/fish/config.fish touch ~/.hushlogin diff --git a/vim/init.vim b/vim/init.vim index cb24b50..14221f3 100644 --- a/vim/init.vim +++ b/vim/init.vim @@ -46,10 +46,12 @@ au BufRead,BufNewFile *.pp filetype plugin indent on call plug#begin('~/.config/vim-plugins') +Plug 'mileszs/ack.vim' Plug 'godlygeek/tabular' Plug 'rodjek/vim-puppet' Plug 'ctrlpvim/ctrlp.vim' Plug 'tpope/vim-fugitive' +Plug 'scrooloose/nerdtree' Plug 'scrooloose/syntastic' Plug 'edkolev/tmuxline.vim' Plug 'itchyny/lightline.vim' @@ -68,9 +70,10 @@ if has("gui_running") set guioptions-=e set guioptions-=r set guioptions-=L - set guifont=Hack:h14 + set guifont=Hack:h13 endif +cnoreabbrev Ack Ack! let vim_markdown_preview_github=1 let g:syntastic_auto_jump = 1 let g:syntastic_enable_signs = 1 @@ -121,3 +124,7 @@ endfunction function! LightLineFugitive() return exists('*fugitive#head') ? fugitive#head() : '' endfunction + +if executable('ag') + let g:ackprg = 'ag --vimgrep' +endif