Skip to content

Commit bdf94c2

Browse files
author
Masafumi Yokoyama
committed
nmap <Leader><Leader> <C-w>w
1 parent 3ac5ccc commit bdf94c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leader.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ let mapleader = "\<Space>"
33
" バッファに変更点があるときのみ書き込みを行う。
44
noremap <Leader>w :update<CR>
55
6-
nmap <Leader><Leader> V
6+
nmap <Leader><Leader> <C-w>w
77
88
" 0(ゼロ)レジスタで同じ文字列を何度も貼り付ける
99
"" y でヤンクした文字列をいろんな場所に貼り付けるということはよくあると思います。普通にいろんな場所に p で貼り付ければいいのですが、困るのが途中で編集をして関係ない文字列を削除してしまった時。せっかくヤンクした文字列が上書きされてしまって貼り付けられなくなってしまった。

0 commit comments

Comments
 (0)