search

Home  >  Q&A  >  body text

macos - How to remove the number bar on the left when copying Vim for Mac

As shown in the picture, when copying, always copy the number column on the left =.=

某草草某草草2774 days ago620

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-05-16 16:41:36

    Cancel line number:

    set :nu!
    

    Show line number:

    :set nu
    

    http://vim.wikia.com/wiki/Display_line_numbers

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-16 16:41:36

    You can copy content directly to the system clipboard

    {Visual}"*y

    reply
    0
  • Cancelreply