git://git.iain.cx/iain
/
profile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6b65d
)
Correctly use of nnoremap.
author
Iain Patterson
<me@iain.cx>
Thu, 23 Jan 2014 15:23:44 +0000
(15:23 +0000)
committer
Iain Patterson
<me@iain.cx>
Thu, 23 Jan 2014 15:25:14 +0000
(15:25 +0000)
Some mappings which are only appropriate in normal mode were incorrectly
using noremap instead of the more appropriate nnoremap.
.vimrc
patch
|
blob
|
history
diff --git
a/.vimrc
b/.vimrc
index
0bb5efb
..
65e88b3
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-76,12
+76,12
@@
inoremap <C-b> <C-p>
inoremap <C-l> <C-n><C-p>
" Swap jump keys.
-noremap ' `
-noremap ` '
+n
n
oremap ' `
+n
n
oremap ` '
" Select previous widnow.
-noremap <C-w>^ <C-w>p
-noremap <C-w><C-^> <C-w>p
+n
n
oremap <C-w>^ <C-w>p
+n
n
oremap <C-w><C-^> <C-w>p
"}}}1
" Find stuff.