diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-10-26 14:39:57 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-10-26 14:39:57 +0200 |
commit | 162b459c492c6e2524c0ce61558b02ed7986d0b0 (patch) | |
tree | ac3db55769d990045f47cc3da222d40c775d21b2 /vimrc | |
parent | c3cbe2ecd90b69fa4222bd87bb234259e6e71015 (diff) | |
download | vimrc-162b459c492c6e2524c0ce61558b02ed7986d0b0.tar.gz vimrc-162b459c492c6e2524c0ce61558b02ed7986d0b0.tar.bz2 vimrc-162b459c492c6e2524c0ce61558b02ed7986d0b0.zip |
Make arrows move up/down by visual line.
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -28,5 +28,9 @@ autocmd BufWritePre * :%s/\s\+$//e " press esc to cancel search noremap <silent> <Esc> :nohlsearch<Bar>:echo<CR> +" Arrow keys move visually up/down. +noremap <up> gk +noremap <down> gj + " toggle nerdtree with ctrl-o map <C-o> :NERDTreeToggle<CR> |