Fork me on GitHub

when in visual mode, i want to delete a section of selected text, so i press d. this ends up deleting the whole line. Is that the correct behavior? if so what is the command to just remove the highlighted text


i looked at like 3 resources and assume im not understanding the terminology.


hm ok i restarted emacs and its working


@drewverlee I have been using x to cut a selected region with visual mode, v. Is there a difference between d and x when removing a region selected in visual mode? I guess a region is treated as both a line and a character by each keybinding respectively