Adding some vim tweaking
This commit is contained in:
parent
a57f5c48ff
commit
8c09866610
@ -78,6 +78,7 @@ then
|
|||||||
echo "Installing vim configuration ..."
|
echo "Installing vim configuration ..."
|
||||||
rm -rf ~/.vimrc
|
rm -rf ~/.vimrc
|
||||||
mkdir -p ~/.vim/bundle
|
mkdir -p ~/.vim/bundle
|
||||||
|
mkdir -p ~/.vimundo
|
||||||
if [[ ! -d ~/.vim/bundle/Vundle.vim ]]
|
if [[ ! -d ~/.vim/bundle/Vundle.vim ]]
|
||||||
then
|
then
|
||||||
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||||
|
17
vim/vimrc
17
vim/vimrc
@ -19,7 +19,7 @@ Plugin 'jnurmine/Zenburn'
|
|||||||
Plugin 'altercation/vim-colors-solarized'
|
Plugin 'altercation/vim-colors-solarized'
|
||||||
Plugin 'kien/ctrlp.vim'
|
Plugin 'kien/ctrlp.vim'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
|
Plugin 'itchyny/lightline.vim'
|
||||||
" add all your plugins here (note older versions of Vundle
|
" add all your plugins here (note older versions of Vundle
|
||||||
" used Bundle instead of Plugin)
|
" used Bundle instead of Plugin)
|
||||||
|
|
||||||
@ -97,3 +97,18 @@ call togglebg#map("<F5>")
|
|||||||
|
|
||||||
" Line numbers
|
" Line numbers
|
||||||
set nu
|
set nu
|
||||||
|
|
||||||
|
" Needed for lightline
|
||||||
|
set laststatus=2
|
||||||
|
|
||||||
|
" Draw a margin in the 81th column
|
||||||
|
set colorcolumn=81
|
||||||
|
|
||||||
|
" Use vim settings rather than vi settings
|
||||||
|
set nocompatible
|
||||||
|
|
||||||
|
" Persistent undo
|
||||||
|
set undodir=~/.vimundo
|
||||||
|
set undofile
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user