On 01/27/2011 12:53 PM, YoYo Siska wrote:
BTW, if
- vim has access to X (you run it on your local machine or from
ssh -X or something similar)
- is compiled with X support (check with vim --version | grep +X11)
- and you :set mouse=a
then you can paste by middle clicking in vim (not
On 1/28/2011 9:08 AM, Bill Longman wrote:
On 01/27/2011 12:53 PM, YoYo Siska wrote:
BTW, if
- vim has access to X (you run it on your local machine or from
ssh -X or something similar)
- is compiled with X support (check with vim --version | grep +X11)
- and you :set mouse=a
then you
On 01/27/2011 12:53 PM, YoYo Siska wrote:
BTW, if
- vim has access to X (you run it on your local machine or from
ssh -X or something similar)
- is compiled with X support (check with vim --version | grep +X11)
- and you :set mouse=a
then you can paste by middle clicking in vim (not
On 01/28/2011 12:03 PM, kashani wrote:
You might like one too.
cmap w!! w !sudo tee % /dev/null
When you forget to sudo vi you can use w!! which pipes writing the file
though sudo. You get some term gunk, but it does work.
That's what screen and PS1 are for
On Thu, Jan 27, 2011 at 11:07 AM, Mark Knecht markkne...@gmail.com wrote:
What is the solution to begin able to paste code I find on the web
into a file in vim and being able to keep the indentation from
changing?
For instance, here's the first few lines of code from a web page:
#define
On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote:
I solved it by creating a .vimrc file and putting
set pastetoggle=F2
Running :set paste will do the job as well if you don't want to assign
a hot key for it.
On Thu, Jan 27, 2011 at 9:28 PM, Mike Gilbert floppymas...@gmail.com wrote:
On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote:
I solved it by creating a .vimrc file and putting
set pastetoggle=F2
Running :set paste will do the job as well if you don't want to assign
a
On Thu, Jan 27, 2011 at 02:28:47PM -0500, Mike Gilbert wrote:
On Thu, Jan 27, 2011 at 2:22 PM, Mark Knecht markkne...@gmail.com wrote:
I solved it by creating a .vimrc file and putting
set pastetoggle=F2
Running :set paste will do the job as well if you don't want to assign
a hot key
Mark Knecht markknecht at gmail.com writes:
What is the solution to begin able to paste code I find on the web
into a file in vim and being able to keep the indentation from
changing?
Well, if you want to keep it simple, here is what I do:
edit /etc/vim/vimrc
set ai
9 matches
Mail list logo