Adding some vim tweaking

This commit is contained in:
Gerardo J. Puerta 2022-09-06 16:37:44 -05:00
parent a57f5c48ff
commit 8c09866610
2 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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