Fork me on GitHub
#spacemacs
<
2018-08-27
>
Drew Verlee17:08:36

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

Drew Verlee17:08:41

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

Drew Verlee18:08:12

hm ok i restarted emacs and its working

practicalli-johnny20:08:19

@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