Hatena::Groupvim

vim and plasticity

 | 

2009-06-20

jumpも覚えるか

05:25

参考 :help jump-motions

jump-listの確認

:ju[mps]


jump-motions

8. Jumps					*jump-motions*

A "jump" is one of the following commands: "'", "`", "G", "/", "?", "n",
"N", "%", "(", ")", "[[", "]]", "{", "}", ":s", ":tag", "L", "M", "H" and
the commands that start editing a new file.  If you make the cursor "jump"
with one of these commands, the position of the cursor before the jump is
remembered.  You can return to that position with the "''" and "``" command,
unless the line containing that position was changed or deleted.

jumpしたときに、Vimはjump前のカーソル位置を覚えています、と。

bufferを開くこともjumpに含まれているので注意。

<c-f>,<c-b>,<c-u>,<c-d>はjumpに含まれていないので注意。

"gg"は書いてないがjumpに含まれている模様。"1G"のaliasなのだろうか。


jump-listを移動

<C-O>(alphabetのo)でjump元に戻れる。jump-listを辿れる。bufferを跨いで戻るので乱発注意。

<C-I>(alphabetのi),<Tab>でjump-listを進める。

							*CTRL-O*
CTRL-O			Go to [count] Older cursor position in jump list
			(not a motion command).  {not in Vi}
			{not available without the +jumplist feature}

<Tab>		or					*CTRL-I* *<Tab>*
CTRL-I			Go to [count] newer cursor position in jump list
			(not a motion command).
			In a |quickfix-window| it takes you to the position of
			the error under the cursor.
			{not in Vi}
			{not available without the +jumplist feature}

jumpは便利だけど、乱発すると狙ったとこにうまく戻れない感が。

jump-list見ても何がどこだか分からないし。

<C-O>で戻るのは記憶してる範囲に留めるのがいいかもしれない。それ以上はmarkするとかして。


最後にinsert-modeだった場所に戻る

gi

bufferは跨がない。

便利かも。

avavopisaloavavopisalo2018/10/02 10:33[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

asekuyaxanasekuyaxan2018/10/02 11:13[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

igokuacbaseeigokuacbasee2018/10/02 14:04[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

ufiojewaeufiojewae2018/10/02 14:38[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

ukoxifeukoxife2018/10/02 14:44[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

azumoawirazumoawir2018/10/02 14:51[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

ahafaiziwaahafaiziwa2018/10/02 15:00[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

ozodiburciiyozodiburciiy2018/10/02 15:04[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

jpowivuqejpowivuqe2018/10/02 15:12[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

wehawvmwehawvm2018/10/02 15:23[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

ezigobmalafoezigobmalafo2018/10/02 15:30[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

udodibeiyejxuudodibeiyejxu2018/10/02 15:33[url=http://doxycycline-cheapbuy.site/]doxycycline-cheapbuy.site.ankor[/url] <a href="http://onlinebuycytotec.site/">onlinebuycytotec.site.ankor</a>

JooceromJoocerom2018/10/28 01:58new usa online casinos 2017
[url=http://playslotscasino888.com/]casino online subtitrat[/url]
new usa online casinos 2017
<a href="http://playslotscasino888.com/">vegas casino games</a>
casino online free

JooceromJoocerom2018/10/29 07:10casino g
[url=http://playslotscasino888.com/]vegas casino games[/url]
casino online subtitrat
<a href="http://playslotscasino888.com/">casino online gambling</a>
play casino games online

MofgyhomMofgyhom2018/10/30 23:39online casino real money
[url=http://gamecasinosonline.com/]best us casinos online[/url]
casino games
<a href="http://gamecasinosonline.com/">casino games slots</a>
casino online for fun

LasriCaFLasriCaF2018/11/01 01:38online casino real money
[url=http://casinousaonlinelist.com/]casino g[/url]
online casino real money
<a href="http://casinousaonlinelist.com/">casino online</a>
casino online

BeulahUnebyBeulahUneby2018/11/02 23:16hollywood casino amphitheatre
[url=http://traditionzonecasino.com/]casinos in florida[/url]
zone online casino sign in
<a href="http://traditionzonecasino.com/">caesars online slots</a>
pala casino

JooceromJoocerom2018/11/07 22:19vegas casino games
[url=http://playslotscasino888.com/]best us casinos online[/url]
online casino
<a href="http://playslotscasino888.com/">casino online for fun</a>
casino games real money

MonitaTixMonitaTix2018/11/16 08:10pogo casino slots
[url=http://gamecasinosonline.com/]top rated free online casino games[/url]
casino games free
<a href="http://gamecasinosonline.com/">casino online free</a>
play casinos

MonitaTixMonitaTix2018/11/20 13:09casino games real money
[url=http://gamecasinosonline.com/]casino online gambling[/url]
casino games real money
<a href="http://gamecasinosonline.com/">online casino slots</a>
play casinos

TemplieCahTemplieCah2018/11/21 22:46vegas casino games
[url=http://gamecasinosonline.com/]casinos online[/url]
best us casinos online
<a href="http://gamecasinosonline.com/">casino games slots</a>
casino g

 |