vim: path和working directory

path设置的目的是为了查找文件,比如说你使用gf指令打不开文件时,就得看看path是否设置正确了

:help path

//查看path
:set path?

// 检查头文件加载情况
:checkpath!

//添加path
:set path+=/sdsd/sdsd

//添加相对路径,注意要以.开头,否则无效
:set path+=./../core

默认的path包含:

  • 当前文件路径,用dot.表示
  • 当前的工作路径,用两个逗号,,表示

working directory

working directory不同于path。path表示查找文件的路径,working directory表示vim的工作路径,往往是打开vim的当前路径。在新建文件,或者打开文件时,会在working directory下操作。

working directory会被默认加到path中,即,, 用两个逗号表示

//查看working directory
:pwd


//设置工作目录
:cd %:h      //跳转到当前文件目录
:lcd %:h     //仅改变当前窗口的目录为当前文件目录
:cd -        //跳转到前一个目录

//自动设置当前文件路径为working directory
set acd     //设置自动跳转到文件路径

:help autochdir
:help :cd


《 “vim: path和working directory” 》 有 206 条评论

  1. top 10 pharmacies in india: indian pharmacy paypal – India Pharm Global

  2. India Pharm Global: India Pharm Global – India Pharm Global

  3. vipps canadian pharmacy Canada Pharm Global safe canadian pharmacy

  4. Online medicine order: Online medicine home delivery – online pharmacy india

  5. mail order pharmacy india: India Pharm Global – India Pharm Global

  6. indian pharmacy Online medicine order India Pharm Global

  7. http://medsfrommexico.com/# best mexican online pharmacies

  8. India Pharm Global: pharmacy website india – India Pharm Global

  9. cheap canadian pharmacy online: canadian world pharmacy – canadian pharmacy world reviews

  10. canadian pharmacy price checker certified canadian pharmacy canadian pharmacy online reviews

  11. https://medsfrommexico.shop/# buying from online mexican pharmacy

  12. https://medsfrommexico.com/# mexican online pharmacies prescription drugs

  13. buying from online mexican pharmacy: best online pharmacies in mexico – mexico drug stores pharmacies

  14. canadian pharmacy prices: Canada Pharm Global – canadian pharmacy 24h com safe

  15. п»їbest mexican online pharmacies Meds From Mexico Meds From Mexico

  16. canadian pharmacy checker: canadian compounding pharmacy – buying from canadian pharmacies

  17. mexican rx online: medication from mexico pharmacy – Meds From Mexico

  18. drugs from canada canadian pharmacy king reviews legitimate canadian pharmacy online

  19. mexico pharmacies prescription drugs: Meds From Mexico – Meds From Mexico

  20. legit canadian pharmacy: canadian drugstore online – pharmacy wholesalers canada

  21. Meds From Mexico Meds From Mexico buying prescription drugs in mexico online

  22. best online pharmacy india: top 10 online pharmacy in india – indian pharmacy online

  23. India Pharm Global: India Pharm Global – india pharmacy

  24. https://canadapharmglobal.shop/# best canadian pharmacy to buy from

  25. mexico pharmacies prescription drugs mexico pharmacies prescription drugs Meds From Mexico

  26. mexican rx online: mexico pharmacies prescription drugs – mexico pharmacies prescription drugs

  27. buying prescription drugs in mexico: medication from mexico pharmacy – Meds From Mexico

  28. п»їBuy Lipitor without prescription USA LipiPharm antidote for atorvastatin

  29. PredniPharm: prednisone 1 tablet – generic over the counter prednisone

  30. pros and cons of crestor: CrestorPharm – CrestorPharm

  31. No doctor visit required statins Crestor Pharm does crestor cause dementia

  32. Cheap Lipitor 10mg / 20mg / 40mg: LipiPharm – LipiPharm

  33. https://semaglupharm.com/# Where to buy Semaglutide legally

  34. PredniPharm prednisone capsules buy prednisone online without a prescription

  35. LipiPharm: LipiPharm – can you take berberine with lipitor

  36. LipiPharm: Lipi Pharm – is lipitor dangerous

  37. Predni Pharm PredniPharm PredniPharm

  38. Online statin therapy without RX: CrestorPharm – CrestorPharm

  39. http://semaglupharm.com/# semaglutide not refrigerated

  40. Predni Pharm: prednisone buying – prednisone 20mg for sale

  41. prednisone 1 mg daily how to get prednisone tablets PredniPharm

  42. cost of prednisone 40 mg: PredniPharm – prednisone without prescription

  43. Crestor mail order USA: Crestor Pharm – Safe online pharmacy for Crestor

  44. prednisone price australia PredniPharm PredniPharm

  45. Lipi Pharm: Atorvastatin online pharmacy – LipiPharm

  46. Semaglutide tablets without prescription: Rybelsus for blood sugar control – п»їBuy Rybelsus online USA

  47. PredniPharm PredniPharm can you buy prednisone over the counter in mexico

  48. prednisone over the counter cost: Predni Pharm – PredniPharm

  49. rosuvastatin efectos secundarios: Crestor mail order USA – No doctor visit required statins

  50. CrestorPharm Crestor mail order USA Crestor Pharm

  51. LipiPharm: Safe atorvastatin purchase without RX – what tier is atorvastatin 40 mg

  52. Best price for Crestor online USA: CrestorPharm – CrestorPharm

  53. atorvastatin icd 10 Lipi Pharm Affordable Lipitor alternatives USA

  54. Online statin therapy without RX: CrestorPharm – what is the controversy with crestor?

  55. PredniPharm: PredniPharm – PredniPharm

  56. rosuvastatin calcium 5 mg price Crestor Pharm Crestor Pharm

  57. Crestor Pharm: rosuvastatin and grapefruit – CrestorPharm

  58. https://semaglupharm.shop/# rybelsus how much does it cost

  59. CrestorPharm: Crestor Pharm – п»їBuy Crestor without prescription

  60. Semaglu Pharm Order Rybelsus discreetly SemagluPharm

  61. Semaglu Pharm: SemagluPharm – Semaglu Pharm

  62. http://semaglupharm.com/# what happens if you cut rybelsus in half

  63. п»їBuy Rybelsus online USA rybelsus 7 mg cost Rybelsus online pharmacy reviews

  64. Crestor Pharm: Crestor Pharm – atorvastatin to crestor conversion

  65. can you buy prednisone in canada: buy 10 mg prednisone – prednisone canada prescription

  66. compare prednisone prices: PredniPharm – prednisone 7.5 mg

  67. Rybelsus online pharmacy reviews: Semaglu Pharm – FDA-approved Rybelsus alternative

  68. Crestor Pharm Rosuvastatin tablets without doctor approval how many possible stereoisomers are there for crestor

  69. lipitor vs rosuvastatin: brand name for atorvastatin – Affordable Lipitor alternatives USA

  70. Where to buy Semaglutide legally: Semaglu Pharm – Affordable Rybelsus price

  71. SemagluPharm Rybelsus online pharmacy reviews switching from mounjaro to semaglutide

  72. Over-the-counter Crestor USA: Buy statins online discreet shipping – Crestor Pharm

  73. Lipi Pharm: atorvastatin and tylenol – lipitor generic and brand name

  74. SemagluPharm Semaglu Pharm puedo tomar rybelsus si no tengo diabetes

  75. https://semaglupharm.com/# Rybelsus side effects and dosage

  76. Predni Pharm: buy prednisone online usa – prednisone online for sale

  77. is ozempic semaglutide: what is a semaglutide injection – SemagluPharm

  78. rosuvastatin 5 mg: rosuvastatin calcium 40mg – CrestorPharm

  79. otc prednisone cream prednisone for sale in canada Predni Pharm

  80. what’s the difference between crestor and lipitor: Crestor Pharm – Crestor Pharm

  81. Crestor home delivery USA: does crestor reduce plaque – Crestor Pharm

  82. where can i get rybelsus No prescription diabetes meds online Semaglu Pharm

  83. prednisone 50: PredniPharm – Predni Pharm

  84. http://lipipharm.com/# atorvastatin 10 mg tablets

  85. rybelsus class action lawsuit: Rybelsus 3mg 7mg 14mg – Semaglutide tablets without prescription

  86. cardiprin е’Њ rosuvastatin: No doctor visit required statins – Crestor Pharm

  87. Crestor Pharm Crestor home delivery USA crestor grapefruit

  88. LipiPharm: Safe atorvastatin purchase without RX – Order cholesterol medication online

  89. where can i order prednisone 20mg: prednisone cost 10mg – Predni Pharm

  90. switching from pravastatin to rosuvastatin: Crestor Pharm – CrestorPharm

  91. LipiPharm: Lipi Pharm – No RX Lipitor online

  92. Order Rybelsus discreetly: SemagluPharm – SemagluPharm

  93. prednisone 20mg cheap prednisone 10 mg tablets Predni Pharm

  94. para que sirve atorvastatin 80 mg: Lipi Pharm – lipitor moa

  95. Predni Pharm: 200 mg prednisone daily – how to buy prednisone

  96. semaglutide doses for weight loss SemagluPharm Rybelsus for blood sugar control

  97. cheap prednisone online: PredniPharm – PredniPharm

  98. amlodipine atorvastatin price: atorvastatin chemical formula – LipiPharm

  99. Cheap Lipitor 10mg / 20mg / 40mg: do you have to wean off lipitor – FDA-approved generic statins online

  100. crestor commercial: crestor recall – CrestorPharm

  101. what is atorvastatin 80 mg used for: lipitor 20mg generic – Lipi Pharm

  102. can i take rosuvastatin in the morning: can crestor cause liver damage – CrestorPharm

  103. Rybelsus 3mg 7mg 14mg SemagluPharm SemagluPharm

  104. Lipi Pharm: LipiPharm – No RX Lipitor online

  105. prednisone otc uk: PredniPharm – online order prednisone

  106. cheap generic viagra uk viagra soft tabs 100mg 50mg sildenafil order without prescription

  107. us online viagra: VGR Sources – viagra gold

  108. canadian viagra cheap: VGR Sources – sildenafil 50mg india

  109. how to purchase viagra pills: viagra online 150mg – viagra usa over the counter

  110. https://vgrsources.com/# buy sildenafil no prescription

  111. female viagra medication: viagra tablet price online – viagra generic over the counter

  112. viagra for women pills VGR Sources sildenafil 100mg for sale

  113. price of sildenafil 50 mg: viagra for sale canadian pharmacy – buy cheap generic viagra

  114. sildenafil price australia: sildenafil tablets 150mg – sildenafil 100mg order

  115. buy generic viagra 25mg: VGR Sources – Viagra 50 mg Preço

  116. best prices for viagra VGR Sources where to buy viagra online in usa

  117. cost of viagra 100mg in australia: viagra tablets price in uk – buy generic 100mg viagra online

  118. 3 viagra pills: VGR Sources – cheap viagra 150 mg

  119. viagra generic in united states: VGR Sources – sildenafil citrate tablets vs viagra

  120. buy viagra without a prescription VGR Sources buy viagra montreal

  121. best women viagra: VGR Sources – how much is viagra in mexico

  122. viagra prescriptions: VGR Sources – sildenafil 25 mg buy

  123. generic viagra paypal: viagrarel.com/ – viagra original

  124. where can you buy viagra uk: viagra sublingual – how to buy viagra from canada

  125. can you buy viagra canada VGR Sources can you purchase viagra online

  126. generic viagra in india online: VGR Sources – sildenafil 100 no prescription

  127. buy generic viagra canada: VGR Sources – prescription generic viagra

  128. india viagra online: VGR Sources – order brand viagra online

  129. order viagra europe: 75 mg viagra – sildenafil purchase canada

  130. viagra 100mg price canada: VGR Sources – generic viagra without rx

  131. viagra where to buy in india: VGR Sources – viagra for sale uk

  132. buy cheap viagra generic online VGR Sources best generic viagra prices

  133. buy viagra online cheap canada: viagra cost per pill – buy viagra in usa

  134. over the counter generic sildenafil: where to purchase viagra pills – buy generic viagra online safely

  135. how much is sildenafil 50 mg: how can i get viagra over the counter – order sildenafil 20 mg

  136. https://vgrsources.com/# sildenafil generic without prescription

  137. viagra 4 tablet sildenafil tabs 20mg canadian pharmacy for viagra

  138. best price for viagra 50mg: how to purchase viagra pills – how to buy viagra tablets in india

  139. cheap prescription viagra: buy sildenafil citrate online – genuine viagra

  140. order viagra online canada: generic viagra 100mg – where to buy sildenafil in south africa

  141. online drugstore viagra where can i order viagra online in canada viagra 400mg

  142. where can i buy viagra for women: VGR Sources – how to buy sildenafil without a prescription

  143. viagra pills online uk: VGR Sources – viagra 12.5 mg

  144. buy cheap viagra usa: buy viagra canada – viagra prescription online usa

  145. viagra uk: viagra cheap canadian pharmacy – sildenafil citrate 100 mg

  146. where to buy viagra cheap viagra for women otc cheap 25mg viagra

  147. https://vgrsources.com/# how to purchase viagra online in india

  148. brand name viagra for sale: viagra online nz – brand viagra 50mg online

  149. sildenafil pills from mexico: VGR Sources – viagra online purchase

  150. where to get viagra online: VGR Sources – viagra tablets canada

  151. female viagra tablets price in india where to buy sildenafil cheap generic viagra in canada

  152. where can i get female viagra in australia: VGR Sources – can i get viagra over the counter

  153. buy cheap generic viagra uk: VGR Sources – female viagra in india

  154. sildenafil order: best over the counter viagra 2017 – online pharmacy uk viagra

  155. https://vgrsources.com/# sildenafil cost australia

  156. viagra online from mexico cheap viagra with prescription viagra 20 mg cost

  157. generic viagra without a prescription: can you order viagra online – can i buy viagra over the counter in canada

  158. 150 mg sildenafil: how to order viagra online in india – pfizer online viagra

  159. where can i buy viagra online safely: sildenafil generic otc – sildenafil 50mg prices

  160. female viagra pills price VGR Sources sildenafil 20

  161. buy real viagra uk: ordering viagra from india – brand viagra online pharmacy

  162. sildenafil over the counter usa: VGR Sources – 100mg sildenafil no rx

  163. https://vgrsources.com/# sildenafil over the counter us

  164. sildenafil buy without prescription VGR Sources viagra canada otc

  165. buy viagra online with visa: VGR Sources – cheapest price for viagra 100mg

  166. how to viagra: sildenafil tablets 120 mg – viagra from mexico

  167. much does viagra cost pharmacy: Pharm Express 24 – princeton university store pharmacy

  168. Nevertheless, inward rectifier currents remain an important determinant of atrial refractoriness and AF promoting reentrant sources, and the LA increases of inward rectifier currents noted in the present study are likely to shorten LA refractoriness, contributing significantly to the role of the LA in maintaining pAF augmentin and strep throat Pomegranate juice is LIKELY SAFE ffor most people when taken by mouth

  169. cytotec medication I have studied enough about B17 to know that it has great results in terms of treating cancer

  170. priligy review youtube Just a recap who those who I haven t had the pleasure of meeting yet

  171. Determination of ER and co factor recruitment and chromatin modification remodelling in time course studies of genes representative of the different categories, as well as proteomic approaches for identifying factors recruited to ER binding regions in MCF7 and MCF7 Y537S cells would help to more clearly define the mechanisms at work priligy online

回复 SamuelWof 取消回复

您的邮箱地址不会被公开。 必填项已用 * 标注

About Me

一位程序员,会弹吉他,喜欢读诗。
有一颗感恩的心,一位美丽的妻子,两个可爱的女儿
mail: geraldlee0825@gmail.com
github: https://github.com/lisuxiaoqi
medium: https://medium.com/@geraldlee0825