diff options
author | watiko <service@mail.watiko.net> | 2016-02-11 16:42:20 +0900 |
---|---|---|
committer | watiko <service@mail.watiko.net> | 2016-02-11 16:45:08 +0900 |
commit | 8eb0d43c12dc5342b329aaabf1ab7c9cae691bc5 (patch) | |
tree | 113f6f094090f5afc84aedeb1c7afd05903f4f4c /src/nvim/normal.c | |
parent | 66571f64a46cba1fd54710fd7f59672cd21e2523 (diff) | |
download | rneovim-8eb0d43c12dc5342b329aaabf1ab7c9cae691bc5.tar.gz rneovim-8eb0d43c12dc5342b329aaabf1ab7c9cae691bc5.tar.bz2 rneovim-8eb0d43c12dc5342b329aaabf1ab7c9cae691bc5.zip |
vim-patch:7.4.883
Problem: Block-mode replace works characterwise instead of blockwise after
column 147. (Issue #422)
Solution: Set Visual mode. (Christian Brabandt)
https://github.com/vim/vim/commit/10ad1d90da8c464e1bf08bf23d92d4888378a8a1
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index d4b78b1a79..6d079f967e 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -7797,9 +7797,7 @@ static void get_op_vcol( return; } - if (VIsual_active) { - oap->motion_type = MBLOCK; - } + oap->motion_type = MBLOCK; // prevent from moving onto a trail byte if (has_mbyte) { |