vi ~/.vimrc
syntax on
colorscheme default
if only temporally:
:syntax on
vi ~/.vimrc
syntax on
colorscheme default
if only temporally:
:syntax on
"ayy
this will store the line in buffer a
"ap
this will put the contents of buffer a
at the cursor
There are many variations on this
"a5yy
this will store the 5 lines in buffer a
yy
will yank the current line without deleting it
dd
will delete the current line
p
will ‘put’ a line grabbed by either of the previous methods
OR just YP
or Yp
or yyp
Copy and paste 10 lines:
y10yp