Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v:last_reg global variable as feature request #12003 #12063

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

cero1988
Copy link
Contributor

added global variable v:last_reg with the latested putted register as feature request #12003

@codecov
Copy link

codecov bot commented Feb 25, 2023

Codecov Report

Merging #12063 (327024c) into master (99ad3a8) will decrease coverage by 9.11%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master   #12063       /-   ##
==========================================
- Coverage   81.90%   72.79%   -9.11%     
==========================================
  Files         164      160       -4     
  Lines      194037   189683    -4354     
  Branches    43852    43245     -607     
==========================================
- Hits       158922   138081   -20841     
- Misses      22279    39333    17054     
  Partials    12836    12269     -567     
Flag Coverage Δ
huge-clang-none ?
huge-gcc-none 52.64% <0.00%> (-0.60%) ⬇️
huge-gcc-testgui ?
huge-gcc-unittests ?
linux 52.64% <0.00%> (-29.69%) ⬇️
mingw-x64-HUGE 76.49% <0.00%> (-0.01%) ⬇️
mingw-x86-HUGE 76.95% <0.00%> ( <0.01%) ⬆️
windows 78.08% <0.00%> ( <0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/evalvars.c 80.84% <0.00%> (-10.55%) ⬇️
src/register.c 73.98% <ø> (-10.87%) ⬇️
src/os_unix.c 0.00% <0.00%> (-66.83%) ⬇️
src/hardcopy.c 12.00% <0.00%> (-65.11%) ⬇️
src/xdiff/xpatience.c 17.24% <0.00%> (-64.75%) ⬇️
src/if_tcl.c 20.51% <0.00%> (-61.13%) ⬇️
src/if_cscope.c 12.31% <0.00%> (-56.33%) ⬇️
src/gui_gtk_x11.c 0.00% <0.00%> (-51.84%) ⬇️
src/if_ruby.c 39.56% <0.00%> (-43.91%) ⬇️
src/term.c 34.70% <0.00%> (-39.40%) ⬇️
... and 139 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@brammool
Copy link
Contributor

We should have a more generic mechanism for commands previously executed. The operator used is also relevant. Making a list of them will also be useful.

I sometimes type something different from what I intended, it would then be good to be able to see what happened, the last few commands executed. At least for changes, possibly also for other commands. E.g. if you wonder why a window was closed.

@cero1988
Copy link
Contributor Author

cero1988 commented Feb 27, 2023

you mean like :history, but with the operators commands used ?

@brammool
Copy link
Contributor

brammool commented Feb 27, 2023 via email

@cero1988
Copy link
Contributor Author

cero1988 commented Mar 5, 2023

I could create a new history like :history nvcmd with all the last normal mode command used, for the non printable keys i could translate the more commonly used like the Arrow keys in text

@yegappan yegappan added this to the backlog milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants