Skip to content

Commit

Permalink
Add 'nojoinspaces'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marton Gunyho committed Aug 27, 2019
1 parent 1d7ced5 commit 02c6998
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@ set wildmenu
set foldopen-=search " do not open folds if there's a match inside them
set cursorline " highglight the line on which the cursor is atm.
set lazyredraw " redraw screen only when macro has finished, increases execution speed
set nojoinspaces " don't produce two spaces on 'J' when a line ends with a period
set autochdir " automatically set working directory to path of open file.
" actually cd to the current file (the above is only applied upon changing file)
cd %:p:h

" turn off rnu when in insert mode
au FocusLost * :set nornu
au FocusLost * :set nornu
au FocusGained * :set rnu "TODO: fix the delay on this...
autocmd InsertEnter * :set nornu
autocmd InsertLeave * :set rnu
autocmd InsertLeave * :set rnu


""""""""""""
Expand Down

0 comments on commit 02c6998

Please sign in to comment.