2

私のファイルにはいくつかのコンテンツが含まれています。

      This file is just for testing and it may contain no about about any related data. 
      But used for copy of move the content to one file to another.

指定された行は同じ行の続きです。単一のキーを押して、カーソルを最初の行の末尾に移動する方法。

私の_cursorはここで待っています

      _This file is just for testing and it may contain no about about any related data.
       But used for copy of move the content to one file to another.

単一のコマンドまたはキーを押すと、cursor_ の最初の行の末尾に移動する必要があります。

      This file is just for testing and it may contain no about about any related data._
       But used for copy of move the content to one file to another.

何か方法があれば教えてください。

4

1 に答える 1

5
  1. $記号を使用してvimの行末に移動できます。端を下$に移動するには、前に数字を使用できます。nたとえば2$、カーソルから 2 行目の末尾に移動します。

  2. 「wrap」を「on」にg$すると、SCREEN 行の末尾に移動します。そのため、 とは機能が異なります$。例: 画面を2g$2 行下に移動したい場合は を使用し、(折り返しがオンの場合) 2 行下に移動したい場合は を使用します2$

詳細については:help $、 および を参照してください:help g$

于 2013-11-08T05:59:40.647 に答える