aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:01:55 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-28 22:01:55 +1300
commitfd7d1e2364484abb328af830d6877e0cc8bae963 (patch)
tree5fb228b95dcd774535efee799fb376423abd19d2 /vim/vimrc
parentMove command .vimrc config into subfile (diff)
downloaddotfiles-fd7d1e2364484abb328af830d6877e0cc8bae963.tar.gz
dotfiles-fd7d1e2364484abb328af830d6877e0cc8bae963.zip
Move wrapping .vimrc config into subfile
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc16
1 files changed, 0 insertions, 16 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 38ecabf1..adc4518b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -117,22 +117,6 @@ endif
" case of the character under the cursor
set tildeop
-" When wrapping text, if a line is so long that not all of it can be shown on
-" the screen, show as much as possible anyway; by default Vim fills the left
-" column with @ symbols instead, which I don't find very helpful
-set display=lastline
-
-" Don't wrap by default, but use \w to toggle it on or off quickly
-set nowrap
-nnoremap <leader>w :set wrap!<CR>
-
-" When wrapping, j and k should move by screen row, and not to the same
-" column number in the previous logical line, which feels very clumsy and is
-" seldom particularly helpful; you can use n| to jump to the nth column in a
-" line anyway if you need to
-nnoremap j gj
-nnoremap k gk
-
" I really like ZZ and ZQ, so I wrote a couple more mappings; ZW forces a
" write of the current buffer, but doesn't quit, and ZA forces a write of all
" buffers but doesn't quit