diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-01-25 09:41:58 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-01-25 09:41:58 +1300 |
commit | be030398128a7a4655f2e79e50d4d0187684342b (patch) | |
tree | addcd88cee9c4860911d0f642ff038821a6b9124 /vim/vimrc | |
parent | Adjust layouts a bit (diff) | |
download | dotfiles-be030398128a7a4655f2e79e50d4d0187684342b.tar.gz dotfiles-be030398128a7a4655f2e79e50d4d0187684342b.zip |
Some fixes from @tpope's simple.vim
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -78,6 +78,7 @@ cnoremap <C-A> <Home> cnoremap <C-E> <End> " Completion +set complete-=[i inoremap <C-F> <C-X><C-F> inoremap <C-]> <C-X><C-]> @@ -119,21 +120,22 @@ nnoremap <leader>l :setlocal list!<CR> " Matching silent! runtime macros/matchit.vim -" Netrw -if has("eval") - let g:netrw_silent = 1 - let g:netrw_liststyle = 3 -endif - " Messages set shortmess+=I " Miscellaneous set backspace=indent,eol,start set modelines=0 +set nrformats-=octal set report=0 set shellslash +" Netrw +if has("eval") + let g:netrw_silent = 1 + let g:netrw_liststyle = 3 +endif + " Numbers set nonumber nnoremap <leader>n :setlocal number!<CR> @@ -255,6 +257,7 @@ if has("windows") endif " Wrapping +set display+=lastline set nowrap nnoremap j gj nnoremap k gk |