VIM is the best. but I have to admit that to copy and paste from outside into vim or out of vim to something else is such a pain for me. I always have to set :set paste. I actually have to avoid using vim if I plan to do a lot of copy/paste from like a browser.
@DigitalMetal7 жыл бұрын
Yeah, the ":set paste" can be annoying. For a long time I had auto indent disabled because of it. But, KZbin commenters would complain that I didn't auto indent. I then set vim to use my system's clipboard so I could use "p" to paste, but I didn't like that. So I've been having to ":set paste" for a few weeks now. I really just need to take a few minutes and set a shortcut for it. Or really, I have set to adjust the indentation of the whole file when I press it, and I press it a lot. So really I could turn off auto indentation and just press every so often (Which I already do). Lots of options. Just need to figure out what I like best.
@DigitalMetal7 жыл бұрын
Yeah, just added this to my .vimrc file set pastetoggle= Now I can Press F3 to toggle back and forth
@sudobase17547 жыл бұрын
Thank you, I am using that too now. Can't believe I didn't think of this sooner. It has lead me to read my ~./vimrc and I had to relearn what it all does. I discovered the usage of my leader key again. :)
@sudobase17547 жыл бұрын
Btw, I have made a bash alias to open this cheat sheet if i type in vimh on my console. michael.peopleofhonoronly.com/vim/vim_cheat_sheet_for_programmers_print.png I could never remember how to split horizontally, but with this cheat sheet one command away I will have a quick way to reference the shortcut.