|
|
|
|
|
by weaksauce
5245 days ago
|
|
you can always map <leader>y to yank line except for end. Mapping the leader to , and it's even nicer. then all you need to do is ,y and you get the line in fragment mode. nnoremap <leader>y 0y$ or if you want just first non whitespace char you could do an uppercase y for the leader command. swap the upper and lower to make it how you want. seems like this would be a more useful command to have: nnoremap <leader>Y ^y$ edit: saw that you found a workaround by pasting in insert mode. ctrl-r" any other ways to paste in insert mode? |
|