This can be super simple stuff but i am not able to figure it out, i have to mappings in my config file
nnoremap gh ^ nnoremap gl g_
These mappings work just fine and behave as expected when i use them in normal mode, but as soon as i combine them with yank command like
ygl to yank the text from cursor to last non-white space character and same way
ygh to first non-white space character, it simply does not work.
Am i missing something here ?