diff --git a/vimrc b/vimrc index da57f91..9e2420f 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,5 @@ set rtp+=~/.vim/bundle/vundle/ " Vundle -call vundle#rc() " +call vundle#rc() " "" "" Bundles @@ -7,7 +7,7 @@ call vundle#rc() Bundle "gmarik/vundle" Bundle "kien/ctrlp.vim" -Bundle "townk/vim-autoclose" +Bundle "townk/vim-autoclose" Bundle "laktek/distraction-free-writing-vim" Bundle "tpope/vim-fugitive" Bundle 'jnwhiteh/vim-golang' @@ -33,7 +33,7 @@ let g:lightline = { \"active": { \ "left": [[ "mode", "paste" ], ["fugitive", "filename", "readonly", "ctrlpmark"]], \ "right": [ ["syntastic", "lineinfo"], ["percent"], ["fileformat", "fileencoding", "filetype"]] - \ }, + \ }, \"component": { \"readonly": '%{&filetype=="help"?"":&readonly?"⭤":""}', \"modified": '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}' @@ -105,6 +105,7 @@ set spell spelllang=it set nospell " ...solo quando serve set nocompatible " Disabilita la compatibilità con vi +set backspace=2 " Fix per il DEL nel terminale set hidden " Nasconde i buffers set history=1000 " Aumenta la cronologia set incsearch " Ricerca incrementale @@ -264,7 +265,7 @@ function ToggleColorScheme() set background=dark let g:lightline.colorscheme = "solarized_dark" endif - hi NonText guifg=bg + hi NonText guifg=bg call lightline#init() call lightline#colorscheme() call lightline#update()