File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -620,14 +620,14 @@ endfunction
620
620
" }}}
621
621
" ChangeDirectoryToGrepRoot {{{
622
622
function ! s: ChangeDirectoryToGrepRoot ()
623
- if g: EasyGrepRoot != " cwd"
623
+ if g: EasyGrepRoot != " cwd" && ! s: IsCommandVimgrep ()
624
624
exe " lcd " .s: GetGrepRoot ()
625
625
endif
626
626
endfunction
627
627
" }}}
628
628
" ChangeDirectoryToPrevious {{{
629
629
function ! s: ChangeDirectoryToPrevious ()
630
- if g: EasyGrepRoot != " cwd"
630
+ if g: EasyGrepRoot != " cwd" && ! s: IsCommandVimgrep ()
631
631
lcd -
632
632
endif
633
633
endfunction
@@ -2416,9 +2416,6 @@ function! s:ReplaceUndo()
2416
2416
execute " ll " .(cc + 1 )
2417
2417
endif
2418
2418
2419
- " TODO: increase the granularity of the undo to be per-atom
2420
- " TODO: check that replacement is at off
2421
-
2422
2419
let thisLine = getline (" ." )
2423
2420
let linebeg = strpart (thisLine, 0 , off )
2424
2421
let lineend = strpart (thisLine, off )
You can’t perform that action at this time.
0 commit comments