Skip to content

Commit 7f9ca3b

Browse files
committed
add lazyredraw, update few mappings
1 parent 9055722 commit 7f9ca3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

vimrc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ set splitright
140140

141141
set nrformats-=octal
142142

143+
set lazyredraw
144+
143145
"highlight word under cursor
144146
"autocmd CursorMoved * silent! exe printf("match Search /\\<%s\\>/", expand('<cword>'))
145147

@@ -208,8 +210,8 @@ nnoremap ; :
208210
vnoremap < <gv
209211
vnoremap > >gv
210212
211-
nnoremap j gj
212-
nnoremap k gk
213+
nnoremap <silent> j gj
214+
nnoremap <silent> k gk
213215
214216
" Change Working Directory to that of the current file
215217
cmap cwd lcd %:p:h

0 commit comments

Comments
 (0)