Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneharper committed Oct 13, 2023
1 parent 3fffb95 commit c22c7cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ call plug#end()
let s:run_PluginInstall=0
if !filereadable(expand('~/.vim/bundle/vundle/README.md'))
echo "Installing Vundle."
echo ""
if has("win32")
execute "!mkdir" $HOME."\\.vim\\bundle"
execute "!git clone https://github.com/gmarik/vundle" $HOME."\\.vim\\bundle\\vundle"
Expand Down Expand Up @@ -338,13 +337,14 @@ endfunction

set cpoptions+=n " wrapped text can appear in the line number column
set numberwidth=2
" XXX only set relativenumber while in normal mode?
set lazyredraw

" xxx only set relativenumber while in normal mode?
autocmd BufWinEnter,WinEnter * setlocal relativenumber
autocmd WinLeave * setlocal norelativenumber
function LessInitFunc() " called by $VIMRUNTIME/macros/less.vim
set norelativenumber
endfunc
set lazyredraw

" Ctrl-L: fix last spelling mistake (http://stackoverflow.com/questions/5312235/how-to-correct-vim-spelling-mistakes-quicker)
inoremap <c-l> <c-g>u<Esc>[s1z=`]a<c-g>u
Expand Down

0 comments on commit c22c7cc

Please sign in to comment.