# Duplicate Line(s) Keyboard Shortcut

**URL:** <https://forum.obsidian.md/t/duplicate-line-s-keyboard-shortcut/1166>\
**Category:** Feature requests\
**Tags:** keyboard-shortcut\
**Created:** [June 4, 2020, 12:41am UTC](https://forum.obsidian.md/t/duplicate-line-s-keyboard-shortcut/1166 "2020-06-04T00:41:44Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![blue\_emperor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/9e8a1a/32.png) [@blue\_emperor](https://forum.obsidian.md/u/blue_emperor)\
**Post date:** [January 6, 2024, 12:43pm UTC](https://forum.obsidian.md/t/duplicate-line-s-keyboard-shortcut/1166/20 "2024-01-06T12:43:32Z")

</div>

Yes but the fundamental difference in Obsidian is that `Readable line length`‑setting is either on or off and Obsidian doesn’t offer any feature to toggle this setting easily on the fly. Line duplication editing action makes most sense in case of `Readable line length`‑setting is turned off.

Related feature requests about `Readable line length`—note that some of them might be duplicate feature requests @CawlinTeffid :

> [@Display tables at full length while keeping the rest at readable line length](https://forum.obsidian.md/t/display-tables-at-full-length-while-keeping-the-rest-at-readable-line-length/26458):
>
> Use case or problem I’m always frustrated when I go to look at a dataview table and everything is scrunched because of readable line width, because I have to go turn off readable line width, which doesn’t have a toggle, plus sometimes my dataview tables are in files that have text that I would like to still be a readable line width. Proposed solution It would be cool if themes could automatically made tables go beyond the max width, for example: We discussed it in [css themes](https://discord.com/channels/686053708261228577/702656734631821413/904460117297229845) in Dis…

> [@"Readable line length" in Markdown preview only](https://forum.obsidian.md/t/readable-line-length-in-markdown-preview-only/6850):
>
> Feature request Make it possible to toggle “readable line length” for the editor and markdown preview independently. I have readable line length on in previews as this reads more pleasantly, but my workflow when writing content is different. When writing, I find that sticking to [one sentence per line has many benefits](https://nick.groenen.me/notes/one-sentence-per-line/), but these are partially lost with forced linewrapping. Workaround With “Readable line length” enabled, I’ve found that the following CSS will return the editor to full width: …

> [@Shortcut and/or button to toggle readable line length](https://forum.obsidian.md/t/shortcut-and-or-button-to-toggle-readable-line-length/4933):
>
> I sometimes add pages with wide tables that are best viewed with “readable line length” disabled. It would be useful if I didn’t have to go to settings to toggle it.

[https://forum.obsidian.md/t/hotkey-for-toggling-readable-line-lenght/9441](https://forum.obsidian.md/t/hotkey-for-toggling-readable-line-lenght/9441)  
[https://forum.obsidian.md/t/enable-readable-line-length-in-markdown-preview-mode-but-not-in-editing-mode/25224](https://forum.obsidian.md/t/enable-readable-line-length-in-markdown-preview-mode-but-not-in-editing-mode/25224)

> [@Readable line length on a per-file basis](https://forum.obsidian.md/t/readable-line-length-on-a-per-file-basis/30447):
>
> Could we get a toggle for readable line length on a per file basis? I have a few files containing dataview tables which I would prefer to have in full while keeping all my other notes to readable line length, could this be made a per file toggle? Cheers!

> [@Live preview: Better treatment of code blocks. Code Wrap, Horizontal Scroll and Smart Indent](https://forum.obsidian.md/t/live-preview-better-treatment-of-code-blocks-code-wrap-horizontal-scroll-and-smart-indent/33718):
>
> The problems If you write anything more than hello world code in obsidian, it wraps the code and completely destroys readability. Well let me just write this code down for future reference so i can understand what it does and quickly get back to coding… Oh well… This is not even that big of a codeblock, it looks big because its all wrapped up. By far the biggest problem. I’m assuming im not the only one who is bothered by this seeing how techsavvy a lot of the obsidian audience is…

[https://forum.obsidian.md/t/configuration-by-each-file-based-on-frontmatter-header/10701](https://forum.obsidian.md/t/configuration-by-each-file-based-on-frontmatter-header/10701)

---

_[View the full topic](https://forum.obsidian.md/t/duplicate-line-s-keyboard-shortcut/1166)._
