Thursday, December 17, 2015

Re: Is there a way to display line numbers and relative line numbers as with two rulers?

On Thu, Dec 17, 2015 at 1:05 PM, Christian Brabandt <cblists@256bit.org> wrote:
On Do, 17 Dez 2015, Arun wrote:

> visual indication is a very acceptable trade off for me. I have two
> visual mode mappings in that regard:
>
>
>     :vnoremap <c-d> :d<cr> :vnoremap <c-y> :y<cr>

Well, you could simply press d or y in visual mode.


That would only delete/yank the visually selected area (which could be partial in first/last lines), though; my intent was to delete/yank the selected lines.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment