ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Copy Filepath With Line Numbers

by theskyliner ST2/ST3

Copy filepath of current file with number of selected line(s)

Details

Installs

  • Total 5K
  • Win 3K
  • OS X 1K
  • Linux 706
Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6
Windows 0 0 0 0 1 1 1 1 0 2 1 0 0 0 0 1 0 0 0 1 0 1 0 0 2 2 0 0 1 0 1 1 0 0 0 1 0 3 1 0 1 2 0 0 1 0
OS X 0 1 0 1 0 0 0 1 0 0 2 1 0 1 0 2 1 2 0 1 0 0 1 0 0 0 0 1 2 0 1 1 0 2 0 2 0 0 2 0 0 0 0 2 2 1
Linux 0 1 0 0 0 0 1 1 2 1 0 0 1 0 1 1 0 1 0 0 0 0 2 1 0 0 0 0 1 0 0 1 1 0 1 1 0 2 1 0 0 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text - Copy Filepath With Line Numbers

Copy filepath of current file with number of selected line(s)

Tested on - Windows - Linux

Tested with - Sublime Text 3

Usage

Select one or more line(s), right-click and choose “Copy Filepath With Line Numbers” to copy filepath. Your filepath will be copied to clipboard in the following form:

/home/readme.md:3
/home/readme.md:3-10

Select one or more line(s), right-click and choose “Copy Reference” to copy relative filepath with lines. Your filepath will be copied to clipboard in the following form:

subfolder/readme.md:3
subfolder/readme.md:3-10

License

All of Sublime Terminal is licensed under the GPL2 license.

Copyright © 2014 Nick Böcker (email : info@nick-hat-boecker.de)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Suport

You want to buy me some chocolate milk? Feel free to: https://www.paypal.me/nickHatBoecker