From: Jannik ZANDER Date: Tue, 3 May 2016 19:14:39 +0000 (+0200) Subject: Add more settings to .vimrc X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=04b4fb8fac7833952cfd9d19b604922e5e14d571;p=dotfiles.git Add more settings to .vimrc --- diff --git a/.vimrc b/.vimrc index 51747a2..58821e1 100644 --- a/.vimrc +++ b/.vimrc @@ -15,6 +15,7 @@ Plugin 'plasticboy/vim-markdown' Plugin 'mileszs/ack.vim' Plugin 'brandonbloom/csearch.vim' Plugin 'chazy/cscope_maps' +Plugin 'vim-scripts/taglist.vim' call vundle#end() " required filetype plugin indent on " required @@ -24,32 +25,37 @@ syntax enable " Regular setting "------------------------------------------------------------------------------ " -set backspace=eol,start,indent -set autoindent " auto indenting -set number " line numbers -set nobackup " get rid of anoying ~file +set backspace=2 +set autoindent +set nobackup set noswapfile set nowb set encoding=utf-8 set expandtab -set hid +set hidden set hlsearch set incsearch set ignorecase set smartcase set laststatus=2 set number -set mouse=a set ruler -set shiftwidth=4 +set mouse=a +set shiftwidth=2 +set softtabstop=2 +set expandtab set showcmd -set smartindent set showmatch -set tabstop=4 set visualbell t_vb= set modeline set modelines=1 set so=7 +set wildmenu +set showcmd +set nostartofline +set confirm +set cmdheight=2 +set notimeout ttimeout ttimeoutlen=4000 " For color "let g:solarized_termcolors=256 @@ -62,7 +68,13 @@ set tags+=tags; " For markdown let g:vim_markdown_folding_disabled = 1 -" For local settings overwrite +" For taglist +let Tlist_Compact_Format = 1 +let Tlist_GainFocus_On_ToggleOpen = 1 +let Tlist_Close_On_Select = 1 +nnoremap :TlistToggle + +" For local/private settings let $LOCALFILE=expand("~/.vimrc_local") if filereadable($LOCALFILE) source $LOCALFILE